* bug#17043: 24.3.50; xft isn't found on OS X 10.9.2 (Macports)
@ 2014-03-20 0:12 Joe Corneli
2014-03-20 3:16 ` Glenn Morris
0 siblings, 1 reply; 12+ messages in thread
From: Joe Corneli @ 2014-03-20 0:12 UTC (permalink / raw
To: 17043
I've recently tried to configure Emacs from bzr to build from source on
OS X 10.9.2 under X11. But ./configure isn't finding my xft library:
[...]
checking for xft >= 0.13.0... yes CFLAGS='-I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include '
LIBS='-L/opt/local/lib -lXft '
checking for XRenderQueryExtension in -lXrender... yes
checking for X11/Xft/Xft.h... no
[...]
Does Emacs use -lxft? no
Here's what I see when I run
$ port contents xft2
Port Xft2 contains:
/opt/local/include/X11/Xft/Xft.h
/opt/local/include/X11/Xft/XftCompat.h
/opt/local/lib/libXft.2.dylib
/opt/local/lib/libXft.a
/opt/local/lib/libXft.dylib
/opt/local/lib/pkgconfig/xft.pc
/opt/local/share/man/man3/Xft.3.gz
Given the above, I'm not sure why the port isn't found/used. Is it an
incompatible version?
$ port -v installed xft2
Xft2 @2.3.1_1 platform='darwin 13' archs='x86_64'
Xft2 @2.3.1_1+universal (active) platform='darwin 13' archs='i386 x86_64'
In GNU Emacs 24.3.50.2 (x86_64-apple-darwin13.0.2, X toolkit, Xaw3d scroll bars)
of 2014-01-30 on Joes-MacBook-Pro.local
Repository revision: 116199 eggert@cs.ucla.edu-20140129183911-pk5a4z3jow2ed5tq
Windowing system distributor `The X.Org Foundation', version 11.0.11404000
Configured using:
`configure --with-jpeg=no --with-gif=no --with-tiff=no'
Important settings:
locale-coding-system: nil
Major mode: Shell
Minor modes in effect:
erc-list-mode: t
erc-menu-mode: t
erc-autojoin-mode: t
erc-ring-mode: t
erc-networks-mode: t
erc-pcomplete-mode: t
erc-track-mode: t
erc-track-minor-mode: t
erc-match-mode: t
erc-button-mode: t
erc-fill-mode: t
erc-stamp-mode: t
erc-netsplit-mode: t
erc-irccontrols-mode: t
erc-noncommands-mode: t
erc-move-to-prompt-mode: t
erc-readonly-mode: t
show-paren-mode: t
shell-dirtrack-mode: t
tooltip-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: 1
completion-in-region-mode: t
Recent input:
C-a M-f <backspace> 6 C-e <tab> <M-backspace> <backspace>
<tab> <return> M-x <up> <return> C-x C-w <up> <up>
C-a M-f <backspace> 6 C-e <return> C-x 1 C-v C-v C-s
< t a C-a C-SPC C-e C-v C-v C-v C-n C-n C-n C-n C-n
C-p C-e M-w C-x C-f 2 0 1 6 <backspace> 5 . <tab> <return>
C-s < t a b l e C-a C-SPC C-s / t a b C-e M-w C-x b
2 0 1 5 <backspace> 5 <backspace> 4 <tab> . <tab> <return>
C-s < t a b C-a C-SPC C-s / t a b l C-e M-w C-z C-c
C-c C-x k <return> y e s <return> C-z <C-up> <return>
C-x b * o u <tab> <backspace> <tab> <return> <down>
c d SPC p a r t <tab> <return> g i t SPC p u l l <return>
j u b <backspace> <backspace> <backspace> k b d <return>
<switch-frame> <switch-frame> C-g C-x C-f <M-backspace>
t h e s <tab> <M-backspace> <M-backspace> k y <tab>
<backspace> i <tab> <return> C-s p SPC p <down> C-s
r SPC r <down> <up> <right> C-k M-v <up> <up> <up>
<up> <up> <up> <up> <down> C-e M-b C-k C-x C-s C-z
C-x b * o u <tab> <backspace> t <tab> <return> <return>
k b d <return> p r C-x b <up> <up> p C-g C-x b k <tab>
i <tab> n <tab> <return> C-/ C-a C-SPC C-e M-w <tab>
<M-tab> C-/ C-/ C-/ C-/ C-/ C-e C-SPC C-a M-w <tab>
<M-tab> <M-tab> <M-tab> M-\ C-z <tab> <M-tab> <M-tab>
<M-tab> M-x b u g - g n <tab> <backspace> <backspace>
<tab> <tab> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
e m <backspace> <backspace> r e p o <tab> t <tab> <backspace>
r t <tab> <return>
Recent messages:
[mu4e] Indexing... processed 150000, updated 0
[mu4e] Indexing completed; processed 150191, updated 0, cleaned-up 0
[mu4e] Retrieving mail...done
[mu4e] Indexing... processed 150000, updated 0
[mu4e] Indexing completed; processed 150191, updated 0, cleaned-up 0
[mu4e] Retrieving mail...done
[mu4e] Indexing... processed 150000, updated 266
[mu4e] Indexing completed; processed 150458, updated 267, cleaned-up 0
[mu4e] Contacts received: 92
Making completion list... [2 times]
Load-path shadows:
~/thesis.git/config/elisp/tex-mode hides /usr/local/share/emacs/24.3.50/lisp/textmodes/tex-mode
Features:
(shadow emacsbug url-file url-dired sgml-mode ox-latex ox-icalendar
ox-html ox-ascii ox-publish ox org-table org-element org-rmail org-mhe
org-irc org-info org-gnus org-docview org-bibtex bibtex org-bbdb org-w3m
align highline disp-table whitespace erc-list erc-menu erc-join erc-ring
erc-networks erc-pcomplete erc-track erc-match erc-button erc-fill
erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat rfc2104 qp
mail-extr sort css-mode view rect mu4e mu4e-speedbar mu4e-main mu4e-view
epa epg epg-config mu4e-headers mu4e-compose mu4e-draft mu4e-actions ido
rfc2368 smtpmail sendmail mu4e-mark mu4e-message html2text mu4e-proc
mu4e-utils doc-view image-mode mu4e-lists mu4e-about mu4e-vars message
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils
mailheader hl-line mu4e-meta dired-aux eieio-opt speedbar sb-image
ezimage dframe descr-text pp timezone parse-time apropos vc-git latexenc
conf-mode face-remap jka-compr debug shr-color color url-queue
network-stream starttls url-http tls mail-parse rfc2231 rfc2047 rfc2045
ietf-drums url-gw url-cache url-auth eww mm-url gnus gnus-ems nnheader
mail-utils url url-proxy url-privacy url-expand url-methods url-history
url-cookie url-domsuf url-util url-parse url-vars mailcap shr browse-url
crm thingatpt cus-edit help-mode sh-script smie executable dabbrev
pcmpl-unix etags misearch multi-isearch tabify imenu man python paren
cus-start cus-load w3m-load w3m-proc w3m-util wid-edit mule-util dired-x
dired info-look info tex-mode pcase derived compile skeleton compare-w
org org-macro org-footnote org-pcomplete org-list org-faces org-entities
noutline outline easy-mmode org-version ob-emacs-lisp ob ob-tangle
org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval
org-compat org-macs org-loaddefs find-func cal-menu easymenu calendar
cal-loaddefs edmacro kmacro tramp tramp-compat auth-source eieio
byte-opt bytecomp byte-compile cconv eieio-core gnus-util mm-util
mail-prsvr password-cache tramp-loaddefs cl-macs gv trampver shell
pcomplete format-spec advice help-fns cl cl-loaddefs cl-lib comint
ansi-color ring shell-completion time-date tooltip electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd
fontset image regexp-opt fringe tabulated-list newcomment lisp-mode
prog-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
dynamic-setting x-toolkit x multi-tty emacs)
^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#17043: 24.3.50; xft isn't found on OS X 10.9.2 (Macports)
2014-03-20 0:12 bug#17043: 24.3.50; xft isn't found on OS X 10.9.2 (Macports) Joe Corneli
@ 2014-03-20 3:16 ` Glenn Morris
2014-03-20 21:58 ` Joe Corneli
2014-03-20 23:37 ` Joe Corneli
0 siblings, 2 replies; 12+ messages in thread
From: Glenn Morris @ 2014-03-20 3:16 UTC (permalink / raw
To: Joe Corneli; +Cc: 17043
Please look in config.log to see what the issue might be.
^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#17043: 24.3.50; xft isn't found on OS X 10.9.2 (Macports)
2014-03-20 3:16 ` Glenn Morris
@ 2014-03-20 21:58 ` Joe Corneli
2014-03-20 23:37 ` Joe Corneli
1 sibling, 0 replies; 12+ messages in thread
From: Joe Corneli @ 2014-03-20 21:58 UTC (permalink / raw
To: Glenn Morris; +Cc: Joe Corneli, 17043
Glenn Morris <rgm@gnu.org> writes:
> Please look in config.log to see what the issue might be.
This looks like the relevant part. I'll also mention this to the
MacPort maintainer for Xft2.
In file included from /usr/X11/include/X11/Xft/Xft.h:39:
/usr/X11/include/ft2build.h:56:10: fatal error: 'freetype/config/ftheader.h' file not found
#include <freetype/config/ftheader.h>
^
1 error generated.
configure:13318: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "emacs"
| #define PACKAGE_TARNAME "emacs"
| #define PACKAGE_VERSION "24.3.50"
| #define PACKAGE_STRING "emacs 24.3.50"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "emacs"
| #define VERSION "24.3.50"
| #define MAIL_USE_POP 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define _DARWIN_USE_64_BIT_INODE 1
| #define SYSTEM_TYPE "darwin"
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_PWD_H 1
| #define HAVE_UTMP_H 1
| #define HAVE_UTIL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_PTHREAD_H 1
| #define HAVE_MALLOC_MALLOC_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_EXECINFO_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_TERM_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_DECL_SYS_SIGLIST 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_NET_IF_H 1
| #define HAVE_IFADDRS_H 1
| #define HAVE_NET_IF_DL_H 1
| #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1
| #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1
| #define HAVE_STRUCT_IFREQ_IFR_ADDR 1
| #define HAVE_STRUCT_IFREQ_IFR_ADDR_SA_LEN 1
| #define HAVE_LONG_FILE_NAMES 1
| #define SYSTEM_MALLOC 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_PTHREAD 1
| #define HAVE_XKB 1
| #define HAVE_XRMSETDATABASE 1
| #define HAVE_XSCREENRESOURCESTRING 1
| #define HAVE_XSCREENNUMBEROFSCREEN 1
| #define HAVE_X11R6 1
| #define HAVE_X_I18N 1
| #define HAVE_X11R6_XIM 1
| #define HAVE_RSVG 1
| #define HAVE_IMAGEMAGICK 1
| #define HAVE_MAGICKEXPORTIMAGEPIXELS 1
| #define HAVE_MAGICKMERGEIMAGELAYERS 1
| #define HAVE_GTK3 1
| #define GDK_DISABLE_DEPRECATION_WARNINGS 1
| #define GLIB_DISABLE_DEPRECATION_WARNINGS 1
| #define USE_GTK 1
| #define HAVE_GTK_HANDLE_BOX_NEW 1
| #define HAVE_GTK_TEAROFF_MENU_ITEM_NEW 1
| #define HAVE_GTK_WIDGET_GET_WINDOW 1
| #define HAVE_GTK_WIDGET_SET_HAS_WINDOW 1
| #define HAVE_GTK_DIALOG_GET_ACTION_AREA 1
| #define HAVE_GTK_WIDGET_GET_SENSITIVE 1
| #define HAVE_GTK_WIDGET_GET_MAPPED 1
| #define HAVE_GTK_ADJUSTMENT_GET_PAGE_SIZE 1
| #define HAVE_GTK_ORIENTABLE_SET_ORIENTATION 1
| #define HAVE_GTK_WINDOW_SET_HAS_RESIZE_GRIP 1
| #define HAVE_DBUS 1
| #define HAVE_DBUS_WATCH_GET_UNIX_FD 1
| #define HAVE_DBUS_TYPE_IS_VALID 1
| #define HAVE_DBUS_VALIDATE_BUS_NAME 1
| #define HAVE_DBUS_VALIDATE_PATH 1
| #define HAVE_DBUS_VALIDATE_INTERFACE 1
| #define HAVE_DBUS_VALIDATE_MEMBER 1
| #define HAVE_GSETTINGS 1
| #define HAVE_GCONF 1
| #define HAVE_GNUTLS3 1
| #define HAVE_GNUTLS 1
| #define HAVE_GFILENOTIFY 1
| #define USE_FILE_NOTIFY 1
| #define USE_TOOLKIT_SCROLL_BARS 1
| #define HAVE_XIM 1
| #define USE_XIM 1
| #define XRegisterIMInstantiateCallback_arg6 XPointer
| /* end confdefs.h. */
| #include <X11/X.h>
|
| #include <X11/Xft/Xft.h>
configure:13318: result: no
--
Sent with my mu4e
^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#17043: 24.3.50; xft isn't found on OS X 10.9.2 (Macports)
2014-03-20 3:16 ` Glenn Morris
2014-03-20 21:58 ` Joe Corneli
@ 2014-03-20 23:37 ` Joe Corneli
2014-03-23 22:31 ` Joe Corneli
1 sibling, 1 reply; 12+ messages in thread
From: Joe Corneli @ 2014-03-20 23:37 UTC (permalink / raw
To: Glenn Morris; +Cc: Joe Corneli, 17043
Glenn Morris <rgm@gnu.org> writes:
> Please look in config.log to see what the issue might be.
I found a workaround, but the maintainer of the Xft2 port said that
it isn't correct.
"That sounds like the problem you'd get with software that is not
compatible with freetype 2.5.1 and later. The diff you proposed is not
the correct fix. Consult the freetype documentation for the proper way
to include freetype headers."
- https://trac.macports.org/ticket/42928#comment:5
My workaround patch against /usr/X11/include/ft2build.h was as below:
*** ft2build.h~ Thu Mar 20 22:13:36 2014
--- ft2build.h Thu Mar 20 22:13:46 2014
***************
*** 53,59 ****
#define __FT2_BUILD_UNIX_H__
/* `<prefix>/include/freetype2' must be in your current inclusion path */
! #include <freetype/config/ftheader.h>
#endif /* __FT2_BUILD_UNIX_H__ */
--- 53,59 ----
#define __FT2_BUILD_UNIX_H__
/* `<prefix>/include/freetype2' must be in your current inclusion path */
! #include <freetype2/config/ftheader.h>
#endif /* __FT2_BUILD_UNIX_H__ */
--
Sent with my mu4e
^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#17043: 24.3.50; xft isn't found on OS X 10.9.2 (Macports)
2014-03-20 23:37 ` Joe Corneli
@ 2014-03-23 22:31 ` Joe Corneli
2014-03-23 23:30 ` Glenn Morris
0 siblings, 1 reply; 12+ messages in thread
From: Joe Corneli @ 2014-03-23 22:31 UTC (permalink / raw
Cc: 17043
Joe Corneli <j.corneli@gold.ac.uk> writes:
> My workaround patch against /usr/X11/include/ft2build.h was as below:
Actually, as pointed out by the maintainer of the Macport in question,
Emacs is looking at the system Xft, not the one installed with macports.
The system version is out of date.
--
Sent with my mu4e
^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#17043: 24.3.50; xft isn't found on OS X 10.9.2 (Macports)
2014-03-23 22:31 ` Joe Corneli
@ 2014-03-23 23:30 ` Glenn Morris
2014-03-25 13:37 ` Joe Corneli
0 siblings, 1 reply; 12+ messages in thread
From: Glenn Morris @ 2014-03-23 23:30 UTC (permalink / raw
To: Joe Corneli; +Cc: 17043
Joe Corneli wrote:
> Joe Corneli <j.corneli@gold.ac.uk> writes:
>
>> My workaround patch against /usr/X11/include/ft2build.h was as below:
>
> Actually, as pointed out by the maintainer of the Macport in question,
> Emacs is looking at the system Xft, not the one installed with macports.
> The system version is out of date.
So it sounds to me like you need to set CPPFLAGS, LDFLAGS before you run
configure, so that emacs finds the versions you want it to find. At the
moment I don't see an Emacs bug here.
^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#17043: 24.3.50; xft isn't found on OS X 10.9.2 (Macports)
2014-03-23 23:30 ` Glenn Morris
@ 2014-03-25 13:37 ` Joe Corneli
2014-03-25 15:57 ` Glenn Morris
2014-03-26 16:01 ` Glenn Morris
0 siblings, 2 replies; 12+ messages in thread
From: Joe Corneli @ 2014-03-25 13:37 UTC (permalink / raw
To: Glenn Morris; +Cc: Joe Corneli, 17043
Glenn Morris <rgm@gnu.org> writes:
> So it sounds to me like you need to set CPPFLAGS, LDFLAGS before you run
> configure, so that emacs finds the versions you want it to find. At the
> moment I don't see an Emacs bug here.
Firstly, yes, this does seem to help, but it didn't solve the problem.
$ export CFLAGS='-I/opt/local/include/ -I/opt/X11/include/ -I/opt/local/lib/'
$ export LDFLAGS='-I/opt/local/include/ -I/opt/X11/include/ -I/opt/local/lib/'
$ export CPPFLAGS='-I/opt/local/include/ -I/opt/X11/include/ -I/opt/local/lib/'
For example, Emacs can now find libjpeg and giflib libraries that it
wasn't able to find, before, and it also tries to include the MacPorts
version of Xft. However, here, I still get an error:
In file included from /opt/local/include/X11/Xft/Xft.h:39:
/opt/X11/include/ft2build.h:56:10: fatal error: 'freetype/config/ftheader.h' file not found
Patching this file as I indicated before solves the problem.
I'll try addressing that point to the upstream developer for freetype.
The *possible* Emacs feature request: Shouldn't it be able to detect
that it's being built against MacPorts, and set the relevant flags
automatically?
--
Sent with my mu4e
^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#17043: 24.3.50; xft isn't found on OS X 10.9.2 (Macports)
2014-03-25 13:37 ` Joe Corneli
@ 2014-03-25 15:57 ` Glenn Morris
2014-03-26 0:38 ` Stefan Monnier
2014-03-26 16:01 ` Glenn Morris
1 sibling, 1 reply; 12+ messages in thread
From: Glenn Morris @ 2014-03-25 15:57 UTC (permalink / raw
To: Joe Corneli; +Cc: 17043
Joe Corneli wrote:
> In file included from /opt/local/include/X11/Xft/Xft.h:39:
> /opt/X11/include/ft2build.h:56:10: fatal error: 'freetype/config/ftheader.h' file not found
It looks to me like the /opt/local version is mistakenly including an
/opt/X11 version; but I'm not familiar with MacPorts.
> The *possible* Emacs feature request: Shouldn't it be able to detect
> that it's being built against MacPorts, and set the relevant flags
> automatically?
I think this is outside the scope of the Emacs configure script.
Perhaps there is a MacPorts tool to set up the environment for building.
^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#17043: 24.3.50; xft isn't found on OS X 10.9.2 (Macports)
2014-03-25 15:57 ` Glenn Morris
@ 2014-03-26 0:38 ` Stefan Monnier
2014-03-26 0:54 ` Glenn Morris
0 siblings, 1 reply; 12+ messages in thread
From: Stefan Monnier @ 2014-03-26 0:38 UTC (permalink / raw
To: Glenn Morris; +Cc: Joe Corneli, 17043
>> The *possible* Emacs feature request: Shouldn't it be able to detect
>> that it's being built against MacPorts, and set the relevant flags
>> automatically?
> I think this is outside the scope of the Emacs configure script.
> Perhaps there is a MacPorts tool to set up the environment for building.
We used to auto-add Fink's /sw directories, so we could consider doing
the same for MacPorts's /opt. But IIUC we don't do that any more, so
before doing it for /opt we should try and remember why we don't do it
for /sw any more.
Stefan
^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#17043: 24.3.50; xft isn't found on OS X 10.9.2 (Macports)
2014-03-26 0:38 ` Stefan Monnier
@ 2014-03-26 0:54 ` Glenn Morris
0 siblings, 0 replies; 12+ messages in thread
From: Glenn Morris @ 2014-03-26 0:54 UTC (permalink / raw
To: Stefan Monnier; +Cc: Joe Corneli, 17043
Stefan Monnier wrote:
> We used to auto-add Fink's /sw directories, so we could consider doing
> the same for MacPorts's /opt. But IIUC we don't do that any more, so
> before doing it for /opt we should try and remember why we don't do it
> for /sw any more.
Because some people have both Fink and MacPorts installed, they are
mutually incompatible, and there's no way for us to tell which one, if
any, they want to use in any particular build (nor is it our job to do
so IMO). http://debbugs.gnu.org/2280
Bu anyway, this is wishlist item http://debbugs.gnu.org/11507 .
^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#17043: 24.3.50; xft isn't found on OS X 10.9.2 (Macports)
2014-03-25 13:37 ` Joe Corneli
2014-03-25 15:57 ` Glenn Morris
@ 2014-03-26 16:01 ` Glenn Morris
2014-03-28 2:32 ` Joe Corneli
1 sibling, 1 reply; 12+ messages in thread
From: Glenn Morris @ 2014-03-26 16:01 UTC (permalink / raw
To: Joe Corneli; +Cc: 17043
Joe Corneli wrote:
> $ export CFLAGS='-I/opt/local/include/ -I/opt/X11/include/ -I/opt/local/lib/'
> $ export LDFLAGS='-I/opt/local/include/ -I/opt/X11/include/ -I/opt/local/lib/'
> $ export CPPFLAGS='-I/opt/local/include/ -I/opt/X11/include/ -I/opt/local/lib/'
Perhaps those are not the right settings.
Perhaps these days you also need to export PKG_CONFIG_PATH pointing to
the right MacPorts location.
I'd consult MacPorts documentation related to building software.
Perhaps there is a script you can source to set up a build environment.
^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#17043: 24.3.50; xft isn't found on OS X 10.9.2 (Macports)
2014-03-26 16:01 ` Glenn Morris
@ 2014-03-28 2:32 ` Joe Corneli
0 siblings, 0 replies; 12+ messages in thread
From: Joe Corneli @ 2014-03-28 2:32 UTC (permalink / raw
To: Glenn Morris; +Cc: 17043
Glenn Morris <rgm@gnu.org> writes:
> Joe Corneli wrote:
>
>> $ export CFLAGS='-I/opt/local/include/ -I/opt/X11/include/ -I/opt/local/lib/'
>> $ export LDFLAGS='-I/opt/local/include/ -I/opt/X11/include/ -I/opt/local/lib/'
>> $ export CPPFLAGS='-I/opt/local/include/ -I/opt/X11/include/ -I/opt/local/lib/'
>
> Perhaps those are not the right settings.
You're correct about that! The MacPorts maintainer sorted it out for
me. Here are the correct settings:
export LDFLAGS="-L/opt/local/lib"
export CPPFLAGS="-I/opt/local/include"
This got things to build without any patches. Sorry for the noise!
I will however underline my support for http://debbugs.gnu.org/11507.
> Because some people have both Fink and MacPorts installed, they are
> mutually incompatible, and there's no way for us to tell which one, if
> any, they want to use in any particular build
These people are weird, I know, I used to be one of them :-).
--
Sent with my mu4e
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2014-03-28 2:32 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-20 0:12 bug#17043: 24.3.50; xft isn't found on OS X 10.9.2 (Macports) Joe Corneli
2014-03-20 3:16 ` Glenn Morris
2014-03-20 21:58 ` Joe Corneli
2014-03-20 23:37 ` Joe Corneli
2014-03-23 22:31 ` Joe Corneli
2014-03-23 23:30 ` Glenn Morris
2014-03-25 13:37 ` Joe Corneli
2014-03-25 15:57 ` Glenn Morris
2014-03-26 0:38 ` Stefan Monnier
2014-03-26 0:54 ` Glenn Morris
2014-03-26 16:01 ` Glenn Morris
2014-03-28 2:32 ` Joe Corneli
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.