DBI-1.57 compile errors

Sergey Prilutsky <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.general
Message-ID <[email protected]>
Hi DBI guru,

Ran into the problem compiling DBI-1.57 over Perl 5.14.2 on SuSE SLES11 SP1 server running on x86 64bit.

Please also note, that the base Perl is 5.10.2 and Perl 5.14.2 is installed in /usr/local/perl5/5.14.2....

Any help is greatly appreciated.


tsles11-elsarch:/tmp/DBI-1.57 # make
/usr/local/perl5/5.14.2/bin/perl -MExtUtils::Command -e 'mkpath' -- blib/lib/DBI
rm -f blib/lib/DBI/Changes.pm
cp Changes blib/lib/DBI/Changes.pm
/usr/local/perl5/5.14.2/bin/perl -MExtUtils::Command -e 'mkpath' -- blib/lib/DBI
rm -f blib/lib/DBI/Roadmap.pm
cp Roadmap.pod blib/lib/DBI/Roadmap.pm
cp Driver_xst.h blib/arch/auto/DBI/Driver_xst.h
cp lib/DBI/Gofer/Response.pm blib/lib/DBI/Gofer/Response.pm
cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm
cp lib/DBI/Util/_accessor.pm blib/lib/DBI/Util/_accessor.pm
cp lib/DBI/Gofer/Transport/Base.pm blib/lib/DBI/Gofer/Transport/Base.pm
cp lib/DBD/DBM.pm blib/lib/DBD/DBM.pm
cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
cp Roadmap.pod blib/lib/Roadmap.pod
cp dbixs_rev.pl blib/lib/dbixs_rev.pl
cp lib/DBI/Const/GetInfoType.pm blib/lib/DBI/Const/GetInfoType.pm
cp lib/DBI/DBD/Metadata.pm blib/lib/DBI/DBD/Metadata.pm
cp lib/DBI/Const/GetInfo/ODBC.pm blib/lib/DBI/Const/GetInfo/ODBC.pm
cp lib/DBD/Gofer/Transport/pipeone.pm blib/lib/DBD/Gofer/Transport/pipeone.pm
cp lib/DBI/ProfileDumper/Apache.pm blib/lib/DBI/ProfileDumper/Apache.pm
cp Driver.xst blib/arch/auto/DBI/Driver.xst
cp lib/DBD/File.pm blib/lib/DBD/File.pm
cp lib/DBI/ProfileSubs.pm blib/lib/DBI/ProfileSubs.pm
cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
cp lib/DBD/Gofer.pm blib/lib/DBD/Gofer.pm
cp dbivport.h blib/arch/auto/DBI/dbivport.h
cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h
cp dbixs_rev.h blib/arch/auto/DBI/dbixs_rev.h
cp lib/DBD/Gofer/Transport/Base.pm blib/lib/DBD/Gofer/Transport/Base.pm
cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm
cp lib/DBD/Gofer/Policy/rush.pm blib/lib/DBD/Gofer/Policy/rush.pm
cp lib/DBI/SQL/Nano.pm blib/lib/DBI/SQL/Nano.pm
cp lib/DBI/Const/GetInfo/ANSI.pm blib/lib/DBI/Const/GetInfo/ANSI.pm
cp lib/DBI/Gofer/Request.pm blib/lib/DBI/Gofer/Request.pm
cp lib/DBD/Gofer/Transport/stream.pm blib/lib/DBD/Gofer/Transport/stream.pm
cp lib/DBD/Gofer/Policy/classic.pm blib/lib/DBD/Gofer/Policy/classic.pm
cp goferperf.pl blib/lib/goferperf.pl
cp lib/DBI/Gofer/Transport/stream.pm blib/lib/DBI/Gofer/Transport/stream.pm
cp lib/DBI/Const/GetInfoReturn.pm blib/lib/DBI/Const/GetInfoReturn.pm
cp DBI.pm blib/lib/DBI.pm
cp lib/DBD/Gofer/Policy/Base.pm blib/lib/DBD/Gofer/Policy/Base.pm
cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
cp lib/DBD/Gofer/Policy/pedantic.pm blib/lib/DBD/Gofer/Policy/pedantic.pm
cp lib/DBI/Gofer/Transport/pipeone.pm blib/lib/DBI/Gofer/Transport/pipeone.pm
cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm
cp lib/DBD/Gofer/Transport/null.pm blib/lib/DBD/Gofer/Transport/null.pm
cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
cp TASKS.pod blib/lib/TASKS.pod
cp lib/DBI/Profile.pm blib/lib/DBI/Profile.pm
cp lib/DBI/ProfileDumper.pm blib/lib/DBI/ProfileDumper.pm
cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
cp dbipport.h blib/arch/auto/DBI/dbipport.h
cp lib/DBI/Gofer/Execute.pm blib/lib/DBI/Gofer/Execute.pm
cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
cp lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm
cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm
/usr/local/perl5/5.14.2/bin/perl -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi
/usr/local/perl5/5.14.2/bin/perl /usr/local/perl5/5.14.2/lib/5.14.2/ExtUtils/xsubpp  -typemap 

/usr/local/perl5/5.14.2/lib/5.14.2/ExtUtils/typemap -typemap typemap  Perl.xs > Perl.xsc && mv Perl.xsc Perl.c
gcc -c   -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE 

-D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"1.57\" -DXS_VERSION=\"1.57\" -fPIC 

"-I/usr/local/perl5/5.14.2/lib/5.14.2/x86_64-linux/CORE"  -W -Wall -Wpointer-arith -Wbad-function-cast 

-Wno-comment -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter -DDBI_NO_THREADS Perl.c
In file included from Perl.c:114:
Driver_xst.h: In function âdbixst_bounce_methodâ:
Driver_xst.h:35: error: âsv_undefâ undeclared (first use in this function)
Driver_xst.h:35: error: (Each undeclared identifier is reported only once
Driver_xst.h:35: error: for each function it appears in.)
Driver_xst.h: In function âdbdxst_fetchall_arrayrefâ:
Driver_xst.h:94: error: âsv_undefâ undeclared (first use in this function)
./Perl.xsi: In function âXS_DBD__Perl__dr_discon_all_â:
./Perl.xsi:44: error: âsv_yesâ undeclared (first use in this function)
./Perl.xsi:44: error: âsv_noâ undeclared (first use in this function)
./Perl.xsi: In function âXS_DBD__Perl__db__loginâ:
./Perl.xsi:94: error: âsv_yesâ undeclared (first use in this function)
./Perl.xsi:94: error: âsv_noâ undeclared (first use in this function)
./Perl.xsi: In function âXS_DBD__Perl__db_last_insert_idâ:
./Perl.xsi:246: error: âsv_undefâ undeclared (first use in this function)
./Perl.xsi: In function âXS_DBD__Perl__db_commitâ:
./Perl.xsi:259: error: âsv_yesâ undeclared (first use in this function)
./Perl.xsi:259: error: âsv_noâ undeclared (first use in this function)
./Perl.xsi: In function âXS_DBD__Perl__db_rollbackâ:
./Perl.xsi:269: error: âsv_yesâ undeclared (first use in this function)
./Perl.xsi:269: error: âsv_noâ undeclared (first use in this function)
./Perl.xsi: In function âXS_DBD__Perl__db_disconnectâ:
./Perl.xsi:282: error: âdirtyâ undeclared (first use in this function)
./Perl.xsi:289: error: âsv_yesâ undeclared (first use in this function)
./Perl.xsi:289: error: âsv_noâ undeclared (first use in this function)
./Perl.xsi: In function âXS_DBD__Perl__db_STOREâ:
./Perl.xsi:302: error: âsv_yesâ undeclared (first use in this function)
./Perl.xsi:305: error: âsv_noâ undeclared (first use in this function)
./Perl.xsi: In function âXS_DBD__Perl__db_DESTROYâ:
./Perl.xsi:326: error: âsv_yesâ undeclared (first use in this function)
./Perl.xsi:329: error: âdirtyâ undeclared (first use in this function)
./Perl.xsi: In function âXS_DBD__Perl__db_take_imp_dataâ:
./Perl.xsi:382: error: âsv_undefâ undeclared (first use in this function)
./Perl.xsi: In function âXS_DBD__Perl__st__prepareâ:
./Perl.xsi:431: error: âsv_yesâ undeclared (first use in this function)
./Perl.xsi:431: error: âsv_noâ undeclared (first use in this function)
./Perl.xsi: In function âXS_DBD__Perl__st_bind_colâ:
./Perl.xsi:475: error: âsv_yesâ undeclared (first use in this function)
./Perl.xsi:479: error: âsv_noâ undeclared (first use in this function)
./Perl.xsi: In function âXS_DBD__Perl__st_bind_paramâ:
./Perl.xsi:513: error: âsv_yesâ undeclared (first use in this function)
./Perl.xsi:513: error: âsv_noâ undeclared (first use in this function)
./Perl.xsi: In function âXS_DBD__Perl__st_bind_param_inoutâ:
./Perl.xsi:548: error: âsv_yesâ undeclared (first use in this function)
./Perl.xsi:548: error: âsv_noâ undeclared (first use in this function)
./Perl.xsi: In function âXS_DBD__Perl__st_execute_for_fetchâ:
./Perl.xsi:586: error: âsv_undefâ undeclared (first use in this function)
./Perl.xsi: In function âXS_DBD__Perl__st_finishâ:
./Perl.xsi:653: error: âdirtyâ undeclared (first use in this function)
./Perl.xsi:659: error: âsv_yesâ undeclared (first use in this function)
./Perl.xsi:659: error: âsv_noâ undeclared (first use in this function)
./Perl.xsi: In function âXS_DBD__Perl__st_STOREâ:
./Perl.xsi:691: error: âsv_yesâ undeclared (first use in this function)
./Perl.xsi:694: error: âsv_noâ undeclared (first use in this function)
./Perl.xsi: In function âXS_DBD__Perl__st_DESTROYâ:
./Perl.xsi:720: error: âsv_yesâ undeclared (first use in this function)
./Perl.xsi:723: error: âdirtyâ undeclared (first use in this function)
make: *** [Perl.o] Error 1
tsles11-elsarch:/tmp/DBI-1.57 #

Regards,
    Sergey Prilutsky
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.