Subject: | Fails to install on Gentoo |
Date: | Mon, 2 Apr 2007 22:13:17 -0600 |
To: | bug-DBD-Oracle [...] rt.cpan.org |
From: | tom r <mailbin [...] comcast.net> |
installing DBD::oracle results in the following error:
{~} perl -MCPAN -e'install DBD::Oracle'
...
System: perl5.008008 linux poseidon.amd64.dev.gentoo.org 2.6.16-gentoo-r7 #1
smp tue may 16 19:38:16 utc 2006 x86_64 amd opteron(tm) processor 844
gnulinux
Compiler:
x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
Linker: /usr/bin/ld
Sysliblist:
Oracle makefiles would have used these definitions but we override them:
CC: $(COMPDIR)/bin/icpc
LDFLAGS: -g
[-g]
Linking
with -L../../ -L/usr/lib/oracle/10.2.0.3/client/lib -locci -lclntsh -lpthread
WARNING: If you have problems you may need to rebuild perl with threading
enabled.
Checking if your kit is complete...
Looks good
Warning: -L../../ changed to -L/root/.cpan/build/DBD-Oracle-1.19/../../
LD_RUN_PATH=/usr/lib/oracle/10.2.0.3/client/lib
Using DBD::Oracle 1.19.
Using DBD::Oracle 1.19.
Using DBI 1.53 (for perl 5.008008 on x86_64-linux) installed
in /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/auto/DBI/
Writing Makefile for DBD::Oracle
...
stdc++ -DLINUX -D_GNU_SOURCE -D_REENTRANT -g -DOCCI_NO_WSTRING=1 -cxxlib-gcc -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -pipe -DVERSION=\"1.19\" -DXS_VERSION=\"1.19\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE" -Wall -Wno-comment -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"10.2.0.3\"
Oracle.c
x86_64-pc-linux-gnu-gcc: unrecognized option '-wchar-stdc++'
x86_64-pc-linux-gnu-gcc: unrecognized option '-cxxlib-gcc'
cc1: error: /ee/dev/bastring.h: No such file or directory
make: *** [Oracle.o] Error 1
/usr/bin/make -- NOT OK
...
{~}
i don't know what i could have done to cause unrecognized options in gcc. if
this is a user error i apologize, but it sure looks like a bug to me.
tia.
--
two men say they're jesus, one of them must be wrong --dire straits