Re: [Fwd: FreeTDS for MS VC++ 2010]

LacaK <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
> On Mon, Oct 04, 2010 at 12:59:30PM +0200, LacaK wrote:
>   
>> When I run NMake.exe using command like:
>> "C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\nmake.exe" -f 
>> Nmakefile -nologo PLATFORM=win32 CONFIGURATION=debug
>>
>> Then error is shown (same under VC2005,2010):
>> 'perl' is not recognized as an internal or external command,
>>     
>
> GENERATED_FILES = include\tdsver.h include\types.h \
>         src\tds\tds_willconvert.h src\tds\encodings.h src\tds\num_limits.h
>
>
> Most people, though, build from a distribution tarball.  The tarballs don't require Perl because they include pre-built .h files.
I build from sources downloaded from : 
ftp://ftp.ibiblio.org/pub/Linux/ALPHA/freetds/current/freetds-current.tgz

>   Your message is a little surprising, because the Nmakefile shouldn't invoke Perl when unpacked from a tarball: it should find the .h files already built and be happy with that.  
>
> Which of the above files is it trying to build?
IMHO: perl src\tds\types.pl misc\types.txt > include\types.h.err

>   Can you figure out why?
may be, that there is wrong path:

include\types.h

types.h is stored in

src\tds\types.h 

???

When I correct this path, then nmake end with error on another line:

NMAKE : fatal error U1073: don't know how to make 'src\tds\tds_willconvert.pl'
Stop.


>   Is the target file really missing, or is it older than its dependent?
"types.h" (and also tds_willconvert.h, encodings.h, num_limits.h) is 
there in "src/tds" directory from 02.10.2010

>   
>
> If I misunderstood and you're actually building from CVS,
no, I am not building from CVS

-Laco.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.