freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Lowden, James K" <LowdenJK AT bernstein.com>
- To: 'FreeTDS Development Group' <freetds AT lists.ibiblio.org>
- Subject: RE: [freetds] FreeTDS 0.61 Compile Problem
- Date: Wed, 16 Jul 2003 10:23:16 -0400
> From: Chase Hargraves [mailto:io AT absolutek.ca]
> Sent: July 15, 2003 9:42 PM
>
> Just to let everybody know I was able to get FreeTDS compiled
> by changing
> the order of library links in the Makefile in src/apps to:
>
> READLINE_LIBS = -lreadline -lncurses
>
> (original order being ncurses, readline).
I'm committing the attached one-line patch to configure.in today. I think
it implements the change Steve indicated, and should generate a configure
script that creates a Makefile that links readline ahead of other libraries,
instead of behind them.
I can't test this atm because the machine I'm using doesn't have readline
installed. I can say it doesn't interfere with non-readline builds! Absent
negative feedback, it will be incorporated in tomorrow's snapshot.
--jkl
===================================================================
RCS file: /cvsroot/freetds/freetds/configure.in,v
retrieving revision 1.98
diff -u -r1.98 configure.in
--- configure.in 4 Jun 2003 21:39:21 -0000 1.98
+++ configure.in 16 Jul 2003 14:14:42 -0000
@@ -72,7 +72,7 @@
dnl linked in. Others (inc debian) have termcap built into ncurses.
LIBS=""
AC_SEARCH_LIBS(tgetent, [readline ncurses curses termcap])
-AC_CHECK_LIB([readline], [readline], [LIBS="$LIBS -lreadline"
+AC_CHECK_LIB([readline], [readline], [LIBS="-lreadline $LIBS"
AC_DEFINE(HAVE_READLINE, 1, [Define to 1 if you have the GNU Readline
library.])] )
READLINE_LIBS="$LIBS"
AC_SUBST(READLINE_LIBS)
-----------------------------------------
The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the original
message. Please note that we do not accept account orders and/or instructions
by e-mail, and therefore will not be responsible for carrying out such orders
and/or instructions.
-
[freetds] FreeTDS 0.61 Compile Problem,
io, 07/12/2003
-
Re: [freetds] FreeTDS 0.61 Compile Problem,
Steve Murphree, 07/13/2003
-
Re: [freetds] FreeTDS 0.61 Compile Problem,
James K. Lowden, 07/13/2003
-
Re: [freetds] FreeTDS 0.61 Compile Problem,
Steve Murphree, 07/13/2003
-
Re: [freetds] FreeTDS 0.61 Compile Problem,
James K. Lowden, 07/13/2003
- Re: [freetds] FreeTDS 0.61 Compile Problem, Steve Murphree, 07/13/2003
-
Re: [freetds] FreeTDS 0.61 Compile Problem,
James K. Lowden, 07/13/2003
-
Re: [freetds] FreeTDS 0.61 Compile Problem,
Steve Murphree, 07/13/2003
-
Re: [freetds] FreeTDS 0.61 Compile Problem,
James K. Lowden, 07/13/2003
- <Possible follow-up(s)>
- Re: [freetds] FreeTDS 0.61 Compile Problem, Steve Langasek, 07/15/2003
- Re: [freetds] FreeTDS 0.61 Compile Problem, Steve Langasek, 07/15/2003
- Re: [freetds] FreeTDS 0.61 Compile Problem, Chase Hargraves, 07/15/2003
- RE: [freetds] FreeTDS 0.61 Compile Problem, Lowden, James K, 07/16/2003
-
Re: [freetds] FreeTDS 0.61 Compile Problem,
Steve Murphree, 07/13/2003
Archive powered by MHonArc 2.6.24.