* Error building 24.3 on CentOS 6.5 with X toolkit.
@ 2014-03-24 20:33 Allen Gooch
2014-03-24 22:45 ` Glenn Morris
0 siblings, 1 reply; 3+ messages in thread
From: Allen Gooch @ 2014-03-24 20:33 UTC (permalink / raw)
To: help-gnu-emacs
I am trying to build Emacs 24.3 on CentOS 6.5 with gtk2.
After running ./configure I get the following build configuration:
Configured for `x86_64-unknown-linux-gnu'.
Where should the build process find the source code?
/usr/local/src/emacs-24.3
What compiler should emacs be built with? gcc -std=gnu99
-g3 -O2
Should Emacs use the GNU version of malloc? yes
(Using Doug Lea's new malloc from the GNU C Library.)
Should Emacs use a relocating allocator for buffers? no
Should Emacs use mmap(2) for buffer allocation? no
What window system should Emacs use? x11
What toolkit should Emacs use? GTK2
Where do we find X Windows header files? Standard dirs
Where do we find X Windows libraries? Standard dirs
Does Emacs use -lXaw3d? no
Does Emacs use -lXpm? yes
Does Emacs use -ljpeg? yes
Does Emacs use -ltiff? yes
Does Emacs use a gif library? yes -lgif
Does Emacs use -lpng? yes
Does Emacs use -lrsvg-2? no
Does Emacs use imagemagick? no
Does Emacs use -lgpm? yes
Does Emacs use -ldbus? yes
Does Emacs use -lgconf? yes
Does Emacs use GSettings? yes
Does Emacs use -lselinux? yes
Does Emacs use -lgnutls? yes
Does Emacs use -lxml2? yes
Does Emacs use -lfreetype? yes
Does Emacs use -lm17n-flt? no
Does Emacs use -lotf? yes
Does Emacs use -lxft? yes
Does Emacs use toolkit scroll bars? yes
At compilation time I get the following:
gcc -std=gnu99 -nostdlib -Demacs -I. -I/usr/local/src/emacs-24.3/src
-I../lib -I/usr/local/src/emacs-24.3/src/../lib -pthread
-I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/freetype2
-I/usr/include/libxml2 -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -pthread -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -DORBIT2=1 -pthread -I/usr/include/gconf/2
-I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/freetype2 -MMD -MF deps/.d -MP -g3 -O2
-Wl,-znocombreloc \
-o temacs pre-crt0.o /usr/lib64/crt1.o /usr/lib64/crti.o dispnew.o
frame.o scroll.o xdisp.o menu.o xmenu.o window.o charset.o coding.o
category.o ccl.o character.o chartab.o bidi.o cm.o term.o terminal.o
xfaces.o xterm.o xfns.o xselect.o xrdb.o xsmfns.o xsettings.o xgselect.o
gtkutil.o dbusbind.o emacs.o keyboard.o macros.o keymap.o sysdep.o
buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o
casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o
doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o
syntax.o unexelf.o bytecode.o process.o gnutls.o callproc.o region-cache.o
sound.o atimer.o doprnt.o intervals.o textprop.o composite.o xml.o
profiler.o xfont.o ftfont.o xftfont.o ftxfont.o fontset.o fringe.o
image.o terminfo.o lastfile.o vm-limit.o ../lib/libgnu.a -ltiff
-ljpeg -lpng -lz -lm -lgif -lXpm -pthread -lgtk-x11-2.0 -lgdk-x11-2.0
-latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0
-lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0
-lgthread-2.0 -lrt -lglib-2.0 -lX11 -lXrender -lXft -lrt -lrt
-L/lib64 -ldbus-1 -lpthread -lrt -lxml2 -lgpm -ltinfo -pthread
-lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
-lgconf-2 -lglib-2.0 -pthread -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0
-lselinux -lfreetype -lfontconfig -lotf -lfreetype -lgnutls
-lpthread -lm -lgcc -lc -lgcc /usr/lib64/crtn.o
xsettings.o: In function `something_changed_gsettingsCB':
/usr/local/src/emacs-24.3/src/xsettings.c:215: undefined reference to
`g_settings_get_value'
/usr/local/src/emacs-24.3/src/xsettings.c:230: undefined reference to
`g_settings_get_value'
/usr/local/src/emacs-24.3/src/xsettings.c:244: undefined reference to
`g_settings_get_value'
xsettings.o: In function `init_gsettings':
/usr/local/src/emacs-24.3/src/xsettings.c:816: undefined reference to
`g_settings_list_schemas'
/usr/local/src/emacs-24.3/src/xsettings.c:822: undefined reference to
`g_settings_new'
/usr/local/src/emacs-24.3/src/xsettings.c:828: undefined reference to
`g_settings_get_value'
/usr/local/src/emacs-24.3/src/xsettings.c:839: undefined reference to
`g_settings_get_value'
/usr/local/src/emacs-24.3/src/xsettings.c:848: undefined reference to
`g_settings_get_value'
collect2: ld returned 1 exit status
make[1]: *** [temacs] Error 1
Does building Emacs 24.3 with gtk2 work on CentOS 6.5. Does it require
more modern versions of its glib dependencies?
Many thanks in advance,
-ag
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Error building 24.3 on CentOS 6.5 with X toolkit.
2014-03-24 20:33 Error building 24.3 on CentOS 6.5 with X toolkit Allen Gooch
@ 2014-03-24 22:45 ` Glenn Morris
2014-03-25 3:09 ` Glenn Morris
0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2014-03-24 22:45 UTC (permalink / raw)
To: Allen Gooch; +Cc: help-gnu-emacs
Allen Gooch wrote:
> xsettings.o: In function `something_changed_gsettingsCB':
> /usr/local/src/emacs-24.3/src/xsettings.c:215: undefined reference to
> `g_settings_get_value'
This is possibly a bug in Emacs's configure script.
If you use
configure --without-gsettings
it should work.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Error building 24.3 on CentOS 6.5 with X toolkit.
2014-03-24 22:45 ` Glenn Morris
@ 2014-03-25 3:09 ` Glenn Morris
0 siblings, 0 replies; 3+ messages in thread
From: Glenn Morris @ 2014-03-25 3:09 UTC (permalink / raw)
To: Allen Gooch; +Cc: help-gnu-emacs
Glenn Morris wrote:
> This is possibly a bug in Emacs's configure script.
Actually I think it's a Red Hat issue.
At least on Scientific Linux 6.5, the original
glib2-devel-2.26.1-3.el6.x86_64.rpm contains 594 files, including
gsettings.h.
But the recent update glib2-devel-2.26.1-7.el6_5.x86_64.rpm contains
only 238 files, and no gsettings.h.
I wondered why I hadn't seen this issue before.
According to this:
http://rhn.redhat.com/errata/RHBA-2014-0303.html
it's deliberate.
Seems a bit weird, if the RHEL glib2 is now not compatible with the
upstream version.
If you have a RHEL subscription, I'd say it's worth reporting to RH.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-03-25 3:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-24 20:33 Error building 24.3 on CentOS 6.5 with X toolkit Allen Gooch
2014-03-24 22:45 ` Glenn Morris
2014-03-25 3:09 ` Glenn Morris
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).