[MacPorts] #36302: gtkmm does not compile
MacPorts
noreply at macports.org
Mon Sep 24 02:35:22 PDT 2012
#36302: gtkmm does not compile
------------------------+--------------------------------
Reporter: lau.hu.b@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Keywords: gtkmm | Port:
------------------------+--------------------------------
I installed MacPorts on my machine (Lion 10.7.5).
I use MacPorts to install Inkscape but this fail because of gtkmm build
error.
After cleaning up, I ran:
{{{
sudo port -v install gtkmm
}}}
And the log gave:
{{{
---> Computing dependencies for gtkmm.---> Building gtkmmmake: Entering
directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_gtkmm/gtkmm/work/gtkmm-2.24.2'
/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_x11_gtkmm/gtkmm/work/gtkmm-2.24.2'
Making all in tools
make[2]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_gtkmm/gtkmm/work/gtkmm-2.24.2/tools'
/bin/sh ../libtool --tag=CXX --mode=link /usr/bin/clang++ -Wall -pipe
-O2 -arch x86_64 -no-undefined -avoid-version -L/opt/local/lib -arch
x86_64 -o extra_defs_gen/generate_extra_defs
extra_defs_gen/generate_defs_gtk.o -framework Cocoa -L/opt/local/lib
-latkmm-1.6 -lgiomm-2.4 -lpangomm-1.4 -lglibmm-2.4 -lcairomm-1.0
-lsigc-2.0 -lgtk-quartz-2.0 -lgdk-quartz-2.0 -latk-1.0 -lpangocairo-1.0
-lgio-2.0 -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lpango-1.0 -lm -lfreetype
-lfontconfig -lcairo -lgobject-2.0 -lglib-2.0 -lintl
-lglibmm_generate_extra_defs-2.4
libtool: link: cannot find the library `/opt/local/lib/libXrender.la' or
unhandled argument `/opt/local/lib/libXrender.la'
make[2]: *** [extra_defs_gen/generate_extra_defs] Error 1
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_gtkmm/gtkmm/work/gtkmm-2.24.2/tools'
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_x11_gtkmm/gtkmm/work/gtkmm-2.24.2'
make: *** [all] Error 2
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_gtkmm/gtkmm/work/gtkmm-2.24.2'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_gtkmm/gtkmm/work/gtkmm-2.24.2"
&& /usr/bin/make -j4 -w all
Exit code: 2
Error: org.macports.build for port gtkmm returned: command execution
failed
Warning: targets not executed for gtkmm: org.macports.activate
org.macports.build org.macports.destroot org.macports.install
Please see the log file for port gtkmm for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_gtkmm/gtkmm/main.log
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port gtkmm failed
}}}
Apparently, this is the libtool that is not installed although it seems to
be correctly installed (I installed it previously to gtkmm).
My MacPorts version is up-to-date (I installed it yesterday and performed
today an update).
--
Ticket URL: <https://trac.macports.org/ticket/36302>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list