GNU bug report logs -
#5252
/sw and /opt/local on OSX
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5252 in the body.
You can then email your comments to 5252 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4360
; Package
emacs
.
(Sun, 06 Sep 2009 17:00:03 GMT)
Full text and
rfc822 format available.
Message #3 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello!
Two package management systems, Fink with its /sw root and MacPorts
with its /opt/local root, provide useful software packages for Mac OS
X. GNU Emacs' configure script hard-codes /sw (line #2729ff):
## Apple Darwin / Mac OS X
*-apple-darwin* )
case "${canonical}" in
i[3456]86-* ) machine=intel386 ;;
powerpc-* ) machine=macppc ;;
x86_64-* ) machine=amdx86-64 ;;
* ) unported=yes ;;
esac
opsys=darwin
# Define CPP as follows to make autoconf work correctly.
CPP="${CC-cc} -E -no-cpp-precomp"
# Use fink packages if available.
if test -d /sw/include && test -d /sw/lib; then
GCC_TEST_OPTIONS="-I/sw/include -L/sw/lib"
CPP="${CPP} ${GCC_TEST_OPTIONS}"
NON_GCC_TEST_OPTIONS=${GCC_TEST_OPTIONS}
fi
;;
This prevents the use of C header files in /opt/local/include and of
libraries in /opt/local/lib. Even when I use "--x-libraries=/opt/local/
libs --x-includes=/opt/local/include/X11" it ends in invocations like
gcc -I/sw/include -L/sw/lib -c ...
and I continuously run into the bugs #3895 and #5250. Without patching
the configure script I cannot even compile temacs.
When I now comment the above Fink related block in configure and
perform configuration with
./configure --without-sound --without-pop --without-dbus --x-
libraries=/opt/local/libs --x-includes=/opt/local/include/X11 --enable-
locallisppath=/Library/Application\ Support/Emacs/calendar23:/Library/
Application\ Support/Emacs CPPFLAGS="-no-cpp-precomp -I/sw/include"
CFLAGS="..." LDFLAGS="-dead_strip -multiply_defined suppress -L/sw/lib"
(paths to Fink are included because GIF, JPEG, TIFF, and RSVG
libraries are in Fink – and also in some Mac OS X frameworks) still
resources from MacPorts are not used because their paths are appended
and therefore files are searched in /sw before /opt/local. The only
cure is to patch the above with /sw -> /opt/local. So might be useful
to add configure switches --with-Fink and --with-MacPorts on Mac OS X...
BTW, configure checks many times for pkg-config:
configure:11340: checking for pkg-config
configure:11358: found /opt/local/bin/pkg-config
configure:11371: result: /opt/local/bin/pkg-config
configure:11457: checking for pkg-config
configure:11488: result: /opt/local/bin/pkg-config
configure:12597: checking for pkg-config
configure:12628: result: /opt/local/bin/pkg-config
configure:13475: checking for pkg-config
configure:13506: result: /opt/local/bin/pkg-config
configure:13577: checking for pkg-config
configure:13608: result: /opt/local/bin/pkg-config
configure:13917: checking for pkg-config
configure:13948: result: /opt/local/bin/pkg-config
configure:14102: checking for pkg-config
configure:14133: result: /opt/local/bin/pkg-config
--
Greetings
Pete
Spam will be a thing of the past in two years' time.
– Bill Gates, Jan 2004
Merged 2280 5252.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Fri, 15 Jan 2010 02:35:02 GMT)
Full text and
rfc822 format available.
Merged 2280 5252 5921.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Thu, 15 Apr 2010 18:30:04 GMT)
Full text and
rfc822 format available.
Changed bug title to '/sw and /opt/local on OSX' from '23.1.90; configure prevents the use of MacPorts packages'
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Thu, 15 Apr 2010 18:30:04 GMT)
Full text and
rfc822 format available.
bug reassigned from package 'emacs' to 'ns'.
Request was from
Lars Magne Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sun, 11 Sep 2011 21:29:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 16 Jun 2012 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 8 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.