freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
[freetds] win32 build, {tds_}types.h and Nmakefile
- From: Ramiro Morales <cramm0 AT gmail.com>
- To: freetds AT lists.ibiblio.org
- Subject: [freetds] win32 build, {tds_}types.h and Nmakefile
- Date: Tue, 28 Jun 2011 11:48:20 -0300
Hi all,
I'm trying to build a Freetds 0.91 post RC2 [1]snapshot tarball under win32
using a M$ C compiler (Visual C from Visual Studio 2008). I'm using
the Nmakefile.
The build process reports it doesn't know how to build src/tds/types.h
But there is no such file, and as I'm not using a CVS checkout, all the
generated .h files should have been already created and no perl interpreter
should be needed.
Instead, there is a src/tds/tds_types.h file.
Is it posible that such .h file file got renamed at some poiny Nmakefile
is in need of an update like this?:
Index: Nmakefile
===================================================================
RCS file: /cvsroot/freetds/freetds/Nmakefile,v
retrieving revision 1.10
diff -u -r1.10 Nmakefile
--- Nmakefile 17 Feb 2011 22:12:22 -0000 1.10
+++ Nmakefile 28 Jun 2011 14:47:04 -0000
@@ -244,7 +244,7 @@
> $@.err
move /Y $@.err $@
-src\tds\types.h:
+src\tds\tds_types.h:
perl src\tds\types.pl misc\types.txt > $@.err
move /Y $@.err $@
@@ -261,7 +261,7 @@
$(MV) $@.tmp $@
!ENDIF
-GENERATED_FILES = include\tdsver.h src\tds\types.h \
+GENERATED_FILES = include\tdsver.h src\tds\tds_types.h \
src\tds\tds_willconvert.h src\tds\encodings.h src\tds\num_limits.h
$(DBLIB_OUT)\db-lib.lib: $(GENERATED_FILES) $(DBLIB_OUT) $(DBLIB_OBJ)
$(REPLACEMENTS_OUT)\replacements.lib $(TDS_OUT)\tds.lib
Thanks for FreeTDS.
--
Ramiro Morales
1. ftp://ftp.ibiblio.org/pub/linux/ALPHA/freetds/stable/freetds-0.91rc.tgz
-
[freetds] win32 build, {tds_}types.h and Nmakefile,
Ramiro Morales, 06/28/2011
- Re: [freetds] win32 build, {tds_}types.h and Nmakefile, Frediano Ziglio, 06/29/2011
Archive powered by MHonArc 2.6.24.