How to get Perl version for AIX using gcc compiler to avoid problems installing DBD::mysql without cc_r compiler?

Melerek <[email protected]>
Newsgroups gmane.comp.db.mysql.perl
Message-ID <[email protected]>
I work on AIX 5.3 without cc_r (my company unfortunately didn't buy it:()
compiler. I tried to install Bugzilla but it needs DBD::mysql perl module. I
have ennormous problems installing it because perl's Makefile uses cc_r
compiler. When i changed compiler to gcc it gives an error:

bash-3.00# make
        gcc -c  -I/opt/ActivePerl-5.8/lib/auto/DBI
-I/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/include/
-I/opt/freeware/lib/ -I/opt/freeware/libexec/ -I/opt/freeware/bin/
-I/usr/include/ -DDBD_MYSQL_INSERT_ID_IS_GOOD -g   -D_ALL_SOURCE
-D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias
-DUSE_NATIVE_DLOPEN -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -DNEED_PTHREAD_INIT
-q32 -D_LARGE_FILES -qlonglong -O    -DVERSION=\"4.001\" 
-DXS_VERSION=\"4.001\"  "-I/opt/ActivePerl-5.8/lib/CORE"   dbdimp.c
gcc: unrecognized option `-qmaxmem=-1'
gcc: unrecognized option `-qnoansialias'
gcc: unrecognized option `-q32'
gcc: unrecognized option `-qlonglong'
In file included from /opt/ActivePerl-5.8/lib/CORE/op.h:497,
                 from /opt/ActivePerl-5.8/lib/CORE/perl.h:2754,
                 from /opt/ActivePerl-5.8/lib/auto/DBI/DBIXS.h:19,
                 from dbdimp.h:21,
                 from dbdimp.c:20:
/opt/ActivePerl-5.8/lib/CORE/reentr.h:776: error: field `_srandom_struct'
has incomplete type
/opt/ActivePerl-5.8/lib/CORE/reentr.h:780: confused by earlier errors,
bailing out
make: 1254-004 The error code from the last command is 1.


Stop.

I tried almost everything to obey this (even ExtUtils::FakeConfig) but it
didn't help. Is there any other way to solve this problem? If not... maybe
it would be easier to find a version od Perl for AIX whitch' Makefile uses
gcc in modules' instalation... Please help

Melerek
-- 
View this message in context: http://www.nabble.com/How-to-get-Perl-version-for-AIX-using-gcc-compiler-to-avoid-problems-installing-DBD%3A%3Amysql-without-cc_r-compiler--tf3355062.html#a9330771
Sent from the MySQL - Perl mailing list archive at Nabble.com.


-- 
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:    http://lists.mysql.com/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.