Skip to Content.
Sympa Menu

freetds - Re: How I got FreeTDS to work on Solaris

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Gregg Jensen <greggj AT savvis.net>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: How I got FreeTDS to work on Solaris
  • Date: Thu, 17 Dec 1998 14:16:28 -0600


OK,
I found out why the makefiles weren't correct, the version I pulled down from
CVS was
a newer version then what is labeled R0_40. So, I started over, and checked
out the
file again, but this time I added :
-r R0_40

This pulled down the correct Makefile.in files.

As for the libtool change, I found out why you have to change the one line:

. $thisdir/./ltmain.sh

to spell out explicitly what $thisdir is. The problem is in where thisdir
gets set
(a few lines above it):

thisdir=`printf %s\n "$0" | sed -e 's%/[^/]*$%%'`

The printf does put out the correct thing. In this particular case using
echo "$0"
works as it should (which is the way this line gets generated on Linux). I
found
the reference to this line in ltconfig, and just before this line it goes
through the
trouble of determining the machine type, and says that if it is Solaris, that
the
plain echo won't work and that a form of printf has to be used. Thus, the
line above
gets created for those in the Solaris world. Someone with more knowledge of
the
configure system might take a look at this.

By changing these few things I was able to get the libraries to build without
error,
I have yet to test them.

Gregg





Archive powered by MHonArc 2.6.24.

Top of Page