On Mon, 23 Dec 2002 16:36:09 -0600 "Davis, Jo" <[EMAIL PROTECTED]> wrote:

> I have found a couple of hits in this mailing list that have the same
> problem that I am having but those threads do not seem to include the
> resolution. 
> I am trying to install DBD::ODBC on a SunOS 5.6 server.   I had no
> problems
> installing the DBI or the manager.  The perl Makefile.PL appears to run
> fine
> and creates a make file.  When I run the make it fails on line 185 of the
> ODBC.xs file.  I have verified that all files do not contain the ^M
> characters.  Output is as follows:
> # perl Makefile.PL
> 
> Configuring DBD::ODBC ...
> 
> >>>     Remember to actually *READ* the README file!
>         And re-read it if you have any problems.
> 
> Using DBI 1.32 installed in
> /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBI
> Using ODBC in /usr/local
> 
> Umm, this looks like a iodbc type of driver manager.
> 
> We expect to find the isql.h, isqlext.h and iodbc.h files (which were
> supplied with iODBC) in $ODBCHOME/include directory alongside
> the /usr/local/lib/libiodbc.a /usr/local/lib/libiodbc.so library.
> 
> 
> Checking if your kit is complete...
> Looks good
> Injecting selected odbc driver into cc command
> Injecting selected odbc driver into cc command
> Using DBI 1.32 installed in
> /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBI
> to/DBI
> Writing Makefile for DBD::ODBC
> 
> The DBD::ODBC tests will use these values for the database connection:
>     DBI_DSN=dbi:ODBC:OpenRDA            e.g. dbi:ODBC:demo
>     DBI_USER=unix
>     DBI_PASS=unix
> 
> # 
> # make
> cp Changes blib/lib/DBD/ODBC/Changes.pm
> cp ODBC.pm blib/lib/DBD/ODBC.pm
> /usr/bin/perl -p -e "s/~DRIVER~/ODBC/g" <
> /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBI/Driver.xst >
> ODBC.xsi
> /usr/bin/perl /usr/local/lib/perl5/5.8.0/ExtUtils/xsubpp  -typemap
> /usr/local/lib/perl5/5.8.0/ExtUtils/typemap  ODBC.xs > ODBC.xsc && mv
> ODBC.xsc ODBC.c
> gcc -B/usr/ccs/bin/ -c -I/usr/local/include  -I.
> -I/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBI
> -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
> -DVERSION=\"1.00\"  -DXS_VERSION=\"1.00\" -fPIC
> "-I/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE"  -I/usr/local/include
> ODBC.c
> cc1: Invalid option `-fno-strict-aliasing'

It looks like you are using a different compiler than the perl was built
with.  Maybe this can help: http://xmlproj.com/fom-serve/cache/12.html .
-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.


Reply via email to