Skip to Content.
Sympa Menu

freetds - [freetds] freetds on Solaris

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "John Ulmer" <John.Ulmer AT noaa.gov>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] freetds on Solaris
  • Date: Fri, 06 Dec 2002 14:55:13 -0500

Hello all,

' Trying to build freetds from a nightly snapshot (12/6/2002) on
SunOS machine_name 5.8 Generic_108528-03 sun4u sparc SUNW,Ultra-60

I'm intending to setup the Perl DBD::Sybase module to talk to a M$ SQL Server.

I've done this as root on a linux box, but don't have root
priviledges on the SUN box and would like to do a 'local' user
install. I hoped setting --prefix and --sysconfdir would
achieve the desired effect. But, the 'make' fails as shown below.

I have full priviledges on '/home/user1/'.

Standard apologies if this problem has been whipped repeatedly,
but, I've spent several hours surfing through all 29 megs of the
mail archives and I have not found it..... so here goes.

Any ideas/suggestions would be greatly appreciated.


prompt# ./configure --with-tdsver=7.0
--prefix=/home/user1/projects/modules/freetds
--sysconfdir=/home/user1/projects/modules/etc

checking for a BSD-compatible install... /usr/local/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets ${MAKE}... yes
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc
checking how to run the C preprocessor... gcc -E
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD-compatible install... /usr/local/bin/install -c
checking for ld used by GCC... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/local/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for ranlib... ranlib
checking for strip... :
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
finding the maximum length of command line arguments... 393217
checking if gcc supports -c -o file.o... 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 command to parse /usr/local/bin/nm -B output... ok
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
creating libtool
updating cache /dev/null
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, const char * *inbuf, size_t
*inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for doxygen... no
checking for socket in -lsocket... yes
checking for gethostbyname in -lnsl... yes
checking for library containing tgetent... -lcurses
checking for readline in -lreadline... yes
checking for egrep... egrep
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for sys/types.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking paths.h usability... no
checking paths.h presence... no
checking for paths.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking whether INADDR_NONE is defined... no
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 4
checking for int... yes
checking size of int... 4
checking for float... yes
checking size of float... 4
checking for double... yes
checking size of double... 8
checking for long long... yes
checking size of long long... 8
checking for __int64... no
checking size of __int64... 0
checking is FIONBIO defined... need -DBSD_COMP
checking whether byte ordering is bigendian... yes
checking for vsnprintf... yes
checking for gettimeofday... yes
checking for gethostname... yes
checking for sethostent_r... no
checking for gethostent_r... no
checking for getuid... yes
checking for getpwuid... yes
checking for getpwuid_r... yes
checking for asprintf... no
checking for vasprintf... no
checking for atoll... yes
checking for strtok_r... yes
checking whether malloc_options variable is present... no
checking compile-time options
checking threadsafety... disabled
checking for which type of gethostbyname_r... five
checking for which type of getservbyname_r... five
checking for which type of gethostbyaddr_r... seven
done
configure: creating ./config.status
config.status: creating include/tdsver.h
config.status: creating include/tds_sysdep_public.h
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating doc/Makefile
config.status: creating samples/Makefile
config.status: creating src/Makefile
config.status: creating src/tds/Makefile
config.status: creating src/tds/unittests/Makefile
config.status: creating src/dblib/Makefile
config.status: creating src/dblib/unittests/Makefile
config.status: creating src/ctlib/Makefile
config.status: creating src/ctlib/unittests/Makefile
config.status: creating src/replacements/Makefile
config.status: creating src/server/Makefile
config.status: creating src/pool/Makefile
config.status: creating src/odbc/Makefile
config.status: creating src/odbc/unittests/Makefile
config.status: creating src/apps/Makefile
config.status: creating freetds.spec
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: executing depfiles commands
---------------------------------------------------------------

prompt# make

Making all in include
make[1]: Entering directory
`/home/user1/projects/modules/freetds-0.60/include'
make all-am
make[2]: Entering directory
`/home/user1/projects/modules/freetds-0.60/include'
make[2]: Leaving directory `/home/user1/projects/modules/freetds-0.60/include'
make[1]: Leaving directory `/home/user1/projects/modules/freetds-0.60/include'
Making all in src
make[1]: Entering directory `/home/user1/projects/modules/freetds-0.60/src'
Making all in replacements
make[2]: Entering directory
`/home/user1/projects/modules/freetds-0.60/src/replacements'
/bin/bash ../../libtool --mode=link gcc -g -O2 -o libreplacements.la
asprintf.lo vasprintf.lo
ar cru .libs/libreplacements.a .libs/asprintf.o .libs/vasprintf.o
../../libtool: ar: command not found
make[2]: *** [libreplacements.la] Error 127
make[2]: Leaving directory
`/home/user1/projects/modules/freetds-0.60/src/replacements'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user1/projects/modules/freetds-0.60/src'
make: *** [all-recursive] Error 1

prompt#
---------------------------------------------------------------

Looks like libtool is having some problems, but what are they and how do I
resolve them?
Any ideas/suggestions would be greatly appreciated.

--
John R. Ulmer
TPMC Contractor
NOAA Coastal Services Center
john.ulmer AT noaa.gov
(843)740-1228
2234 South Hobson Avenue, Charleston, SC 29405






Archive powered by MHonArc 2.6.24.

Top of Page