help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error building 24.3 on CentOS 6.5 with X toolkit.


From: Allen Gooch
Subject: Error building 24.3 on CentOS 6.5 with X toolkit.
Date: Mon, 24 Mar 2014 15:33:21 -0500

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]