|
|
sybperl-l Archive
Up Prev Next
From: "Cheng, Victor" <Victor-Cheng at deshaw dot com>
Subject: Sybperl makefile for NT contains errors
Date: Nov 12 1997 5:28PM
I seems to have problems to create a makefile for installing Sybperl on
my NT. Can somebody help please?
I installed Perl 5.004 from
http://www.perl.com/CPAN/ports/win32/Gurusamy_Sarathy/perl5.004xx-bindis
t, and VC++ v5.0.
Then, I tried to compile sybperl 2.08.51 on a NT. I first ran "pl
makefile.pl" to generate a makefile (attached at the end). It generated
the following seemingly harmless messages:
C:\Sybperl>perl makefile.pl
Writing Makefile for Sybase::BCP
Note (probably harmless): No library found for 'libcs.lib'
Note (probably harmless): No library found for 'libct.lib'
Note (probably harmless): No library found for 'libcomn.lib'
Note (probably harmless): No library found for 'import32.lib'
Note (probably harmless): No library found for 'cw32mti.lib'
Note (probably harmless): No library found for 'odbc32.lib'
Note (probably harmless): No library found for 'odbccp32.lib'
Writing Makefile for Sybase::CTlib
Note (probably harmless): No library found for 'ibcomn.lib'
Note (probably harmless): No library found for 'libsybdb.lib'
Note (probably harmless): No library found for 'import32.lib'
Note (probably harmless): No library found for 'cw32mti.lib'
Note (probably harmless): No library found for 'odbc32.lib'
Note (probably harmless): No library found for 'odbccp32.lib'
Writing Makefile for Sybase::DBlib
Writing Makefile for Sybase
but when I ran "nmake" on the makefile, it was stopped by the following
errors:.
C:\Sybperl>nmake makefile
Microsoft (R) Program Maintenance Utility Version 1.62.7022
Copyright (C) Microsoft Corp 1988-1997. All rights reserved.
makefile(695) : fatal error U1001: syntax error : illegal character ','
in macro
Stop.
The section in the makefile containing line 695 is shown below:
# --- MakeMaker pm_to_blib section:
pm_to_blib: $(TO_INST_PM)
@$(PERL) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" \
"-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" -MExtUtils::Install \
line 695 => -e "pm_to_blib(qw[ $(mktmp,pmfiles.dat
$(PM_TO_BLIB:s,\,\\,)\n) ],'$(INST_LIB)\auto')"
@$(TOUCH) $@
Any hint to fix this problem is appreciated,
Victor
========> Makefile <============
|