Up Prev Next
From: "Cheng, Victor" <Victor-Cheng at deshaw dot com>
Subject: RE: Sybperl makefile for NT contains errors
Date: Nov 17 1997 7:35PM
I figured out the missing libraries:
1. "-libcomn" in the following line of the DBLIB/makefile.pl should be
changed to "-llibcomn"
$lib_string = "-L$SYBASE\\lib -libcomn -llibsybdb";
2. The following line in the generated makefile refers to the other
missing libraries in nmake's warning. But, I don't think I'm using odbc
since I'm using Sybase's Open clinent. So, I'm OK.
LDLOADLIBS = import32.lib cw32mti.lib odbc32.lib odbccp32.lib
3. Well, I still don't know how to resolve the syntax error in the
makefile that starts with -e:
# --- MakeMaker pm_to_blib section:
@$(PERL) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" \
"-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" -MExtUtils::Install \
-e "pm_to_blib(qw[ $(mktmp,pmfiles.dat $(PM_TO_BLIB:s,\,\\,)\n)
> -----Original Message-----
> From: Krzysztof Koczyjan [SMTP:krzysztofK@worldnet.att.net]
> Sent: Wednesday, November 12, 1997 6:10 PM
> To: Cheng, Victor; 'firstname.lastname@example.org'
> Subject: Re: Sybperl makefile for NT contains errors
> > From: Cheng, Victor
> > To: 'email@example.com'
> > Cc: 'krzysztofK@worldnet.att.net'
> > Subject: Sybperl makefile for NT contains errors
> > Date: Wednesday, November 12, 1997 11:28 AM
> > I seems to have problems to create a makefile for installing Sybperl
> > my NT. Can somebody help please?
> > makefile.pl" to generate a makefile (attached at the end). It
> > the following seemingly harmless messages:
> I did compile Sybperl using Borland C 5.2 compiler.
> There is one difference between VC and BC.
> Sybase libraries for BC are in $SYBASE/BLIB directory,
> for VC in $SYBASE/LIB directory.
> So to compile it under VC you probably need to change path to library
> dblib/makefile.pl and ctlib/makefile.pl
> from -L$sybase\\blib to -L$sybase\\lib
> I've got no enviroment to compile extension with VC, so I cannot check
> Hope it helps