xfce4 port expat/p5-XML-Parser problem

John Murphy sub00 at freeode.co.uk
Wed May 26 10:03:34 PDT 2004


FreeBSD-5.2.1 ports cvsupped yesterday, trying to make install xfce4:

Making all in opentype
gmake[4]: Entering directory `/usr/ports/x11-toolkits/pango/work/pango-1.4.0/pan
go/opentype'
/bin/sh ../../libtool --mode=link cc  -O -pipe -mcpu=pentiumpro -Wall  -L/usr/lo
cal/lib -L/usr/X11R6/lib -o ottest  ottest.o disasm.o libpango-ot.la -L/usr/X11R
6/lib -lfontconfig   -L/usr/local/lib -lfreetype -lz
cc -O -pipe -mcpu=pentiumpro -Wall -o ottest ottest.o disasm.o  -L/usr/local/lib
 -L/usr/X11R6/lib ./.libs/libpango-ot.a -lfontconfig -lfreetype -lz
/usr/bin/ld: warning: libexpat.so.4, needed by /usr/X11R6/lib/libfontconfig.so,
not found (try using -rpath or -rpath-link)
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_SetElementHandler'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_SetDoctypeDeclHandl
er'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParserFree'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_SetCharacterDataHan
dler'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ErrorString'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParseBuffer'

/usr/ports/UPDATING seemed to suggest portupgrade -rf textproc/expat2
so I did that and got a libexpat.so.5 in /usr/local/lib which didn't help

ln -s libexpat.so.5 libexpat.so.4 in /usr/local/lib got it going again until:

===>    Verifying install for /usr/local/bin/intltool-extract in /usr/ports/text
proc/intltool
===>   Returning to build of shared-mime-info-0.14_2
===>   shared-mime-info-0.14_2 depends on shared library: glib-2.0.400 - found
===>   shared-mime-info-0.14_2 depends on shared library: xml2.5 - found
===>  Configuring for shared-mime-info-0.14_2
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for perl... /usr/bin/perl
configure: error: XML::Parser perl module is required for intltool
===>  Script "configure" failed unexpectedly.
Please report the problem to gnome at FreeBSD.org [maintainer] and attach the
"/usr/ports/misc/shared-mime-info/work/shared-mime-info-0.14/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. an `ls /var/db/pkg`).
*** Error code 1

Tried:

# pkg_add -r p5-XML-Parser
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/Lat
est/p5-XML-Parser.tbz... Done.
pkg_add: warning: package 'p5-XML-Parser-2.34' requires 'expat-1.95.6_1', but 'e
xpat-1.95.7' is installed

Is there a way around this? Will a real libexpat.so.4 help perhaps?
How could I get it if so?

Thanks,
John.


More information about the freebsd-ports mailing list