Opened 15 years ago
Closed 14 years ago
#22583 closed defect (worksforme)
py26-gtk fails to build, trouble with jasper dependency
Reported by: | yasir.suhail@… | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.1 |
Keywords: | Cc: | ||
Port: | py26-gtk |
Description (last modified by skymoo (Adam Mercer))
Hi I am trying to install py26-gtk on a Mac OSX 10.5.8. I have gtk2, python26, and jasper installed. The problem may have been that jasper was updated after gtk2 was installed, but I am not sure. And I do not want to uninstall gtk2 and stuff that depends on it if I have the latest version. Macports should update what it needs to.
port installed *jasper* returns
The following ports are currently installed: jasper @1.900.1_5 (active)
sudo port install py26-gtk returns
---> Computing dependencies for py26-gtk ---> Building py26-gtk Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-gtk/work/pygtk-2.16.0" && /usr/bin/make -j1 all " returned error 2 Command output: /usr/bin/make all-recursive Making all in . make[2]: Nothing to be done for `all-am'. Making all in gtk /bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -I/opt/local/include/libglade-2.0 -I/opt/local/include/gtk-2.0 -I/opt/local/include/libxml2 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -O2 -arch i386 -Wall -fno-strict-aliasing -std=c9x -module -avoid-version -L/opt/local/lib -o glade.la -rpath /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/gtk-2.0/gtk glade_la-libglademodule.lo glade_la-libglade.lo -L/opt/local/lib -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lpthread -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lgio-2.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lpangoft2-1.0 -lXext -lXfixes -lcairo -lpixman-1 -lpng12 -lXrender -lX11 -lXau -lXdmcp -lpango-1.0 -lm -lfontconfig -lexpat -lfreetype -lz -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv libtool: link: /usr/bin/gcc-4.0 -Wl,-undefined -Wl,dynamic_lookup -o .libs/glade.so -bundle .libs/glade_la-libglademodule.o .libs/glade_la-libglade.o -L/opt/local/lib /opt/local/lib/libglade-2.0.dylib -L/usr/X11R6/lib /opt/local/lib/libtiff.dylib /opt/local/lib/libjasper.dylib /opt/local/lib/libjpeg.dylib /opt/local/lib/libgtk-x11-2.0.dylib /opt/local/lib/libxml2.dylib -lpthread /opt/local/lib/libgdk-x11-2.0.dylib /opt/local/lib/libatk-1.0.dylib /opt/local/lib/libgdk_pixbuf-2.0.dylib /opt/local/lib/libpangocairo-1.0.dylib /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libXinerama.dylib /opt/local/lib/libXi.dylib /opt/local/lib/libXrandr.dylib /opt/local/lib/libXcursor.dylib /opt/local/lib/libXcomposite.dylib /opt/local/lib/libXdamage.dylib /opt/local/lib/libpangoft2-1.0.dylib /opt/local/lib/libXext.dylib /opt/local/lib/libXfixes.dylib /opt/local/lib/libcairo.dylib /opt/local/lib/libpixman-1.dylib /opt/local/lib/libpng12.dylib /opt/local/lib/libXrender.dylib /opt/local/lib/libX11.dylib /opt/local/lib/libXau.dylib /opt/local/lib/libXdmcp.dylib /opt/local/lib/libpango-1.0.dylib -lm /opt/local/lib/libfontconfig.dylib /opt/local/lib/libexpat.dylib /opt/local/lib/libfreetype.dylib -lz /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libglib-2.0.dylib -lresolv /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib -arch i386 -framework Carbon ld: file not found: /opt/local/lib/libjasper-1.701.1.dylib collect2: ld returned 1 exit status make[2]: *** [glade.la] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing.
Also, ls /opt/local/lib/libjasper* returns
/opt/local/lib/libjasper.1.0.0.dylib /opt/local/lib/libjasper.1.dylib /opt/local/lib/libjasper.a /opt/local/lib/libjasper.dylib /opt/local/lib/libjasper.la
Change History (5)
comment:1 Changed 15 years ago by skymoo (Adam Mercer)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to mcalhoun@… |
Port: | py26-gtk added |
Priority: | High → Normal |
Summary: | py226-gtk fails to build, trouble with jasper dependency → py26-gtk fails to build, trouble with jasper dependency |
comment:2 Changed 15 years ago by skymoo (Adam Mercer)
Description: | modified (diff) |
---|
comment:3 follow-up: 4 Changed 15 years ago by mf2k (Frank Schima)
comment:4 Changed 15 years ago by yasir.suhail@…
This is what I get
ls -l /opt/local/lib/libjasper.dylib lrwxr-xr-x 1 root admin 21 Nov 13 18:30 /opt/local/lib/libjasper.dylib -> libjasper.1.0.0.dylib
Also, here is the more complete error output after I clean py26-gtk, and ask to install it.
port clean py26-gtk ---> Cleaning py26-gtk
port install py26-gtk ---> Computing dependencies for py26-gtk ---> Fetching py26-gtk ---> Verifying checksum(s) for py26-gtk ---> Extracting py26-gtk ---> Configuring py26-gtk ---> Building py26-gtk Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-gtk/work/pygtk-2.16.0" && /usr/bin/make -j1 all " returned error 2 Command output: mv -f .deps/glade_la-libglademodule.Tpo .deps/glade_la-libglademodule.Plo (/opt/local/bin/python2.6 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/pygobject/2.0/codegen/codegen.py \ -DHAVE_PYCAIRO -DHAVE_GTK_2_12 -DHAVE_GTK_2_14 -DHAVE_GTK_2_16 -DGDK_TARGET_X11 \ -I . \ --py_ssize_t-clean --register /opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/pygobject/2.0/defs/gio-types.defs \ --register ../pango-types.defs \ --register ../atk-types.defs \ --register gdk-types.defs \ --register gtk-types.defs \ --override ./libglade.override \ --prefix pylibglade libglade.defs) > gen-libglade.c \ && cp gen-libglade.c libglade.c \ && rm -f gen-libglade.c Warning: Constructor for GladeXML needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors ***INFO*** The coverage of global functions is 100.00% (7/7) ***INFO*** The coverage of methods is 100.00% (5/5) ***INFO*** There are no declared virtual proxies. ***INFO*** There are no declared virtual accessors. ***INFO*** There are no declared interface proxies. /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pygtk-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I./gtk -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/opt/local/include/libglade-2.0 -I/opt/local/include/gtk-2.0 -I/opt/local/include/libxml2 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -O2 -arch i386 -Wall -fno-strict-aliasing -std=c9x -MT glade_la-libglade.lo -MD -MP -MF .deps/glade_la-libglade.Tpo -c -o glade_la-libglade.lo `test -f 'libglade.c' || echo './'`libglade.c libtool: compile: /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pygtk-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I./gtk -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include -I/opt/local/include/libglade-2.0 -I/opt/local/include/gtk-2.0 -I/opt/local/include/libxml2 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -O2 -arch i386 -Wall -fno-strict-aliasing -std=c9x -MT glade_la-libglade.lo -MD -MP -MF .deps/glade_la-libglade.Tpo -c libglade.c -fno-common -DPIC -o .libs/glade_la-libglade.o mv -f .deps/glade_la-libglade.Tpo .deps/glade_la-libglade.Plo /bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -I/opt/local/include/libglade-2.0 -I/opt/local/include/gtk-2.0 -I/opt/local/include/libxml2 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -O2 -arch i386 -Wall -fno-strict-aliasing -std=c9x -module -avoid-version -L/opt/local/lib -o glade.la -rpath /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/gtk-2.0/gtk glade_la-libglademodule.lo glade_la-libglade.lo -L/opt/local/lib -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lpthread -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lgio-2.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lpangoft2-1.0 -lXext -lXfixes -lcairo -lpixman-1 -lpng12 -lXrender -lX11 -lXau -lXdmcp -lpango-1.0 -lm -lfontconfig -lexpat -lfreetype -lz -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv libtool: link: /usr/bin/gcc-4.0 -Wl,-undefined -Wl,dynamic_lookup -o .libs/glade.so -bundle .libs/glade_la-libglademodule.o .libs/glade_la-libglade.o -L/opt/local/lib /opt/local/lib/libglade-2.0.dylib -L/usr/X11R6/lib /opt/local/lib/libtiff.dylib /opt/local/lib/libjasper.dylib /opt/local/lib/libjpeg.dylib /opt/local/lib/libgtk-x11-2.0.dylib /opt/local/lib/libxml2.dylib -lpthread /opt/local/lib/libgdk-x11-2.0.dylib /opt/local/lib/libatk-1.0.dylib /opt/local/lib/libgdk_pixbuf-2.0.dylib /opt/local/lib/libpangocairo-1.0.dylib /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libXinerama.dylib /opt/local/lib/libXi.dylib /opt/local/lib/libXrandr.dylib /opt/local/lib/libXcursor.dylib /opt/local/lib/libXcomposite.dylib /opt/local/lib/libXdamage.dylib /opt/local/lib/libpangoft2-1.0.dylib /opt/local/lib/libXext.dylib /opt/local/lib/libXfixes.dylib /opt/local/lib/libcairo.dylib /opt/local/lib/libpixman-1.dylib /opt/local/lib/libpng12.dylib /opt/local/lib/libXrender.dylib /opt/local/lib/libX11.dylib /opt/local/lib/libXau.dylib /opt/local/lib/libXdmcp.dylib /opt/local/lib/libpango-1.0.dylib -lm /opt/local/lib/libfontconfig.dylib /opt/local/lib/libexpat.dylib /opt/local/lib/libfreetype.dylib -lz /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libglib-2.0.dylib -lresolv /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib -arch i386 -framework Carbon ld: file not found: /opt/local/lib/libjasper-1.701.1.dylib collect2: ld returned 1 exit status make[2]: *** [glade.la] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing.
comment:5 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Something needed a rev bump after jasper was upgraded. Closing as everything involved has been updated since.
Note: See
TracTickets for help on using
tickets.
What is the output of the following for you?
It is a symlink to libjasper.1.0.0.dylib for me.