[freetds] freetds installation failed on Solaris 9
jun_chen at bankone.com
jun_chen at bankone.com
Tue Feb 1 14:47:12 EST 2005
Thanks a lot, freddy77.
After I added /usr/ccs/bin to the environment variable PATH, the error is
gone. ar is in /usr/ccs/bin.
But I got the following new errors for 0.62.4 when I tried to make:
mkdir doc/freetds-0.62.4/userguide
touch doc/freetds-0.62.4/userguide/t.htm
rm -f doc/freetds-0.62.4/userguide/*
make dblib.api.sgml
grep '^dblib' ./api_status.txt > .dblib.api
test -s .dblib.api
mv .dblib.api dblib.api
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 /data1/freetds-0.62.4/doc
*** Error code 1
make: Fatal error: Command failed for target
`doc/freetds-0.62.4/userguide/index.htm'
Current working directory /data1/freetds-0.62.4/doc
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Any more ideas?
Jun
>
> Alex,
>
> Here are the lines above the 'Error 1' message:
>
> gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
> -D_FREETDS_LIBRARY_SOURCE -DUNIXODBC -D_REENTRANT
> -D_THREAD_SAFE -DDEBUG=1
> -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long
> -g -O2 -MT
> vasprintf.lo -MD -MP -MF .deps/vasprintf.Tpo -c vasprintf.c
> -fPIC -DPIC
> -o .libs/vasprintf.o
> gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
> -D_FREETDS_LIBRARY_SOURCE -DUNIXODBC -D_REENTRANT
> -D_THREAD_SAFE -DDEBUG=1
> -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long
> -g -O2 -MT
> vasprintf.lo -MD -MP -MF .deps/vasprintf.Tpo -c vasprintf.c
> -o vasprintf.o
> >/dev/null 2>&1
> if /bin/bash ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
> -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -DUNIXODBC
> -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-prototypes
> -Wmissing-prototypes -Wno-long-long -g -O2 -MT
> readpassphrase.lo -MD -MP
> -MF ".deps/readpassphrase.Tpo" \
> -c -o readpassphrase.lo `test -f 'readpassphrase.c' || echo
> './'`readpassphrase.c; \
> then mv ".deps/readpassphrase.Tpo" ".deps/readpassphrase.Plo"; \
> else rm -f ".deps/readpassphrase.Tpo"; exit 1; \
> fi
> gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
> -D_FREETDS_LIBRARY_SOURCE -DUNIXODBC -D_REENTRANT
> -D_THREAD_SAFE -DDEBUG=1
> -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long
> -g -O2 -MT
> readpassphrase.lo -MD -MP -MF .deps/readpassphrase.Tpo -c
> readpassphrase.c
> -fPIC -DPIC -o .libs/readpassphrase.o
> readpassphrase.c: In function `readpassphrase':
> readpassphrase.c:169: warning: subscript has type `char'
Mmm.... this can be a problem...
> gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
> -D_FREETDS_LIBRARY_SOURCE -DUNIXODBC -D_REENTRANT
> -D_THREAD_SAFE -DDEBUG=1
> -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long
> -g -O2 -MT
> readpassphrase.lo -MD -MP -MF .deps/readpassphrase.Tpo -c
> readpassphrase.c
> -o readpassphrase.o >/dev/null 2>&1
> /bin/bash ../../libtool --mode=link gcc -g -O2
> -L/usr/local/unixODBC/lib
> -o libreplacements.la iconv.lo asprintf.lo vasprintf.lo
> readpassphrase.lo -lc
> false cru .libs/libreplacements.a .libs/iconv.o .libs/asprintf.o
> .libs/vasprintf.o .libs/readpassphrase.o
>
?? what ?? false ?? Perhaps libtool was not able to find ar for some
reasons ??
>
> Thanks.
>
> Jun
>
freddy77
This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you.
More information about the FreeTDS
mailing list