Re: Unable to compile DBI.pm


Subject: Re: Unable to compile DBI.pm
From: Rodd Clarkson (rodd@redfishbluefish.com.au)
Date: Mon Oct 01 2001 - 21:54:17 MDT


Where would I get the devel files for perl. They're not on any of the
disks, and I can't seem to find them on the web either.

Rodd

On Mon, 2001-10-01 at 23:04, Matt Larson wrote:
> Off the top of my head it looks like you might be missing the header
> files that would usually come in the "perl-devel" rpm. Look on your
> cd-- probably on the install cd since it's an important rpm--for that
> rpm and install it, and that might take care of your problem.
>
> Matt Larson
>
> Rodd Clarkson wrote:
>
> >Hey All,
> >
> >I'm trying to get DBI-1.20 for Yellow Dog Linux 2.0 to compile with
> >little success.
> >
> >The install is a standard install using perl 5.6.
> >
> >The perl Makefile.PL process works fine (I've done it for other distros
> >so I know what it looks like), but 'make' goes south in a hurry. (See
> >below for the output of make.)
> >
> >Any suggestions on what's going wrong, and more importantly, any
> >suggestions on how to get DBI to compile?
> >
> >Thanks in advance!
> >
> >
> >Rodd
> >
> >
> >Here's the output I get after running make:
> >
> >[root@vcnpr DBI-1.20]# make
> >mkdir blib
> >mkdir blib/lib
> >mkdir blib/arch
> >mkdir blib/arch/auto
> >mkdir blib/arch/auto/DBI
> >mkdir blib/lib/auto
> >mkdir blib/lib/auto/DBI
> >mkdir blib/man1
> >mkdir blib/man3
> >cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
> >cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
> >cp dbipport.h blib/arch/auto/DBI/dbipport.h
> >cp lib/DBI/Format.pm blib/lib/DBI/Format.pm
> >cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h
> >cp lib/DBI/Shell.pm blib/lib/DBI/Shell.pm
> >cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm
> >cp DBI.pm blib/lib/DBI.pm
> >cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
> >cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
> >cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
> >cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm
> >cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
> >cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm
> >cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
> >cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
> >cp Driver.xst blib/arch/auto/DBI/Driver.xst
> >cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
> >/usr/bin/perl -p -e "s/~DRIVER~/Perl/g" < blib/arch/auto/DBI/Driver.xst
> >
> >>Perl.xsi
> >>
> >/usr/bin/perl -I/usr/lib/perl5/5.6.0/ppc-linux -I/usr/lib/perl5/5.6.0
> >/usr/lib/perl5/5.6.0/ExtUtils/xsubpp -typemap
> >/usr/lib/perl5/5.6.0/ExtUtils/typemap Perl.xs > Perl.xsc && mv Perl.xsc
> >Perl.c
> >gcc -c -fno-strict-aliasing -O2 -fsigned-char -DVERSION=\"1.20\"
> >-DXS_VERSION=\"1.20\" -fPIC -I/usr/lib/perl5/5.6.0/ppc-linux/CORE -Wall
> >-Wno-comment -DDBI_NO_THREADS Perl.c
> >In file included from DBIXS.h:19,
> > from Perl.xs:1:
> >/usr/lib/perl5/5.6.0/ppc-linux/CORE/perl.h:424: sys/types.h: No such
> >file or directory
> >In file included from DBIXS.h:19,
> > from Perl.xs:1:
> >/usr/lib/perl5/5.6.0/ppc-linux/CORE/perl.h:455: ctype.h: No such file or
> >directory
> >/usr/lib/perl5/5.6.0/ppc-linux/CORE/perl.h:463: locale.h: No such file
> >or directory/usr/lib/perl5/5.6.0/ppc-linux/CORE/perl.h:480: setjmp.h: No
> >such file or directory/usr/lib/perl5/5.6.0/ppc-linux/CORE/perl.h:486:
> >sys/param.h: No such file or directory
> >/usr/lib/perl5/5.6.0/ppc-linux/CORE/perl.h:492: stdlib.h: No such file
> >or directoryIn file included from DBIXS.h:19,
> > from Perl.xs:1:
> >/usr/lib/perl5/5.6.0/ppc-linux/CORE/perl.h:513: string.h: No such file
> >or directory/usr/lib/perl5/5.6.0/ppc-linux/CORE/perl.h:654:
> >netinet/in.h: No such file or directory
> >/usr/lib/perl5/5.6.0/ppc-linux/CORE/perl.h:658: arpa/inet.h: No such
> >file or directory
> >/usr/lib/perl5/5.6.0/ppc-linux/CORE/perl.h:668: sys/stat.h: No such file
> >or directory
> >/usr/lib/perl5/5.6.0/ppc-linux/CORE/perl.h:697: sys/time.h: No such file
> >or directory
> >/usr/lib/perl5/5.6.0/ppc-linux/CORE/perl.h:704: sys/times.h: No such
> >file or directory
> >/usr/lib/perl5/5.6.0/ppc-linux/CORE/perl.h:711: errno.h: No such file or
> >directory
> >/usr/lib/perl5/5.6.0/ppc-linux/CORE/perl.h:772: sys/ioctl.h: No such
> >file or directory
> >/usr/lib/perl5/5.6.0/ppc-linux/CORE/perl.h:795: dirent.h: No such file
> >or directoryIn file included from
> >/usr/lib/gcc-lib/ppc-yellowdog-linux/2.95.3/include/syslimits.h:7,
> > from
> >/usr/lib/gcc-lib/ppc-yellowdog-linux/2.95.3/include/limits.h:11,
> > from /usr/lib/perl5/5.6.0/ppc-linux/CORE/perl.h:1084,
> > from DBIXS.h:19,
> > from Perl.xs:1:
> >/usr/lib/gcc-lib/ppc-yellowdog-linux/2.95.3/include/limits.h:117:
> >limits.h: No such file or directory
> >In file included from /usr/lib/perl5/5.6.0/ppc-linux/CORE/perl.h:1568,
> > from DBIXS.h:19,
> > from Perl.xs:1:
> >/usr/lib/perl5/5.6.0/ppc-linux/CORE/unixish.h:93: signal.h: No such file
> >or directory
> >In file included from
> >/usr/lib/perl5/5.6.0/ppc-linux/CORE/iperlsys.h:294,
> > from /usr/lib/perl5/5.6.0/ppc-linux/CORE/perl.h:1823,
> > from DBIXS.h:19,
> > from Perl.xs:1:
> >/usr/lib/perl5/5.6.0/ppc-linux/CORE/perlsdio.h:5: stdio.h: No such file
> >or directory
> >In file included from DBIXS.h:19,
> > from Perl.xs:1:
> >/usr/lib/perl5/5.6.0/ppc-linux/CORE/perl.h:2086: math.h: No such file or
> >directory
> >In file included from DBIXS.h:19,
> > from Perl.xs:1:
> >/usr/lib/perl5/5.6.0/ppc-linux/CORE/perl.h:3202: sys/ipc.h: No such file
> >or directory
> >/usr/lib/perl5/5.6.0/ppc-linux/CORE/perl.h:3203: sys/sem.h: No such file
> >or directory
> >/usr/lib/perl5/5.6.0/ppc-linux/CORE/perl.h:3238: sys/file.h: No such
> >file or directory
> >make: *** [Perl.o] Error 1
> >[root@vcnpr DBI-1.20]#
> >
>
>

-- 
If,
in order to defeat the beast of terrorism,
we ourselves become bestial,
then the beast has won.



This archive was generated by hypermail 2a24 : Mon Oct 01 2001 - 20:57:12 MDT