[MacPorts] #22583: py26-gtk fails to build, trouble with jasper dependency

MacPorts noreply at macports.org
Tue Nov 17 07:40:47 PST 2009


#22583: py26-gtk fails to build, trouble with jasper dependency
------------------------------------+---------------------------------------
 Reporter:  yasir.suhail@…          |       Owner:  mcalhoun@…           
     Type:  defect                  |      Status:  new                  
 Priority:  Normal                  |   Milestone:                       
Component:  ports                   |     Version:  1.8.1                
 Keywords:                          |        Port:  py26-gtk             
------------------------------------+---------------------------------------
Description changed by ram@…:

Old description:

> 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
> }}}

New description:

 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
 }}}

--

-- 
Ticket URL: <http://trac.macports.org/ticket/22583#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list