[freetds] Compiling fails on Solaris 8 in dblib.api.sgml

ZIGLIO, Frediano, VF-IT Frediano.Ziglio at vodafone.com
Mon Aug 16 05:14:38 EDT 2004


> 
> compiling freetds-0.63.dev.20040811 after
> ./configure --prefix=/appl/freetds --with-tdsver=8.0 
> --with-unixodbc=/appl/unixODBC
> fails with the next errors:
> 
> touch doc/freetds-0.63.dev.20040811/userguide/t.htm
> rm -f doc/freetds-0.63.dev.20040811/userguide/*
> make dblib.api.sgml
> echo '<table id="dblib.api"><title>db-lib API Implementation 
> Summary</title>' > .dblib.api.head
> echo '<tgroup cols=5><thead><row> \
>                 <entry>Category</> \
>                 <entry>Microsoft name</> \
>                 <entry>Sybase name</> \
>                 <entry>Status</> \
>                 <entry>Comments</> \
>         </row></thead> \
>         <tbody>' \
>                 > .tableheader
> sed -e' s!^dblib[       ]!<row><entry>!; \
>         s![     ][      ]*!</> <entry>!g; \
>         s!$!</></row>!; \
>       ' dblib.api \
>                 > .dblib.api.body
> sed: command garbled:  s!^dblib[        ]!<row><entry>!; \
>         s![     ][      ]*!</> <entry>!g; \
>         s!$!</></row>!; \
> 
> *** Error code 2
> make: Fatal error: Command failed for target `dblib.api.sgml'
> Current working directory 
> /volumes/app02/freetds/freetds-0.63.dev.20040811/doc
> *** Error code 1
> make: Fatal error: Command failed for target 
> `doc/freetds-0.63.dev.20040811/userguide/index.htm'
> Current working directory 
> /volumes/app02/freetds/freetds-0.63.dev.20040811/doc
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> 
> Workaround is to delete "doc' from SUBDIRS in "Makefile", but 
> this is not so 
> nice.
> 
> Anybody a suggestion? Thanks in advance!
> 

Well... I guess: you used "make clean" :)
It seems that it cleans too much. Perhaps on your system sed command
it's wrong however unpackaging freetds should solve your problem...

freddy77



More information about the FreeTDS mailing list