Hi Tim,
I totally understand the "rebuild perl" approach, you mentioned in that I know what you mean and how to go about it; but I'm fairly new to Perl too and that seems like a big undertaking for 1 module, 1, because I'm new to perl and building environments in general and 2. does it not run the risk of ending up with everything having to be built custom? Which I would think is something to avoid because then you have to rebuild everything custom on every environment in the same way etc etc. Hope that question makes sense. Ta Stu -----Original Message----- From: Tim Bunce [mailto:[EMAIL PROTECTED] On Behalf Of Tim Bunce Sent: 21 June 2008 11:04 To: Rich Cc: [EMAIL PROTECTED] Subject: Re: 2 part question for DBI-1.604 On Fri, Jun 20, 2008 at 08:51:33AM -0700, Rich wrote: > I am trying to load DBI on a server and getting errors with the make command. > background----------- > DBI 1.604 (building this package) > os = AIX 5300-07 > Perl -v v5.8.2 built for aix-thread-multi-64all > # gcc -v > Using built-in specs. > Target: powerpc-ibm-aix5.3.0.0 > Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --enable-languages=c,c++,java --prefix=/opt/freeware --enable-threads --enable-version-specific-runtime-libs --host=powerpc-ibm-aix5.3.0.0 --target=powerpc-ibm-aix5.3.0.0 --build=powerpc-ibm-aix5.3.0.0 --disable-libjava-multilib > Thread model: aix > gcc version 4.2.0 > ----------------------------------------------------------- > /usr/opt/perl5/lib64/5.8.2/aix-thread-multi-64all/CORE/reentr.h:619: error: field '_drand48_struct' has incomplete type > /usr/opt/perl5/lib64/5.8.2/aix-thread-multi-64all/CORE/reentr.h:727: error: field '_random_struct' has incomplete type > /usr/opt/perl5/lib64/5.8.2/aix-thread-multi-64all/CORE/reentr.h:775: error: field '_srandom_struct' has incomplete type > make: 1254-004 The error code from the last command is 1. > -------------------------------------------------- > Question 1: What is wrong with the reentr.h using gcc in first test case? You should build perl extensions with the same compiler and platform that was used to build the perl executable itself. Build and install a new perl, then use that perl to build DBI etc. Tim. Information in this email including any attachments may be privileged, confidential and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you have received it in error, please notify the sender by return e-mail and delete it from your system. You should not reproduce, distribute, store, retransmit, use or disclose its contents to anyone. Please note we reserve the right to monitor all e-mail communication through our internal and external networks. SKY and the SKY marks are trade marks of British Sky Broadcasting Group plc and are used under licence. British Sky Broadcasting Limited (Registration No. 2906991), Sky Interactive Limited (Registration No. 3554332), Sky-In-Home Service Limited (Registration No. 2067075) and Sky Subscribers Services Limited (Registration No. 2340150) are direct or indirect subsidiaries of British Sky Broadcasting Group plc (Registration No. 2247735). All of the companies mentioned in this paragraph are incorporated in England and Wales and share the same registered office at Grant Way, Isleworth, Middlesex TW7 5QD. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/