Tim Bunce,
 
            I was having problems doing a 'make' on your module under
Solaris 8 using Perl 5.6.1 and GCC 3.0.3.  I found out that GCC 2.95.3 works
fine.  Just wanted to let you know if you get other users complaining about
DBI builds not working.  I saw many on the DBI mailing lists with the same
problem.  Below is the output of the error:
 
# make
cp Changes blib/lib/DBI/Changes.pm
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/local/bin/perl -p -e "s/~DRIVER~/Perl/g" <
blib/arch/auto/DBI/Driver.xst > Perl.xsi
/usr/local/bin/perl -I/usr/local/lib/perl5/5.6.1/sun4-solaris
-I/usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp
-typemap /usr/local/lib/perl5/5.6.1/ExtUtils/typemap Perl.xs > Perl.xsc &&
mv Perl.xsc Perl.c
gcc -c  -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O    -DVERSION=\"1.21\"  -DXS_VERSION=\"1.21\" -fPIC
-I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE -Wall -Wno-comment
-DDBI_NO_THREADS Perl.c
Perl.xsi: In function `XS_DBD__Perl__st__prepare':
Perl.xsi:197: warning: operation on `PL_na' may be undefined
Perl.xsi: In function `XS_DBD__Perl__st_bind_param':
Perl.xsi:233: warning: operation on `PL_na' may be undefined
Perl.xsi: In function `XS_DBD__Perl__st_bind_param_inout':
Perl.xsi:269: warning: operation on `PL_na' may be undefined
/usr/local/bin/perl -I/usr/local/lib/perl5/5.6.1/sun4-solaris
-I/usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp
-typemap /usr/local/lib/perl5/5.6.1/ExtUtils/typemap DBI.xs > DBI.xsc && mv
DBI.xsc DBI.c
gcc -c  -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O    -DVERSION=\"1.21\"  -DXS_VERSION=\"1.21\" -fPIC
-I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE -Wall -Wno-comment
-DDBI_NO_THREADS DBI.c
DBI.xs: In function `dbih_clearcom':
DBI.xs:971: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_get_fbav':
DBI.xs:1109: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_set_attr_k':
DBI.xs:1201: warning: unused variable `Perl___notused'
DBI.xs: In function `log_where':
DBI.xs:1743: warning: unused variable `Perl___notused'
DBI.xs: In function `XS_DBI_dispatch':
DBI.xs:2275: warning: unused variable `Perl___notused'
DBI.xs: In function `XS_DBD_____st_bind_col':
DBI.xs:3054: warning: operation on `PL_na' may be undefined
DBI.xs: In function `XS_DBD_____st_bind_columns':
DBI.xs:3075: warning: operation on `PL_na' may be undefined
/usr/ccs/bin/as: "/var/tmp/ccqiKzfj.s", line 3428: error: unknown opcode
".subsection"
/usr/ccs/bin/as: "/var/tmp/ccqiKzfj.s", line 3428: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/ccqiKzfj.s", line 3446: error: unknown opcode
".previous"
/usr/ccs/bin/as: "/var/tmp/ccqiKzfj.s", line 3446: error: statement syntax
*** Error code 1
make: Fatal error: Command failed for target `DBI.o'
 
 
            I saw some people on the email DBI group with the same issue and
responded to them letting them know what I did to fix the problem:
 
 
To:   John Tobey/Intdata@INTDATA
cc:   [EMAIL PROTECTED]
 
Subject:  DBI Installation Issues
 
 
 
 
I saw your thread to li-fang.chew on the DBI message group.  I was having
the same problem and I found his message doing a Google search
(http://www.rosat.mpe-garching.mpg.de/mailing-lists/dbi/2002-04.mbox
<http://www.rosat.mpe-garching.mpg.de/mailing-lists/dbi/2002-04.mbox> ).  I
am running Solaris 8, Perl 5.6.1 (pkginst to /usr/local/bin), GCC 3.0.3
(pkginst to /usr/local/bin).  I fixed the problem by uninstalling GCC 3.0.3
and re-installing GCC 2.95.3.  Is there anyway of posting this fix for other
users that are having the same DBI build issues?  I'm not on the DBI mailing
list.  Thank you.
 
Ian
**************************************************************************
The information transmitted herewith is sensitive information intended only
for use by the individual or entity to which it is addressed. If the reader
of this message is not the intended recipient, you are hereby notified that
any review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.
 
**************************************************************************
The information transmitted herewith is sensitive information intended only
for use by the individual or entity to which it is addressed. If the reader
of this message is not the intended recipient, you are hereby notified that
any review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.


Reply via email to