Here is the block I have at the beginning of my Perl script that seems to work just fine:
BEGIN
{
$ENV{SYBASE} = '/Applications/Sybase/System';
$ENV{SYBASE_OCS} = 'OCS-12_5';
$ENV{SYBASE_ASE} = 'ASE-12_5';
$ENV{SYBASE_SYSAM} = 'SYSAM-1_0';
}ISTR that I set these prior to compiling from the command line and it compiled OK.
Good luck!
Dan
At 10:59 PM -0500 1/14/04, gohaku wrote:
Hi everyone,
I just installed Sybase ASE 12.5.1 on OS X v10.3.2
and am trying to Install the DBD-Sybase-1.02 module.
When I tried to install said module, I got back the following:
"Please set SYBASE in CONFIG, or set the $SYBASE environment variable at Makefile.PL line 93, <IN> line 44."
I then tried: "setenv SYBASE /Applications/Sybase/System/ASE-12_5/" perl Makefile.PL
and got back the following:
"Can't find the lib or include directories under /Applications/Sybase/System/ASE-12_5/! at Makefile.PL line 102, <IN> line 44."
I also read the article: "Sybase for Mac OS X" (http://www.oreillynet.com/pub/wlg/1693) to see if that could help me
but I couldn't even login as Superuser.
Does anybody know what I'm doing wrong? Thanks in advance. -Gohaku
