On Thu, Mar 29, 2007 at 07:53:55AM -0500, Nurmi, Michael V wrote:
> Below is the output I get when I try to do a make on the DBI module in
> Solaris 10. This works fine on Solaris I was wondering if I need an
> updated module for solaris10? Is there any DBI module that works with
> solaris10?
> 
> Please let me know what is happening.

> gcc -B/usr/ccs/bin/ -c    -fno-strict-aliasing -pipe
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
> -DVERSION=\"1.54\"  -DXS_VERSION=\"1.54\" -fPIC
> "-I/usr/local/lib/perl5/5.8.7/sun4-solaris/CORE"  -W -Wall
> -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare
> -Wno-cast-qual -DDBI_NO_THREADS Perl.c
> In file included from /usr/include/sys/signal.h:34,
>                  from /usr/include/signal.h:26,
>                  from
> /usr/local/lib/perl5/5.8.7/sun4-solaris/CORE/unixish.h:106,
>                  from
> /usr/local/lib/perl5/5.8.7/sun4-solaris/CORE/perl.h:2220,
>                  from DBIXS.h:19,
>                  from Perl.xs:6:
> /usr/include/sys/siginfo.h:259: syntax error before "ctid_t"

This kind of error indicates that the perl you're using was not
built with the compiler you're using.

You need to use the same compiler that was used to build the perl you're
building DBI for.

Often that means building and installing your own, separate, perl.

Tim.

Reply via email to