[freetds] NMakefile from freetds-0.83.dev.20101006 RE: [Fwd: FreeTDS for MS VC++ 2010]
LacaK
lacak at zoznam.sk
Wed Oct 13 03:58:55 EDT 2010
>>>> I think at one time types.h was in the include directory
>>>> and later we decided to leave in the the tds directory.
>>>> NMakefile assumes it will be in include. If you copy the
>>>> file, you satisfy the dependency without needing Perl or types.pl.
>>>>
>>> for me, NMAKE ends later with another error message:
>>>
>>> NMAKE : fatal error U1073: don't know how to make 'src\tds\tds_willconvert.pl'
>>> Stop.
>>>
>> yes, you'd need to remove the rule that mentions this script, but you won't get far.
>> see my other email when / if it makes through to the list.
>>
>
> My apologies to anyone trying to follow my advice to use the distributed NMakefile. It works fine from CVS with Perl installed, but there were a few problems with using it with the distribution tarball.
>
> Attached is an NMakefile that works. I committed it to CVS HEAD and the nightly snapshot should work out of the box tomorrow.
>
Now it ends with :
'cl' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'cl' : return code '0x1'
Stop.
Output:
creating output directory for configuration: "win32|debug"
MD src\dblib\win32\debug
creating output directory for configuration: "win32|debug"
MD src\replacements\win32\debug
cl -nologo -W3 -Wp64 -EHsc -TC -Gm -errorReport:prompt -D
"_MBCS" -D "_LIB" -D "WIN32" -D "_CRT_SECURE_NO_WARNINGS" -D
_CRT_NONSTDC_NO_DEPRECATE -D "HAVE_CONFIG_H" -D
"_FREETDS_LIBRARY_SOURCE" -I "include" -I "win32" -I "include\x64" -c
-MTd -Od -D "_DEBUG" -ZI -RTC1 -Fo"src\replacements\win32\debug\\"
-Fd"src\replacements\win32\debug\vc80.pdb" src\replacements\asprintf.c
src\replacements\basename.c src\replacements\fakepoll.c
src\replacements\gettimeofday.c src\replacements\getopt.c
src\replacements\iconv.c src\replacements\readpassphrase.c
src\replacements\strlcat.c src\replacements\strlcpy.c
src\replacements\strtok_r.c src\replacements\vasprintf.c
More information about the FreeTDS
mailing list