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: Javier Andres Marroquin <javierm at cable dot net dot co>
Subject: Problems compiling
Date: May 13 1998 7:26PM

Hi


Im trying to compile sybperl 2.09.04 under a Sun Ultra2 Machine running
solaris 2.6.
Im using Sybase Adaptive Server 11.5 and Open Client /C Developers Kit
11.1.1  also Perl version 5.004_01 (precompiled).
the SYBASE variable points to /opt/sybase.

when i try to compile, obtain the following

SYBASE /opt/sybase/sybase/sybperl-2.09_04#perl Makefile.PL
Writing Makefile for Sybase::BCP
Writing Makefile for Sybase::CTlib
Writing Makefile for Sybase::DBlib
Writing Makefile for Sybase::Sybperl
Writing Makefile for Sybase
SYBASE /opt/sybase/sybase/sybperl-2.09_04#

then:

SYBASE /opt/sybase/sybase/sybperl-2.09_04#make
make[1]: Entering directory `/opt/sybase/sybase/sybperl-2.09_04/BCP'
Manifying .././blib/man3/Sybase::BCP.3
make[1]: Leaving directory `/opt/sybase/sybase/sybperl-2.09_04/BCP'
make[1]: Entering directory `/opt/sybase/sybase/sybperl-2.09_04/CTlib'
gcc -c -I/opt/sybase/include  -O    -DVERSION=\"2.09_04\"
-DXS_VERSION=\"2.09_04\" -fpic
-I/usr/local/lib/perl5/sun4-solaris/5.00401/CORE -DCTLIBVS=100
-DSYBPLVER='"2.09_04"' -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:185:
warning: `NBBY' redefined
/usr/include/sys/select.h:45: warning: this is the location of the
previous definition
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"
make[1]: *** [CTlib.o] Error 1
make[1]: Leaving directory `/opt/sybase/sybase/sybperl-2.09_04/CTlib'
make: *** [subdirs] Error 2
SYBASE /opt/sybase/sybase/sybperl-2.09_04#





what can i do.??????????

--
+++++++++++++++++++++++++++++++++++++++++++++++++
Javier Andres Marroquin
C@BLENET                                    TV CABLE
                                                     Bogota
Ingeniero Electronico                       T. 2185166
System Administrator
javierm@cable.net.co
+++++++++++++++++++++++++++++++++++++++++++++++++++