Re: OT: How to get Perl version for AIX using gcc compiler to avoid problems installing DBD::mysql without cc_r compiler?
Stephen Adkins <[email protected]>
| Newsgroups | gmane.comp.db.mysql.perl |
|---|---|
| Message-ID | <[email protected]> |
Hi, There is no reason I can think of that you would be using the ActivePerl distribution of Perl or DBI. Try getting the distributions that are built first for *nix. They should compile with gcc with no problem. Stephen Melerek wrote: >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 > > -- MySQL Perl Mailing List For list archives: http://lists.mysql.com/perl To unsubscribe: http://lists.mysql.com/[email protected]