[MacPorts] #21083: "sudo port install gimp" does not work on 10.6

MacPorts noreply at macports.org
Fri Sep 4 07:14:33 PDT 2009


#21083: "sudo port install gimp" does not work on 10.6
-----------------------------+----------------------------------------------
  Reporter:  gww@…           |       Owner:  macports-tickets@…                   
      Type:  defect          |      Status:  closed                               
  Priority:  Normal          |   Milestone:                                       
 Component:  ports           |     Version:  1.8.0                                
Resolution:  duplicate       |    Keywords:                                       
      Port:  gimp            |  
-----------------------------+----------------------------------------------
Changes (by ram@…):

  * status:  new => closed
  * resolution:  => duplicate


Old description:

> I just bought a new mac with 10.6 on it. In attempting to build gimp I
> get the following out of mac ports:
>
> bash-3.2$ sudo port install gimp
> --->  Computing dependencies for gimp
> --->  Building python26
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/Python-2.6.2"
> && /usr/bin/make all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2" " returned
> error 2
> Command output: /usr/bin/gcc-4.2 -L/opt/local/lib -u _PyMac_Error
> Python.framework/Versions/2.6/Python -o python.exe \
>                         Modules/python.o \
>                          -ldl
> ld: warning: in Python.framework/Versions/2.6/Python, file is not of
> required architecture
> Undefined symbols:
>   "_PyMac_Error", referenced from:
>   "_Py_Main", referenced from:
>       _main in python.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make: *** [python.exe] Error 1
>
> Error: The following dependencies failed to build: gimp-app gimp2 gegl
> babl librsvg libgsf gnome-vfs gconf gtk2 atk gtk-doc gnome-doc-utils
> py26-libxml2 python26 rarian getopt intltool gnome-common p5-getopt-long
> p5-pathtools p5-scalar-list-utils jasper shared-mime-info xorg-
> libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-
> libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXinerama
> xorg-xineramaproto xorg-libXrandr xorg-randrproto orbit2 libidl policykit
> gnome-mime-data libbonobo w3m ffmpeg XviD dirac cppunit faac libmp4v2
> faad2 gmake lame libogg libsdl-devel libtheora libvorbis schroedinger
> liboil x264 graphviz gd2 xpm urw-fonts xorg-libXaw xorg-libXmu libopenraw
> libsdl lua openexr ilmbase gsed lcms libexif libgnomeui gnome-icon-theme
> hicolor-icon-theme icon-naming-utils p5-xml-simple p5-xml-
> namespacesupport p5-xml-sax gnome-keyring libgcrypt libgpg-error libtasn1
> libbonoboui libglade2 libgnome esound audiofile libgnomecanvas libmng
> libwmf poppler openjpeg poppler-data py25-gtk py25-cairo py25-numpy
> fftw-3 py25-nose py25-setuptools python25 py25-gobject gimp-jp2 gimp-lqr-
> plugin liblqr gtk-nodoka-engine coreutils gmp gutenprint icns-gimp
> macclipboard-gimp macfile-gimp ufraw exiv2 gtkimageview xsane sane-
> backends libusb-compat libusb
> Error: Status 1 encountered during processing.
>
> (similar problems happen when building inkscape)

New description:

 I just bought a new mac with 10.6 on it. In attempting to build gimp I get
 the following out of mac ports:

 {{{
 bash-3.2$ sudo port install gimp
 --->  Computing dependencies for gimp
 --->  Building python26
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/Python-2.6.2"
 && /usr/bin/make all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2" " returned
 error 2
 Command output: /usr/bin/gcc-4.2 -L/opt/local/lib -u _PyMac_Error
 Python.framework/Versions/2.6/Python -o python.exe \
                         Modules/python.o \
                          -ldl
 ld: warning: in Python.framework/Versions/2.6/Python, file is not of
 required architecture
 Undefined symbols:
   "_PyMac_Error", referenced from:
   "_Py_Main", referenced from:
       _main in python.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 make: *** [python.exe] Error 1

 Error: The following dependencies failed to build: gimp-app gimp2 gegl
 babl librsvg libgsf gnome-vfs gconf gtk2 atk gtk-doc gnome-doc-utils
 py26-libxml2 python26 rarian getopt intltool gnome-common p5-getopt-long
 p5-pathtools p5-scalar-list-utils jasper shared-mime-info xorg-
 libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-
 libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXinerama
 xorg-xineramaproto xorg-libXrandr xorg-randrproto orbit2 libidl policykit
 gnome-mime-data libbonobo w3m ffmpeg XviD dirac cppunit faac libmp4v2
 faad2 gmake lame libogg libsdl-devel libtheora libvorbis schroedinger
 liboil x264 graphviz gd2 xpm urw-fonts xorg-libXaw xorg-libXmu libopenraw
 libsdl lua openexr ilmbase gsed lcms libexif libgnomeui gnome-icon-theme
 hicolor-icon-theme icon-naming-utils p5-xml-simple p5-xml-namespacesupport
 p5-xml-sax gnome-keyring libgcrypt libgpg-error libtasn1 libbonoboui
 libglade2 libgnome esound audiofile libgnomecanvas libmng libwmf poppler
 openjpeg poppler-data py25-gtk py25-cairo py25-numpy fftw-3 py25-nose
 py25-setuptools python25 py25-gobject gimp-jp2 gimp-lqr-plugin liblqr gtk-
 nodoka-engine coreutils gmp gutenprint icns-gimp macclipboard-gimp
 macfile-gimp ufraw exiv2 gtkimageview xsane sane-backends libusb-compat
 libusb
 Error: Status 1 encountered during processing.
 }}}

 (similar problems happen when building inkscape)

--

Comment:

 python26 failure, duplicate of #20284

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


More information about the macports-tickets mailing list