freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Dan Zemke <jdzemke AT yahoo.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Installation issues on Solaris 2.9
- Date: Tue, 7 Feb 2006 09:11:42 -0800 (PST)
Naman - Below is the configure that I am using. Can
provide the configure you successfully used? As I
understand it, I need to reference the unixodbc/lib so
my hetergeneous services can ultimately use
the unixodbc libodbc.so
./configure --with-tdsver=8.0
--prefix=/export/home/oracle/bin/admin/freetdshs
--with-unixodbc=/export/home/oracle/bin/admin/unixodbchs/lib
--- Naman Sheth <nsheth AT windwardcg.com> wrote:
> Ok, the problem was resolved for me. Try the below
>
> 1) Add /usr/ccs/bin to your PATH before running the
> "make" command,
> since that's where Sun decided to hide the compiler
> tools.
> 2) Install the FreeTDS again. i.e. 'make clean',
> make, make install.
>
>
> If that does not work:
>
> 1) Add /usr/ccs/bin to your PATH before running the
> "make" command,
> since that's where Sun decided to hide the compiler
> tools.
> 2) Install GNU make from ftp.gnu.org
> <ftp://ftp.gnu.org/gnu/make/> .
> 3) Install the FreeTDS again. i.e. 'make clean',
> make, make install.
>
>
> This worked perfectly fine for me. If that does not
> work for you we can
> investigate lil more.
>
> Now the remaining piece for me is testing the
> connections.
>
> -N
>
>
>
>
----------------------------------------------------------------------------
> Naman - I am getting the same error, I would be
> interested in your solution.
>
> I newbie question (which will be clearly evident by
> my
> question). Why do we need the unixodbc lib with
> freetds? I working with Solaris 8 and am trying to
> setup heterogeneous services between Oracle
> (solaris)
> 9iR2 to a SQL Server 2000 database. Any insight
> would
> be appreciated.
>
> Dan
>
> --- Naman Sheth <nsheth at windwardcg.com
> <http://lists.ibiblio.org/mailman/listinfo/freetds>
> > wrote:
>
> > All,
> > I am very new to FreeTDS and was trying to
> install
> > it on Solaris 9
> > box. I am having some road block and I don't know
> > what the issue is. Below
> > are the errors I am receiving when I am trying to
> > install Free-TDS-0.63.
> > Using GNU for installation and following the exact
> > steps as documented in
> > the user guide.
> >
> > Below is the output when I run 'make' after
> running
> > 'configure'.
> >
> > Making all in include
> > /usr/local/bin/make all-am
> > echo '#define FREETDS_SYSCONFDIR "/usr/local/etc"'
> > >freetds_sysconfdir.h
> > Making all in src
> > Making all in replacements
> > if /bin/bash ../../libtool --mode=compile gcc
> > -DHAVE_CONFIG_H -I. -I.
> > -I../../include -I../../include
> > -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT
> > -D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-prototypes
> > -Wmissing-prototypes
> > -Wno-long-long -g -O2 -MT iconv.lo -MD -MP -MF
> > ".deps/iconv.Tpo" \
> > -c -o iconv.lo `test -f 'iconv.c' || echo
> > './'`iconv.c; \
> > then mv ".deps/iconv.Tpo" ".deps/iconv.Plo"; \
> > else rm -f ".deps/iconv.Tpo"; exit 1; \
> > fi
> > mkdir .libs
> > gcc -DHAVE_CONFIG_H -I. -I. -I../../include
> > -I../../include
> > -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT
> > -D_THREAD_SAFE -DDEBUG=1 -Wall
> > -Wstrict-prototypes -Wmissing-prototypes
> > -Wno-long-long -g -O2 -MT iconv.lo
> > -MD -MP -MF .deps/iconv.Tpo -c iconv.c -fPIC
> -DPIC
> > -o .libs/iconv.o
> > gcc -DHAVE_CONFIG_H -I. -I. -I../../include
> > -I../../include
> > -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT
> > -D_THREAD_SAFE -DDEBUG=1 -Wall
> > -Wstrict-prototypes -Wmissing-prototypes
> > -Wno-long-long -g -O2 -MT iconv.lo
> > -MD -MP -MF .deps/iconv.Tpo -c iconv.c -o iconv.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 -D_REENTRANT
> > -D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-prototypes
> > -Wmissing-prototypes
> > -Wno-long-long -g -O2 -MT asprintf.lo -MD -MP -MF
> > ".deps/asprintf.Tpo" \
> > -c -o asprintf.lo `test -f 'asprintf.c' || echo
> > './'`asprintf.c; \
> > then mv ".deps/asprintf.Tpo" ".deps/asprintf.Plo";
> \
> > else rm -f ".deps/asprintf.Tpo"; exit 1; \
> > fi
> > gcc -DHAVE_CONFIG_H -I. -I. -I../../include
> > -I../../include
> > -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT
> > -D_THREAD_SAFE -DDEBUG=1 -Wall
> > -Wstrict-prototypes -Wmissing-prototypes
> > -Wno-long-long -g -O2 -MT
> > asprintf.lo -MD -MP -MF .deps/asprintf.Tpo -c
> > asprintf.c -fPIC -DPIC -o
> > .libs/asprintf.o
> > gcc -DHAVE_CONFIG_H -I. -I. -I../../include
> > -I../../include
> > -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT
> > -D_THREAD_SAFE -DDEBUG=1 -Wall
> > -Wstrict-prototypes -Wmissing-prototypes
> > -Wno-long-long -g -O2 -MT
> > asprintf.lo -MD -MP -MF .deps/asprintf.Tpo -c
> > asprintf.c -o asprintf.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 -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 -o vasprintf.lo `test -f 'vasprintf.c' ||
> echo
> > './'`vasprintf.c; \
> > then mv ".deps/vasprintf.Tpo"
> ".deps/vasprintf.Plo";
> > \
> > else rm -f ".deps/vasprintf.Tpo"; exit 1; \
> > fi
> > gcc -DHAVE_CONFIG_H -I. -I. -I../../include
> > -I../../include
> > -D_FREETDS_LIBRARY_SOURCE -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 -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
> > /bin/bash ../../libtool --mode=link gcc -g -O2
> > -o libreplacements.la
> > iconv.lo asprintf.lo vasprintf.lo -lc
> > false cru .libs/libreplacements.a .libs/iconv.o
> > .libs/asprintf.o
> > .libs/vasprintf.o
> > *** Error code 1
> > make: Fatal error: Command failed for target
> > `libreplacements.la'
> > Current working directory
> > /tmp/freetds-0.63/src/replacements
> > *** Error code 1
> > make: Fatal error: Command failed for target
> > `all-recursive'
> > Current working directory /tmp/freetds-0.63/src
> > *** Error code 1
> > make: Fatal error: Command failed for target
> > `all-recursive'
> >
> >
> > Your help will be greatly appreciated.
> >
> > -N
> >
> > _______________________________________________
> > FreeTDS mailing list
> > FreeTDS at lists.ibiblio.org
> <http://lists.ibiblio.org/mailman/listinfo/freetds>
>
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-
[freetds] Installation issues on Solaris 2.9,
Naman Sheth, 02/06/2006
- Re: [freetds] Installation issues on Solaris 2.9, Dan Zemke, 02/06/2006
- Re: [freetds] Installation issues on Solaris 2.9, James K. Lowden, 02/06/2006
- Re: [freetds] Installation issues on Solaris 2.9, Jeremy Kister, 02/07/2006
- <Possible follow-up(s)>
-
Re: [freetds] Installation issues on Solaris 2.9,
Naman Sheth, 02/07/2006
- Re: [freetds] Installation issues on Solaris 2.9, Dan Zemke, 02/07/2006
- Re: [freetds] Installation issues on Solaris 2.9, Зверев Виталий Борисович, 02/08/2006
- Re: [freetds] Installation issues on Solaris 2.9, Naman Sheth, 02/14/2006
- [freetds] Installation issues on Solaris 2.9, Yonatan Abrego, 02/28/2006
- Re: [freetds] Installation issues on Solaris 2.9, Зверев Виталий Борисович, 02/28/2006
Archive powered by MHonArc 2.6.24.