Here is the error messages I get when trying to compile DBI on an SCO
OSR5.0.5 compile of Perl5.005. Does anyone know what I'm missing or how I
can get the DBI module into my Perl install? (Perl and cc info. at end of
message)
Thanks.
Scott.
Output of perl Makefile.PL:
----
(information about optional modules from CPAN)
Checking if your kit is complete...
Looks good
Writing Makefile for DBI
----
Output of 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 lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm
cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm
cp lib/DBI/Shell.pm blib/lib/DBI/Shell.pm
cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm
cp lib/DBD/Multiplex.pm blib/lib/DBD/Multiplex.pm
cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h
cp dbi_sql.h
blib/arch/auto/DBI/dbi_sql.h
cp lib/DBD/NullP.pm
blib/lib/DBD/NullP.pm
cp lib/DBD/Sponge.pm
blib/lib/DBD/Sponge.pm
cp lib/DBI/Format.pm
blib/lib/DBI/Format.pm
cp Driver.xst
blib/arch/auto/DBI/Driver.xst
cp lib/DBI/DBD.pm
blib/lib/DBI/DBD.pm
cp dbipport.h
blib/arch/auto/DBI/dbipport.h
cp lib/Win32/DBIODBC.pm
blib/lib/Win32/DBIODBC.pm
cp DBI.pm
blib/lib/DBI.pm
cp lib/DBD/ADO.pm
blib/lib/DBD/ADO.pm
/usr/bin/perl -p -e "s/~DRIVER~/Perl/g" < blib/arch/auto/DBI/Driver.xst >
Perl.x
si
/usr/bin/perl -I/usr/local/lib/perl5/5.00503/i386-sco
-I/usr/local/lib/perl5/5.0
0503 /usr/local/lib/perl5/5.00503/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5
/5.00503/ExtUtils/typemap Perl.xs >xstmp.c && mv xstmp.c
Perl.c
cc -c -U M_XENIX -D PERL_SCO -D PERL_SCO5 -w0 -belf -I/usr/local/include
-O0
-DVERSION=\"1.19\" -DXS_VERSION=\"1.19\" -Kpic
-I/usr/local/lib/perl5/5.00503/i
386-sco/CORE -DDBI_NO_THREADS
Perl.c
cc: unrecognized option
`-w0'
cc: unrecognized option
`-Kpic'
cpp: -lang-c: linker input file unused since linking not
done
cc: installation problem, cannot exec `cc1': No such file or
directory
cc: file path prefix `/usr/local/lib/gcc-lib/elf/2.95.2/' never
used
make: *** [Perl.o] Error
1
----
Output of Perl -V:
----
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
Platform:
osname=sco, osvers=3.2v5.0.5, archname=i386-sco
uname='sco_sv charmstr 3.2 5.0.5 i386 '
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
Compiler:
cc='cc', optimize='-O0', gccversion=
cppflags='-U M_XENIX -D PERL_SCO -D PERL_SCO5 -w0 -belf
-I/usr/local/include'
ccflags ='-U M_XENIX -D PERL_SCO -D PERL_SCO5 -w0 -belf
-I/usr/local/include'
stdchar='unsigned char', d_stdstdio=undef, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=undef, longlongsize=, d_longdbl=define, longdblsize=12
alignbytes=4, usemymalloc=y, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lintl -lsocket -lnsl -lndbm -lgdbm -ldbm -ldb -lm -lcrypt -lPW -lx
libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl5.so
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Bexport
-L/usr/local/lib'
cccdlflags='-Kpic', lddlflags='-G -L/usr/local/lib'
Characteristics of this binary (from libperl):
Built under sco
Compiled at Jul 23 1999 18:02:29
@INC:
/usr/local/lib/perl5/5.00503/i386-sco
/usr/local/lib/perl5/5.00503
/usr/local/lib/perl5/site_perl/5.005/i386-sco
/usr/local/lib/perl5/site_perl/5.005
----
Output from cc -v
Reading specs from /usr/local/lib/gcc-lib/i386-pc-sco3.2v5.0.5/2.95.2/specs
gcc version 2.95.2 19991024 (release)