GNU bug report logs -
#2280
/sw and /opt/local on OSX
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Fri, 18 May 2012 03:16:19 -0400
with message-id <o2wr4aj6ws.fsf <at> fencepost.gnu.org>
and subject line Re: bug#2280: 23.0.90; incorrect configuration
has caused the debbugs.gnu.org bug report #2280,
regarding 24.0.50; revision 101009
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
2280: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2280
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Hello!
The configure script contains
3266 # Define CPP as follows to make autoconf work correctly.
3267 CPP="${CC-cc} -E -no-cpp-precomp"
3268 # Use fink packages if available.
3269 if test -d /sw/include && test -d /sw/lib; then
3270 GCC_TEST_OPTIONS="-I/sw/include -L/sw/lib"
3271 CPP="${CPP} ${GCC_TEST_OPTIONS}"
3272 NON_GCC_TEST_OPTIONS=${GCC_TEST_OPTIONS}
3273 fi
which introduces problems:
checking how to run the C preprocessor... gcc-4.2 -E -no-cpp-precomp -
I/sw/include -L/sw/lib
but pkg-config finds:
checking for pkg-config... /opt/local/bin/pkg-config
checking for librsvg-2.0 >= 2.11.0... yes
checking RSVG_CFLAGS... -D_REENTRANT -I/usr/X11/include/cairo -I/usr/
X11/include/pixman-1 -I/usr/X11/include/freetype2 -I/usr/X11/include -
I/usr/X11/include/libpng14 -I/opt/local/include/librsvg-2 -I/opt/local/
include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/
include -I/opt/local/include/gtk-2.0
checking RSVG_LIBS... -L/usr/X11/lib -L/opt/local/lib -lrsvg-2 -
lgdk_pixbuf-2.0 -lm -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -
lglib-2.0 -lintl -lpixman-1 -lfontconfig -lexpat -lfreetype -liconv -
lpng14 -lz -lXrender -lX11 -lxcb -lXau -lXdmcp
Which of the different versions of libfreetype and its C header files
will be found at compile time and which shared libraries later at run
time?
Why can't these lines in configure be simply removed? Those using Fink
or MacPorts or another package management system for Mac OS X can set
CPPFLAGS and LDFLAGS accordingly. Otherwise configure could use, on
Mac OS X or Darwin, --with-fink or --with-macports or --with-rudix or
--with-homebrew or --with-ios or ... Anyway, Fink seems to be the most
flexible system.
Another remark: Since Apple provides only an old X11 distribution and
X server, from the MacPorts side come an installer package with a more
up-to-date X11 distribution and on top of this often updated X
servers. Of course this software uses libraries and header files from
the MacPorts distribution. On Leopard (Mac OS X 10.5) and Snow Leopard
(Mac OS X 10.6) MacPorts are more important than Fink and others.
--
Greetings
<]
Pete o __o |__ o recumbo
___o /I -\<, |o \ -\),-% ergo sum!
___/\ /\___./ \___...O/ O____.....`-O-'-()--o_________________
[Message part 3 (message/rfc822, inline)]
Version: 24.2
Stefan Monnier wrote:
> I think the main issue is that to make it work right, someone needs to
> improve the configure code for it. Until then, you're probably right that
> we should comment it out.
I have commented out this code, opened a new bug about finding a
way to bring in back in some improved form, and am closing this report.
This bug report was last modified 13 years and 9 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.