Is Mac ports expected to be very broken on 10.5?

Rainer Müller raimue at macports.org
Sun Feb 8 07:56:07 PST 2009


Barry Scott wrote:
> I install 1.7.0 on 10.5.6 from the DMG
> and then did
> 
> 	sudo /opt/local/bin/port -v selfupdate
> 
> then did
> 
> 	sudo /opt/local/bin/port install wireshark
> 
> that failed failing to find GTK+ during configure.

Wireshark correctly declares a dependency on gtk2. So you should already
have it installed. Please check with 'port installed gtk2'. Also make
sure that it is marked as "(active)".

If gtk2 is installed and active but wireshark still does not find it,
could you please provide a debug log and the config.log from $(port work
wireshark)/wireshark-*?

> I assume that a dependency is missing no problem I'll install GTK+.
> A also wonder if /opt/local/bin needs to be on the path.
> 
> I then run
> 
> 	sudo su -
> 	PATH=/opt/local/bin:/opt/local/sbin:$PATH
> 	port install gtk2

No, MacPorts exports its own PATH for compiling. This is controlled by
the binpath setting in macports.conf and is by default
"/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11/bin".

> this fails thus:
> 
> --->  Extracting py25-libxml2
> --->  Applying patches to py25-libxml2
> --->  Configuring py25-libxml2
> --->  Building py25-libxml2
> 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_py25-libxml2/work/libxml2- 
> python-2.6.21" && /opt/local/bin/python2.5 setup.py --no-user-cfg  
> build " returned error 1
> Command output: /opt/local/Library/Frameworks/Python.framework/ 
> Versions/2.5/lib/python2.5/xmllib.py:9: DeprecationWarning: The xmllib  
> module is obsolete.  Use xml.sax instead.
>    warnings.warn("The xmllib module is obsolete.  Use xml.sax  
> instead.", DeprecationWarning)
> /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
> python2.5/distutils/dist.py:247: UserWarning: 'licence' distribution  
> option is deprecated; use 'license'
>    warnings.warn(msg)
> Found 1579 functions in libxml2-api.xml
> Found 53 functions in libxml2-python-api.xml
> Generated 873 wrapper functions, 547 failed, 212 skipped

No idea, py25-libxml2 builds fine here...

Rainer


More information about the macports-users mailing list