Re: Compiling DBI.pm


Subject: Re: Compiling DBI.pm
From: Jim Lambert (jlx@lamberts.org)
Date: Thu Feb 21 2002 - 07:09:06 MST


If you have problems after installing the glibc stuff, you might try posting
your questions to the DBI users mail list.

-Jim
Brian Mayton wrote:
> I'm trying to compile DBI.pm on my YDL 2.1 system. For some reason it isn't
> working. Can anyone tell from the output below what I'm doing wrong? I
> suspect I need something that I don't have, but I can't tell what...
>
> Executing /usr/bin/perl Makefile.PL && make ..
>
> *** Note:
> The optional PlRPC-modules (RPC::PlServer etc) are not installed.
> If you want to use the DBD::Proxy driver and DBI::ProxyServer
> modules, then you'll need to install the RPC::PlServer, RPC::PlClient,
> Storable and Net::Daemon modules. The CPAN Bundle::DBI may help you.
> You can install them any time after installing the DBI.
> You do *not* need these modules for typical DBI usage.
>
> Optional modules are available from any CPAN mirror, in particular
> http://www.perl.com/CPAN/modules/by-module
> http://www.perl.org/CPAN/modules/by-module
> ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module
>
> Checking if your kit is complete...
> Looks good
> Writing Makefile for DBI
>
> Remember to actually *read* the README file!
> Use 'make' to build the software (dmake or nmake on Windows).
> Then 'make test' to execute self tests.
> Then 'make install' to install the DBI and then delete this working
> directory before unpacking and building any DBD::* drivers.
>
> mkdir blib
> mkdir blib/lib
> mkdir blib/lib/DBI
> cp Changes blib/lib/DBI/Changes.pm
> 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 lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm
> cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
> cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
> cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.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 DBI.pm blib/lib/DBI.pm
> cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm
> cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
> cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
> cp Driver.xst blib/arch/auto/DBI/Driver.xst
> cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
> cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
> cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm
> cp lib/DBI/DBD.pm blib/lib/DBI/DBD.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.21\"
> -DXS_VERSION=\"1.21\" -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
> directory
> In 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
> directory
> In file included from
> /usr/lib/gcc-lib/ppc-yellowdog-linux/2.95.4/include/syslimits.h:7,
> from
> /usr/lib/gcc-lib/ppc-yellowdog-linux/2.95.4/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.4/include/limits.h:117: limits.h:
> No such file or director
> y
> 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

-- 
<jlx@lambZrts.org> (Replace Z's with E's to reply)

"No free man shall ever be debarred the use of arms." -Thomas Jefferson



This archive was generated by hypermail 2a24 : Thu Feb 21 2002 - 07:25:43 MST