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 10:34:04 -0600


Martin Spott wrote:

> > checking whether byte ordering is bigendian... yes
> > ./configure: test: argument expected
> >
> > Did you fix this? If so, it would be great to get the patches into CVS.
> > I bet that others are having problems with this as well. [...]
>
> This _is_ exactly the point that stops me from exploring FreeTDS,
>

OK, I have found problem with the configure script that dies when used on
Solaris.
But, there must be something else, because the Makefiles that are created do
not
work. It looks like the macros are not being expanded. I'll continue to
look...

Gregg


first configure patch:
*** freetds/configure.patched Thu Dec 17 10:24:42 1998
--- freetds/configure Thu Dec 17 10:25:55 1998
***************
*** 1715,1721 ****

echo "$ac_t""$ac_cv_c_bigendian" 1>&6
if test $ac_cv_c_bigendian = yes; then
- CFLAGS="$OLDCFLAGS -DHW_BIG_ENDIAN"
cat >> confdefs.h <<\EOF
#define WORDS_BIGENDIAN 1
EOF
--- 1715,1720 ----
***************
*** 1722,1728 ****

fi

! if test $CFLAGS; then CFLAGS="$OLDCFLAGS -DHW_LITTLE_ENDIAN";fi

# Check whether --with-tdsver or --without-tdsver was given.
if test "${with_tdsver+set}" = set; then
--- 1721,1729 ----

fi

! if test -n $CFLAGS; then OLDCFLAGS="$OLDCFLAGS -DHW_LITTLE_ENDIAN";
! else OLDCFLAGS="$OLDCFLAGS -DHW_BIG_ENDIAN"; fi
! CFLAGS=$OLDCFLAGS

# Check whether --with-tdsver or --without-tdsver was given.
if test "${with_tdsver+set}" = set; then






Archive powered by MHonArc 2.6.24.

Top of Page