#38869 closed defect (fixed)
imlib build fails
Reported by: | jule@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | ||
Port: | imlib |
Description (last modified by mf2k (Frank Schima))
Imlib fails to build on OSX 10.8, MacPorts 2.1.3, XCode 4.6.1 with the following output:
eris:g2c-0.4 root# port -v install gnome-libs ---> Computing dependencies for gnome-libs...... ---> Dependencies to be installed: imlib libghttp oaf libxml orbit ---> Building imlib make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_imlib/imlib/work/imlib-1.9.15' /usr/bin/make all-recursive make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_imlib/imlib/work/imlib-1.9.15' Making all in gdk_imlib make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_imlib/imlib/work/imlib-1.9.15/gdk_imlib' /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/clang -DSYSTEM_IMRC=\"/opt/local/etc/imrc\" -DIMLIB_LIB=\""/opt/local/lib"\" -DSYSCONFDIR=\"/opt/local/etc\" -I. -I.. -I. -I. -I.. -I./.. -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -pipe -O2 -arch x86_64 -MT cache.lo -MD -MP -MF .deps/cache.Tpo -c -o cache.lo cache.c /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/clang -DSYSTEM_IMRC=\"/opt/local/etc/imrc\" -DIMLIB_LIB=\""/opt/local/lib"\" -DSYSCONFDIR=\"/opt/local/etc\" -I. -I.. -I. -I. -I.. -I./.. -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -pipe -O2 -arch x86_64 -MT colors.lo -MD -MP -MF .deps/colors.Tpo -c -o colors.lo colors.c /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/clang -DSYSTEM_IMRC=\"/opt/local/etc/imrc\" -DIMLIB_LIB=\""/opt/local/lib"\" -DSYSCONFDIR=\"/opt/local/etc\" -I. -I.. -I. -I. -I.. -I./.. -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -pipe -O2 -arch x86_64 -MT globals.lo -MD -MP -MF .deps/globals.Tpo -c -o globals.lo globals.c /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/clang -DSYSTEM_IMRC=\"/opt/local/etc/imrc\" -DIMLIB_LIB=\""/opt/local/lib"\" -DSYSCONFDIR=\"/opt/local/etc\" -I. -I.. -I. -I. -I.. -I./.. -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -pipe -O2 -arch x86_64 -MT load.lo -MD -MP -MF .deps/load.Tpo -c -o load.lo load.c libtool: compile: /usr/bin/clang -DSYSTEM_IMRC=\"/opt/local/etc/imrc\" -DIMLIB_LIB=\"/opt/local/lib\" -DSYSCONFDIR=\"/opt/local/etc\" -I. -I.. -I. -I. -I.. -I./.. -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -pipe -O2 -arch x86_64 -MT cache.lo -MD -MP -MF .deps/cache.Tpo -c cache.c -fno-common -DPIC -o .libs/cache.o libtool: compile: /usr/bin/clang -DSYSTEM_IMRC=\"/opt/local/etc/imrc\" -DIMLIB_LIB=\"/opt/local/lib\" -DSYSCONFDIR=\"/opt/local/etc\" -I. -I.. -I. -I. -I.. -I./.. -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -pipe -O2 -arch x86_64 -MT globals.lo -MD -MP -MF .deps/globals.Tpo -c globals.c -fno-common -DPIC -o .libs/globals.o libtool: compile: /usr/bin/clang -DSYSTEM_IMRC=\"/opt/local/etc/imrc\" -DIMLIB_LIB=\"/opt/local/lib\" -DSYSCONFDIR=\"/opt/local/etc\" -I. -I.. -I. -I. -I.. -I./.. -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -pipe -O2 -arch x86_64 -MT colors.lo -MD -MP -MF .deps/colors.Tpo -c colors.c -fno-common -DPIC -o .libs/colors.o libtool: compile: /usr/bin/clang -DSYSTEM_IMRC=\"/opt/local/etc/imrc\" -DIMLIB_LIB=\"/opt/local/lib\" -DSYSCONFDIR=\"/opt/local/etc\" -I. -I.. -I. -I. -I.. -I./.. -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -pipe -O2 -arch x86_64 -MT load.lo -MD -MP -MF .deps/load.Tpo -c load.c -fno-common -DPIC -o .libs/load.o In file included from colors.cIn file included from cache.c::5: In file included from globals.cIn file included from :load.c5:: 56: ./gdk_imlib_private.h./gdk_imlib_private.h::104:5: ./gdk_imlib_private.h:104:./gdk_imlib_private.h:1045:: :error: 104unknown type name 'XShmSegmentInfo':error: 5unknown type name 'XShmSegmentInfo':5: error: unknown type name 'XShmSegmentInfo' error: unknown type name 'XShmSegmentInfo' XShmSegmentInfo last_shminfo; ^ XShmSegmentInfo last_shminfo; ^ XShmSegmentInfo last_shminfo; ^ XShmSegmentInfo last_shminfo; ^ ./gdk_imlib_private.h:105:5: error: unknown type name 'XShmSegmentInfo' XShmSegmentInfo last_sshminfo; ^ ./gdk_imlib_private.h:105:5: error: unknown type name 'XShmSegmentInfo' XShmSegmentInfo last_sshminfo; ^ ./gdk_imlib_private.h:105:5: error: unknown type name 'XShmSegmentInfo' XShmSegmentInfo last_sshminfo; ^ ./gdk_imlib_private.h:105:5: error: unknown type name 'XShmSegmentInfo' XShmSegmentInfo last_sshminfo; ^ 2 errors generated. 2 errors generated. 2 errors generated. 2 errors generated. make[2]: *** [globals.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [load.lo] Error 1 make[2]: *** [colors.lo] Error 1 make[2]: *** [cache.lo] Error 1 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_imlib/imlib/work/imlib-1.9.15/gdk_imlib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_imlib/imlib/work/imlib-1.9.15' make: *** [all] Error 2 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_imlib/imlib/work/imlib-1.9.15' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_imlib/imlib/work/imlib-1.9.15" && /usr/bin/make -j4 -w all Exit code: 2 Error: org.macports.build for port imlib returned: command execution failed Warning: targets not executed for imlib: org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Failed to install imlib Please see the log file for port imlib for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_imlib/imlib/main.log Error: The following dependencies were not installed: imlib libghttp oaf libxml orbit To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port gnome-libs failed
Attachments (3)
Change History (12)
comment:1 Changed 12 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Keywords: | imlib compile error removed |
comment:3 follow-up: 5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
I'm not terribly surprised that imlib fails to build; it's almost 9 years old after all. Why do you need imlib—would imlib2 work instead? It's much newer.
comment:4 follow-up: 7 Changed 12 years ago by jmroot (Joshua Root)
That type definition should come from ${prefix}/include/X11/extensions/XShm.h, which is provided by xorg-libXext.
comment:5 Changed 12 years ago by jule@…
Replying to ryandesign@…:
I'm not terribly surprised that imlib fails to build; it's almost 9 years old after all. Why do you need imlib—would imlib2 work instead? It's much newer.
I tried to install g2c which depends on imlib. I'm afraid imlib2 does not change anything, that's what I tried already.
Changed 12 years ago by jule@…
Attachment: | main.2.log added |
---|
main.log after (re)installing xorg-libXext
comment:7 Changed 12 years ago by jule@…
Replying to jmr@…:
That type definition should come from ${prefix}/include/X11/extensions/XShm.h, which is provided by xorg-libXext.
Thanks for the info. After (re)installing xorg-libXext port install imlib still fails; see newly atached files.
comment:8 Changed 11 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:9 Changed 21 months ago by mjobin-mdsol (Mathieu Jobin)
I wanted to say imlib1 is still useful as of 2023, you can build Enlightenment 13.3 with it and impress your friends.
I encountered this error. and it turns out the SHM stuff was not required for me. So although ./configure detected SHM to be available. it was not properly working, so I just manually modified the config.h to remove the HAVE_SHM definition.
boom, all working now.
thanks
Please attach the complete main.log file after cleaning imlib and trying again.