I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2011-12-15 02:34:37.951028-08 by gloups
Compiling Par Packer on AIx systems
Hi, i've read a lot a post on the same thing but i still dont have any solution for the moment. I'm trying to install PP on an Aix system without any internet connexion. All the prerequisites have been install but i'm still have a problem when trying to connect to cpan and find a compiler. This is the ouput:
root@sysnim: /tmp/ocs/PAR-Packer-1.012>perl Makefile.PL Fetching 'PAR-Packer-1.012-aix-thread-multi-5.10.1.par' from www.cpan.org... Fetching failed: No compiler found, won't generate 'script/parl'! Checking if your kit is complete... Looks good Writing Makefile for PAR::Packer
Is there any solution to bypass the access to cpan and have a full built install of PP with parl ? Regards
Direct Responses: 13571 | Write a response
Posted on 2011-12-15 03:30:11.983004-08 by roderich in response to 13570
Re: Compiling Par Packer on AIx systems
> Fetching 'PAR-Packer-1.012-aix-thread-multi-5.10.1.par' from www.cpan.org... Fetching failed:

Forget that (there are no prebuilt PP "packages" for the current version of PAR::Packer and AIX on CPAN).

> No compiler found, won't generate 'script/parl'

That's the real problem: you need a working C compiler on your machine to build PAR::Packer. Preferrably the same compiler your installation of perl was built with (you can find out by examining the output of "perl -V"). If you do have a C compiler installed, make sure that it's in your PATH.
Direct Responses: 13576 | Write a response
Posted on 2011-12-19 03:22:46.941324-08 by gloups in response to 13571
Re: Compiling Par Packer on AIx systems
Thanks for this answer this helped I was using a perl version compiled with the native aix compiler i didn't have. I used a perl version i compiled with gcc but now i have a new problem. May be a tool old perl version ?
root@sysnim: /tmp/ocs/PAR-Packer-1.012>/usr/local/bin/perl Makefile.PL Prototype mismatch: sub main::prompt: none vs ($;$) at /usr/local/lib/perl5/5.8.8/ExtUtils/MakeMake +r.pm line 187 Writing Makefile for par Writing Makefile for PAR::Packer root@sysnim: /tmp/ocs/PAR-Packer-1.012>/usr/local/bin/perl -v This is perl, v5.8.8 built for aix-64all
Direct Responses: 13577 | Write a response
Posted on 2011-12-19 04:14:51.182671-08 by roderich in response to 13576
Re: Compiling Par Packer on AIx systems
That's only a warning. Ignore it.
Direct Responses: 13578 | Write a response
Posted on 2011-12-19 05:27:01.3253-08 by gloups in response to 13577
Re: Compiling Par Packer on AIx systems
Ok, that's what i did but here comme the result:
root@sysnim: /tmp/ocs/PAR-Packer-1.012>make gcc -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -fno-strict-alias +ing -pipe -Wdeclaration-after-statement -maix64 -DUSE_64_BIT_ALL -I/usr/local/lib/perl5/5.8.8/aix +-64all/CORE -DPARL_EXE=\"parl\" -O main.c In file included from /usr/local/lib/perl5/5.8.8/aix-64all/CORE/perl.h:496, from main.c:2: /usr/include/unistd.h:1042: error: parse error before '[' token /usr/include/unistd.h:1043: error: parse error before 'rid_t' In file included from /usr/include/sys/cred.h:52, from /usr/include/sys/file.h:35, from /usr/local/lib/perl5/5.8.8/aix-64all/CORE/perl.h:4611, from main.c:2: /usr/include/sys/secattr.h:53: error: parse error before 'rid_t' /usr/include/sys/secattr.h:68: error: parse error before '}' token /usr/include/sys/secattr.h:73: error: parse error before 'authnum_t' /usr/include/sys/secattr.h:79: error: parse error before 'aroles' /usr/include/sys/secattr.h:80: error: parse error before '}' token /usr/include/sys/secattr.h:124: error: field 'sc_attr' has incomplete type In file included from /usr/include/sys/file.h:35, from /usr/local/lib/perl5/5.8.8/aix-64all/CORE/perl.h:4611, from main.c:2: /usr/include/sys/cred.h:338: error: parse error before 'rid_t' /usr/include/sys/cred.h:353: error: parse error before '}' token main.c: In function 'main': main.c:121: warning: pointer targets in assignment differ in signedness make: The error code from the last command is 1. Stop. make: The error code from the last command is 2.
Direct Responses: 13579 | Write a response
Posted on 2011-12-19 06:00:24.975862-08 by roderich in response to 13578
Re: Compiling Par Packer on AIx systems
I don't have access to an AIX system and can't help you here.

As recommended earlier, please post your problem to the PAR mailing list where others might be able to assist.
Direct Responses: 13580 | Write a response
Posted on 2011-12-19 06:38:09.948362-08 by gloups in response to 13579
Re: Compiling Par Packer on AIx systems
ok thanks
Direct Responses: Write a response