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: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: DBD Sybase 1.08: Invalid lvalue in Sybase.xsi during MAKE
Date: Mar 29 2008 6:44AM

Joe Lushinski wrote:
> I'm trying to setup my Perl and DBI/DBD:Sybase development environment 
> for the first time on Mac OS X (Tiger v10.4).
> 
> I get errors running MAKE after the make Makefile.PL in DBD-Sybase-1.08
> 
> I installed XCode to get the C compilers, Make, etc.
> 
> I installed Perl 5.8.6
> 
> I Installed Sybase OpenClient 12.5.1 ASE Edition and added the 
> appropriate environment variables for Sybase. I can connect to my 
> database using jSQL.
> 
> I downloaded the DBI 1.602 module and did the make Makefile.PL , MAKE, 
> make test, and make install (all went well)
> 
> I downloaded DBD-Sybase-1.08 and did the make Makefile.PL , but when I 
> try to run MAKE with the MAKEFILE that was generated, I get this error:
> 
> cc -c  -I/Applications/Sybase/System/OCS-12_5/include 
> -I/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI -g -pipe 
> -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing 
> -I/usr/local/include -O3   -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\"  
> "-I/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE"   
> Sybase.cSybase.xsi: In function 
> 'XS_DBD__Sybase__db_disconnect':Sybase.xsi:277: error: invalid lvalue in 
> assignmentSybase.xsi: In function 
> 'XS_DBD__Sybase__db_DESTROY':Sybase.xsi:336: error: invalid lvalue in 
> assignmentmake: *** [Sybase.o] Error 1

I haven't tried the recent DBI versions yet, so I need to look into 
this, but it will take me a week or more (AFK next week).

Michael
-- 
Michael Peppler           -                 Peppler Consulting SaRL
mpeppler@peppler.org      -                  http://www.peppler.org
Sybase DBA/Developer      -   TeamSybase: http://www.teamsybase.com
Sybase on Linux FAQ       -   http://www.peppler.org/FAQ/linux.html