[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Pretest
From: |
Chong Yidong |
Subject: |
Re: Pretest |
Date: |
Sun, 29 Oct 2006 18:40:08 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) |
"Alfred M. Szmidt" <address@hidden> writes:
> The reason from the looks is that the library search path is not
> propagated correctly. This is what config.log contains (tiff is
> installed in /usr/local):
>
> But at linking, none of the search paths are passed, and hence the
> missing library error.
I'm guessing you're passing an LDFLAGS envvar to configure. Seems
like LDFLAGS isn't getting passed to X11_LDFLAGS. Try applying the
following patch, run autoconf, run configure, and compile again. Does
compilation work now?
(Can others check that this patch makes sense?)
*** emacs/configure.in.~1.414.~ 2006-10-28 16:35:50.000000000 -0400
--- emacs/configure.in 2006-10-29 18:23:16.000000000 -0500
***************
*** 1315,1320 ****
--- 1315,1322 ----
dnl Treat GCC specially since it just gives a non-fatal `unrecognized option'
dnl if not built to support GNU ld.
+ SPECIFIED_LDFLAGS=$LDFLAGS
+ AC_SUBST(SPECIFIED_LDFLAGS)
late_LDFLAGS=$LDFLAGS
if test "$GCC" = yes; then
LDFLAGS="$LDFLAGS -Wl,-znocombreloc"
*** emacs/src/Makefile.in.~1.331.~ 2006-09-16 09:28:06.000000000 -0400
--- emacs/src/Makefile.in 2006-10-29 18:24:35.000000000 -0500
***************
*** 444,450 ****
#ifdef HAVE_X11
/* LD_SWITCH_X_DEFAULT comes after everything else that specifies
options for where to find X libraries, but before those libraries. */
! X11_LDFLAGS = LD_SWITCH_X_SITE LD_SWITCH_X_DEFAULT
LIBX= $(LIBXMENU) $(X11_LDFLAGS) $(LIBXT) LIBTIFF LIBJPEG LIBPNG LIBGIF
LIBXPM LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM
#else /* not HAVE_X11 */
LIBX= $(LIBXMENU) LD_SWITCH_X_SITE -lX10 LIBX10_MACHINE LIBX10_SYSTEM
--- 444,450 ----
#ifdef HAVE_X11
/* LD_SWITCH_X_DEFAULT comes after everything else that specifies
options for where to find X libraries, but before those libraries. */
! X11_LDFLAGS = @SPECIFIED_LDFLAGS@ LD_SWITCH_X_SITE LD_SWITCH_X_DEFAULT
LIBX= $(LIBXMENU) $(X11_LDFLAGS) $(LIBXT) LIBTIFF LIBJPEG LIBPNG LIBGIF
LIBXPM LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM
#else /* not HAVE_X11 */
LIBX= $(LIBXMENU) LD_SWITCH_X_SITE -lX10 LIBX10_MACHINE LIBX10_SYSTEM
- Re: Pretest, (continued)
- Re: Pretest, Eli Zaretskii, 2006/10/30
- Re: Pretest, Richard Stallman, 2006/10/30
- Re: Pretest, Eli Zaretskii, 2006/10/30
- Re: Pretest, Richard Stallman, 2006/10/31
- Re: Pretest, Eli Zaretskii, 2006/10/31
Message not available
- Re: Pretest, Alfred M. Szmidt, 2006/10/28
- Re: Pretest, Chong Yidong, 2006/10/28
- Re: Pretest, Alfred M. Szmidt, 2006/10/28
- Re: Pretest, Chong Yidong, 2006/10/28
- Re: Pretest, Alfred M. Szmidt, 2006/10/28
- Re: Pretest,
Chong Yidong <=
- Re: Pretest, Alfred M. Szmidt, 2006/10/29
- Re: Pretest, Chong Yidong, 2006/10/30
- Re: Pretest, Alfred M. Szmidt, 2006/10/30
- Re: Pretest, Chong Yidong, 2006/10/30
- Re: Pretest, Alfred M. Szmidt, 2006/10/30
- Re: Pretest, Chong Yidong, 2006/10/30
- Re: Pretest, Alfred M. Szmidt, 2006/10/30
Re: Pretest, Richard Stallman, 2006/10/31
Re: Pretest, Richard Stallman, 2006/10/28