Re: DBD Sybase 1.08: Invalid lvalue in Sybase.xsi during MAKE
Michael Peppler <[email protected]> Sat, 29 Mar 2008 07:44:42 +0100
| Newsgroups | gmane.comp.lang.perl.modules.dbi.general,gmane.comp.lang.perl.modules.dbi.sybase |
|---|---|
| Organization | Peppler Consulting SaRL |
| Message-ID | <[email protected]> |
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 [email protected] - http://www.peppler.org Sybase DBA/Developer - TeamSybase: http://www.teamsybase.com Sybase on Linux FAQ - http://www.peppler.org/FAQ/linux.html