Skip to Content.
Sympa Menu

freetds - Help with "make" of FreeTDS

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Paul Brager" <paul_brager AT hotmail.com>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Help with "make" of FreeTDS
  • Date: Wed, 12 Dec 2001 02:56:20 -0500


All:

I am new to FreeTDS so if I ask any ignorant questions, please do not
laugh too loud :)
I am currently trying to install FreeTDS to talk from a Solaris 8/Apache
1.3.19 frontend to a Microsoft SQL Server 2000 backend. My "configure"
looks like :

sudo ./configure --with-tdsver=7.0 --enable-msdblib
--prefix=usr/local/freetds
loading cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) no
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking whether make sets ${MAKE}... (cached) no
checking for a BSD compatible install... ./install-sh -c
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking host system type... sparc-sun-solaris2.8
checking build system type... sparc-sun-solaris2.8
checking for ld used by GCC... (cached) /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... (cached) no
checking for /usr/ccs/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/ccs/bin/nm -p
checking whether ln -s works... (cached) yes
checking how to recognise dependant libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking command to parse /usr/ccs/bin/nm -p output... (cached) ok
checking for dlfcn.h... (cached) yes
checking for ranlib... no
checking for strip... no
checking for objdir... .libs
checking for gcc option to produce PIC... (cached) -fPIC
checking if gcc PIC flag -fPIC works... (cached) yes
checking if gcc static flag -static works... (cached) yes
checking if gcc supports -c -o file.o... (cached) yes
checking if gcc supports -c -o file.lo... (cached) yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/ccs/bin/ld) supports shared libraries...
yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.8 ld.so
checking if libtool supports shared libraries... yes
creating libtool
checking for iconv... (cached) yes
checking for iconv declaration... (cached)
extern size_t iconv (iconv_t cd, const char * *inbuf, size_t
*inbytesle
ft, char * *outbuf, size_t *outbytesleft);
checking for socket in -lsocket... (cached) yes
checking for ANSI C header files... (cached) yes
checking for malloc.h... (cached) yes
checking size of char... (cached) 1
checking size of short... (cached) 2
checking size of long... (cached) 4
checking size of int... (cached) 4
checking size of float... (cached) 4
checking size of double... (cached) 8
checking is FIONBIO defined... need -DBSD_COMP
checking whether byte ordering is bigendian... (cached) yes
updating cache ./config.cache
creating ./config.status
creating include/tdsver.h
creating include/tds.h
creating Makefile
creating include/Makefile
creating src/Makefile
creating src/tds/Makefile
creating src/tds/unittests/Makefile
creating src/dblib/Makefile
creating src/dblib/unittests/Makefile
creating src/ctlib/Makefile
creating src/ctlib/unittests/Makefile
creating src/server/Makefile
creating src/odbc/Makefile
creating include/config.h
include/config.h is unchanged

I then type in "sudo make", which yields the following output :

sudo make
Making all in include
make[1]: Entering directory `/SolarisSoftware_Pantellos/freetds/include'
Making tds_configs.h
make[1]: Leaving directory `/SolarisSoftware_Pantellos/freetds/include'
Making all in src
make[1]: Entering directory `/SolarisSoftware_Pantellos/freetds/src'
Making all in tds
make[2]: Entering directory `/SolarisSoftware_Pantellos/freetds/src/tds'
Making all in unittests
make[3]: Entering directory
`/SolarisSoftware_Pantellos/freetds/src/tds/unittest
s'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/SolarisSoftware_Pantellos/freetds/src/tds/unittests
'
make[3]: Entering directory `/SolarisSoftware_Pantellos/freetds/src/tds'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../../include
-I../../include -g -O2 -DTDS70 -DMSDBLIB -c mem.c
rm -f .libs/mem.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -DTDS70
-DMSD
BLIB -Wp,-MD,.deps/mem.pp -c mem.c -fPIC -DPIC -o .libs/mem.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -DTDS70
-DMSD
BLIB -Wp,-MD,.deps/mem.pp -c mem.c -o mem.o >/dev/null 2>&1
mv -f .libs/mem.lo mem.lo
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../../include
-I../../include -g -O2 -DTDS70 -DMSDBLIB -c token.c
rm -f .libs/token.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -DTDS70
-DMSD
BLIB -Wp,-MD,.deps/token.pp -c token.c -fPIC -DPIC -o .libs/token.lo
token.c: In function `tds_process_row':
token.c:943: warning: passing arg 2 of `tds_swap_datatype' from
incompatible poi
nter type
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -DTDS70
-DMSD
BLIB -Wp,-MD,.deps/token.pp -c token.c -o token.o >/dev/null 2>&1
mv -f .libs/token.lo token.lo
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../../include
-I../../include -g -O2 -DTDS70 -DMSDBLIB -c util.c
rm -f .libs/util.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -DTDS70
-DMSD
BLIB -Wp,-MD,.deps/util.pp -c util.c -fPIC -DPIC -o .libs/util.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -DTDS70
-DMSD
BLIB -Wp,-MD,.deps/util.pp -c util.c -o util.o >/dev/null 2>&1
mv -f .libs/util.lo util.lo
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../../include
-I../../include -g -O2 -DTDS70 -DMSDBLIB -c login.c
rm -f .libs/login.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -DTDS70
-DMSD
BLIB -Wp,-MD,.deps/login.pp -c login.c -fPIC -DPIC -o .libs/login.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -DTDS70
-DMSD
BLIB -Wp,-MD,.deps/login.pp -c login.c -o login.o >/dev/null 2>&1
mv -f .libs/login.lo login.lo
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../../include
-I../../include -g -O2 -DTDS70 -DMSDBLIB -c read.c
rm -f .libs/read.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -DTDS70
-DMSD
BLIB -Wp,-MD,.deps/read.pp -c read.c -fPIC -DPIC -o .libs/read.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -DTDS70
-DMSD
BLIB -Wp,-MD,.deps/read.pp -c read.c -o read.o >/dev/null 2>&1
mv -f .libs/read.lo read.lo
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../../include
-I../../include -g -O2 -DTDS70 -DMSDBLIB -c write.c
rm -f .libs/write.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -DTDS70
-DMSD
BLIB -Wp,-MD,.deps/write.pp -c write.c -fPIC -DPIC -o .libs/write.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -DTDS70
-DMSD
BLIB -Wp,-MD,.deps/write.pp -c write.c -o write.o >/dev/null 2>&1
mv -f .libs/write.lo write.lo
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../../include
-I../../include -g -O2 -DTDS70 -DMSDBLIB -c convert.c
rm -f .libs/convert.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -DTDS70
-DMSD
BLIB -Wp,-MD,.deps/convert.pp -c convert.c -fPIC -DPIC -o
.libs/convert.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -DTDS70
-DMSD
BLIB -Wp,-MD,.deps/convert.pp -c convert.c -o convert.o >/dev/null 2>&1
mv -f .libs/convert.lo convert.lo
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../../include
-I../../include -g -O2 -DTDS70 -DMSDBLIB -c numeric.c
rm -f .libs/numeric.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -DTDS70
-DMSD
BLIB -Wp,-MD,.deps/numeric.pp -c numeric.c -fPIC -DPIC -o
.libs/numeric.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -DTDS70
-DMSD
BLIB -Wp,-MD,.deps/numeric.pp -c numeric.c -o numeric.o >/dev/null 2>&1
mv -f .libs/numeric.lo numeric.lo
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../../include
-I../../include -g -O2 -DTDS70 -DMSDBLIB -c config.c
rm -f .libs/config.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -DTDS70
-DMSD
BLIB -Wp,-MD,.deps/config.pp -c config.c -fPIC -DPIC -o
.libs/config.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -DTDS70
-DMSD
BLIB -Wp,-MD,.deps/config.pp -c config.c -o config.o >/dev/null 2>&1
mv -f .libs/config.lo config.lo
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../../include
-I../../include -g -O2 -DTDS70 -DMSDBLIB -c query.c
rm -f .libs/query.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -DTDS70
-DMSD
BLIB -Wp,-MD,.deps/query.pp -c query.c -fPIC -DPIC -o .libs/query.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -DTDS70
-DMSD
BLIB -Wp,-MD,.deps/query.pp -c query.c -o query.o >/dev/null 2>&1
mv -f .libs/query.lo query.lo
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../../include
-I../../include -g -O2 -DTDS70 -DMSDBLIB -c iconv.c
rm -f .libs/iconv.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -DTDS70
-DMSD
BLIB -Wp,-MD,.deps/iconv.pp -c iconv.c -fPIC -DPIC -o .libs/iconv.lo
iconv.c: In function `tds7_unicode2ascii':
iconv.c:83: warning: passing arg 2 of `iconv' from incompatible pointer
type
iconv.c: In function `tds7_ascii2unicode':
iconv.c:118: warning: passing arg 2 of `iconv' from incompatible pointer
type
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -DTDS70
-DMSD
BLIB -Wp,-MD,.deps/iconv.pp -c iconv.c -o iconv.o >/dev/null 2>&1
mv -f .libs/iconv.lo iconv.lo
/bin/sh ../../libtool --mode=link gcc -g -O2 -DTDS70 -DMSDBLIB -o
libtds.la -r
path usr/local/freetds/lib mem.lo token.lo util.lo login.lo read.lo
write.lo co
nvert.lo numeric.lo config.lo query.lo iconv.lo
libtool: link: only absolute run-paths are allowed
make[3]: *** [libtds.la] Error 1
make[3]: Leaving directory `/SolarisSoftware_Pantellos/freetds/src/tds'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/SolarisSoftware_Pantellos/freetds/src/tds'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/SolarisSoftware_Pantellos/freetds/src'
make: *** [all-recursive] Error 1

What does "absolute run paths" mean? Further, I cannot locate the
libtds.la file anywhere in the source, but it shows up in the compile...is
there some other include that need to make this work? Any assistance with
this would be greatly appreciated...

Kindest regards,

Paul Brager
Security Architect
Pantellos Group
The Woodlands, TX



  • Help with "make" of FreeTDS, Paul Brager, 12/12/2001

Archive powered by MHonArc 2.6.24.

Top of Page