|
How to use perl on Solaris 10 : docs.sun.com: System Administration Guide: Network Services by Lost at 8:38 am EST, Feb 9, 2007 |
However, any XSUB-based (.xs) modules require recompilation and reinstallation.
When you use Solaris 10, you must execute the following command as root to get ANYTHING from CPAN to build: perl -MCPAN -e 'force install("Scalar::Util")' Otherwise there is no .XS support, and you are so screwed. |
|
RE: How to use perl on Solaris 10 : docs.sun.com: System Administration Guide: Network Services by Decius at 2:37 pm EST, Feb 9, 2007 |
Jello wrote: However, any XSUB-based (.xs) modules require recompilation and reinstallation.
When you use Solaris 10, you must execute the following command as root to get ANYTHING from CPAN to build: perl -MCPAN -e 'force install("Scalar::Util")' Otherwise there is no .XS support, and you are so screwed.
Can you build CPAN modules with GCC against the version of perl they distributed? In Solaris 9 the idiots built all their stuff against their commercial compiler and so you pretty much had to throw it all away. |
|
| |
RE: How to use perl on Solaris 10 : docs.sun.com: System Administration Guide: Network Services by Lost at 3:28 pm EST, Feb 11, 2007 |
Decius wrote: Jello wrote: However, any XSUB-based (.xs) modules require recompilation and reinstallation.
When you use Solaris 10, you must execute the following command as root to get ANYTHING from CPAN to build: perl -MCPAN -e 'force install("Scalar::Util")' Otherwise there is no .XS support, and you are so screwed.
Can you build CPAN modules with GCC against the version of perl they distributed? In Solaris 9 the idiots built all their stuff against their commercial compiler and so you pretty much had to throw it all away.
They used Sun's CC, but you don't have to throw it all away. If you install the Sun Studio 11, and perl -MCPAN -e 'force install("Scalar::Util")' then you will find that most everything will build. I'm using Sun's make and CC, and everything is building. |
|
| | |
RE: How to use perl on Solaris 10 : docs.sun.com: System Administration Guide: Network Services by Decius at 4:50 pm EST, Feb 11, 2007 |
Jello wrote: Decius wrote: Jello wrote: However, any XSUB-based (.xs) modules require recompilation and reinstallation.
When you use Solaris 10, you must execute the following command as root to get ANYTHING from CPAN to build: perl -MCPAN -e 'force install("Scalar::Util")' Otherwise there is no .XS support, and you are so screwed.
Can you build CPAN modules with GCC against the version of perl they distributed? In Solaris 9 the idiots built all their stuff against their commercial compiler and so you pretty much had to throw it all away.
They used Sun's CC, but you don't have to throw it all away. If you install the Sun Studio 11, and perl -MCPAN -e 'force install("Scalar::Util")' then you will find that most everything will build.
What is Sun Studio 11? Its been a while but I ran into a problem getting MemeStreams running under solaris 9 in which perl insisted that the same compiler be used for some secondary component that was used to build perl itself. I don't recall exactly what it was. Perhaps it was mod_perl as most CPAN modules don't have c components. Btw, I hope you're not running telnet. |
|
| | | |
RE: How to use perl on Solaris 10 : docs.sun.com: System Administration Guide: Network Services by Lost at 7:13 pm EST, Feb 11, 2007 |
Decius wrote: Jello wrote: Decius wrote: Jello wrote: However, any XSUB-based (.xs) modules require recompilation and reinstallation.
When you use Solaris 10, you must execute the following command as root to get ANYTHING from CPAN to build: perl -MCPAN -e 'force install("Scalar::Util")' Otherwise there is no .XS support, and you are so screwed.
Can you build CPAN modules with GCC against the version of perl they distributed? In Solaris 9 the idiots built all their stuff against their commercial compiler and so you pretty much had to throw it all away.
They used Sun's CC, but you don't have to throw it all away. If you install the Sun Studio 11, and perl -MCPAN -e 'force install("Scalar::Util")' then you will find that most everything will build.
What is Sun Studio 11? Its been a while but I ran into a problem getting MemeStreams running under solaris 9 in which perl insisted that the same compiler be used for some secondary component that was used to build perl itself. I don't recall exactly what it was. Perhaps it was mod_perl as most CPAN modules don't have c components. Btw, I hope you're not running telnet.
No, we run ssh. Telnet is bad. I have no idea what all is in Sun Studio 11. Supposed to be alot of dev tools. It installs Sun's compiler for one, I believe, whereas on Sol 10 the default is gcc. This makes things build. I just noticed that if I installed Sun Studio... CPAN stuff would build, in 6/06, and before that they would not. Same story with 11/06, except now you have to rebuild Scalar::Util. It would be nice if Solaris supported perl as well as Linux, but it is good enough for production use... provided you don't have to do it that often. We still haven't gotten FLAR based installs to work, so I have to do this stuff manually at the moment. |
|
|
|