Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

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/ 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:

pm_to_blib: $(TO_INST_PM)
	"-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" -MExtUtils::Install \
        -e "pm_to_blib(qw[ $(mktmp,pmfiles.dat $(PM_TO_BLIB:s,\,\\,)\n)
	@$(TOUCH) $@

> -----Original Message-----
> From:	Krzysztof Koczyjan []
> Sent:	Wednesday, November 12, 1997 6:10 PM
> To:	Cheng, Victor; ''
> Subject:	Re: Sybperl makefile for NT contains errors
> ----------
> > From: Cheng, Victor 
> > To: ''
> > Cc: ''
> > 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
> on
> > my NT. Can somebody help please?
> > 
> >" to generate a makefile (attached at the end). It
> generated
> > 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
> in
> 	dblib/ and ctlib/
> from -L$sybase\\blib to -L$sybase\\lib
> I've got no enviroment to compile extension with VC, so I cannot check
> it.
> 	Hope it helps
> 		Krzysztof