Opened 16 years ago

Closed 13 years ago

#14898 closed defect (invalid)

gnome-python-extras gives configure failure

Reported by: guy.linton@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: landonf (Landon Fuller)
Port: gnome-python-extras

Description

The configure step for gnome-python-extras fails.

--->  Fetching gnome-python-extras
--->  Attempting to fetch gnome-python-extras-2.19.1.tar.bz2 from http://mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/gnome-python-extras/2.19
--->  Verifying checksum(s) for gnome-python-extras
--->  Extracting gnome-python-extras
--->  Applying patches to gnome-python-extras
--->  Configuring gnome-python-extras
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gnome-python-extras/work/gnome-python-extras-2.19.1" && ./configure --prefix=/opt/local " returned error 1
Command output: checking whether /opt/local/bin/python2.5 version >= 2.3... yes
checking for /opt/local/bin/python2.5 version... 2.5
checking for /opt/local/bin/python2.5 platform... darwin
checking for /opt/local/bin/python2.5 script directory... ${prefix}/lib/python2.5/site-packages
checking for /opt/local/bin/python2.5 extension module directory... ${exec_prefix}/lib/python2.5/site-packages
checking for headers required to compile python extensions... found
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PYGTK... yes
checking for pygtk-codegen-2.0... /opt/local/bin/pygtk-codegen-2.0
checking for conflicting pygtk versions... none
checking for pygtk defs... /opt/local/share/pygtk/2.0/defs
checking for gnome-python defs... /opt/local/share/pygtk/2.0/defs
checking for gnome-python argtypes dir... /opt/local/share/pygtk/2.0/argtypes
checking for pkg-config... (cached) /opt/local/bin/pkg-config
checking pkg-config is at least version 0.7... yes
checking for GLIB - version >= 2.6.0... yes (version 2.16.1)
checking for pkg-config... /opt/local/bin/pkg-config
checking for GTK+ - version >= 2.4.0... no
*** Could not run GTK+ test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding GTK+ or finding the wrong
*** version of GTK+. If it is not finding GTK+, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
configure: error: maybe you want the gtk-gnome-1-2 branch?

Error: Status 1 encountered during processing.

Change History (5)

comment:1 Changed 16 years ago by guy.linton@…

The problem seems to be that it is trying to load one of the shared libraries from the wrong place. I don't understand why it is looking in this place, because the compilation of gnome-python-extras correctly specifies that the libraries are at /opt/local/...

Host Name:      Hidden-G5
Date/Time:      2008-04-03 23:56:27.652 +0100
OS Version:     10.4.8 (Build 8L127)
Report Version: 4

Command: conftest
Path:    ./conftest
Parent:  sh [874]

Version: ??? (???)

PID:    875
Thread: Unknown

Link (dyld) error:

Library not loaded: /usr/local/lib/libfreetype.6.dylib
  Referenced from: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gnome-python-extras/work/gnome-python-extras-2.19.1/./conftest
  Reason: image not found

comment:2 Changed 15 years ago by blb@…

Milestone: Port Bugs

comment:3 Changed 15 years ago by blb@…

Port: gnome-python-extras added

Did you have things such as freetype installed in /usr/local? That could very well cause issues, especially if they are later removed; gcc unfortunately likes to look for libraries and headers in /usr/local.

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:5 Changed 13 years ago by jmroot (Joshua Root)

Cc: landonf@… added
Resolution: invalid
Status: newclosed

No response; assuming /usr/local stuff was to blame.

Note: See TracTickets for help on using tickets.