PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: west at lexmark dot com
Subject: Help compiling on Solaris 2.6
Date: Sep 29 1997 2:14PM

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/2.7.2.1/include/sys/param.h:1
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'