chinna has asked for the wisdom of the Perl Monks concerning the following question:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Module Installation for AIX
by g0n (Priest) on Nov 08, 2005 at 12:05 UTC | |
More precisely, it depends on what modules you're installing. Certain modules using XS require the same C compiler as your perl was built on. The version of perl shipped with AIX is compiled using the IBM C compiler, and which version is anyones guess. You could run into compilation problems there, and the errors the install process generates won't necessarily make the reason explicit. If you install a module, and you get errors about 'missing symbols', the chances are good that you've got exactly this problem.
-------------------------------------------------------------- "If there is such a phenomenon as absolute evil, it consists in treating another human being as a thing." John Brunner, "The Shockwave Rider".
| [reply] |
|
Re: Module Installation for AIX
by tweetiepooh (Hermit) on Nov 08, 2005 at 14:41 UTC | |
Then modules that do require compiling will be compiled in the same/similar environment to the interpreter and are more likely to work. One stable, I'd test the new perl against existing scripts and if OK arrange a link or some other mechanism to make that the dafault. Of course there may be local issues with installing the software required to build and installing a non "standard" version of perl but that sort of political issue is your problem. | [reply] |
|
Re: Module Installation for AIX
by jesuashok (Curate) on Nov 08, 2005 at 12:20 UTC | |
The module will take care all the the dependencies. :-)
"Keep pouring your ideas"
| [reply] |
by blue_cowdawg (Monsignor) on Nov 08, 2005 at 13:46 UTC | |
As a point of fact jesuashok, chinna raises a valid question. As g0n points out the answer is "it depends." I have personally lived with the frustration of getting things to port to AIX when there are compiler mismatches between libraries I'm dependant on and the compiler I am using to port with. If you're the schlub that has maintained the machine and know the history you're in luck. Some of us though inherit machines that have passed many through many hands and have had all sorts of sins committed on them. So chinna, I feel for you. You'll have to do some homework and find out some things about the system you are installing the modules on. If you do a perl -V on the target system it will yield some very useful information. I don't have access to an AIX box at the moment but here is what it looks like on a Linux box:
Note the inclusion of not only the compiler and its version, but there is useful information about the libraries linked in, the options used to build Perl and other useful info. HTH
Peter L. Berghold -- Unix Professional Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg | [reply] [d/l] [select] |
by ZlR (Chaplain) on Nov 08, 2005 at 14:08 UTC | |
Apart from the fact that it's 5.8.0 instead of 5.8.6 it is really not the same as the linux one :| | [reply] [d/l] |