Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Re: Help compiling on Solaris 2.6
Date: Sep 29 1997 3:15PM wrote:
> I am trying to compile sybperl 2.07 on a Sun box (Sparc 20) running Solaris
> 2.6, Perl 5.004_01, gcc 2721, and I am having lots of problems in the make
> section.  However, Solaris 2.5.1 seems to work okay.  Does sybperl work on
> Solaris 2.6, and if not, will a version compiled on 2.5.1 "port" to a 2.6
> box?
> Specific error:
> #make
> gcc -c -I/sybase/include  -O     -DVERSION=\"2.07\"  -DXS_VERSION=\"2.07\"
> -fpic
>  -I/usr/local/lib/perl5/sun4-solaris/5.00401/CORE -DCTLIBVS=100
> -DSYBPLVER='"2.0
> 7"' -DDO_TIE CTlib.c
> In file included from
> /usr/local/lib/perl5/sun4-solaris/5.00401/CORE/perl.h:223,
>                  from CTlib.xs:18:
> /opt/GCC2721/lib/gcc-lib/sparc-sun-solaris2.5/
> 85: w
> arning: `NBBY' redefined
> /usr/include/sys/select.h:45: warning: this is the location of the previous
>  defi
> nition
> In file included from /usr/include/sys/stream.h:26,
>                  from /usr/include/netinet/in.h:38,
>                  from
> /usr/local/lib/perl5/sun4-solaris/5.00401/CORE/perl.h:361,
>                  from CTlib.xs:18:
> /usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified"
> *** Error code 1
> make: Fatal error: Command failed for target `CTlib.o'
> Current working directory /export/home/tools/sybperl2/sybperl-2.07/CTlib
> *** Error code 1
> make: Fatal error: Command failed for target `subdirs'

This looks like a gcc installation error, because the problems are
comming from the Solaris include files.

I don't have 2.6... where you able to build perl on the same

Michael Peppler       -||-  Data Migrations Inc.  -||-