Opened 18 years ago

Closed 18 years ago

Last modified 16 years ago

#10866 closed defect (worksforme)

[BUG] Gnome-doc-utils 0.8.0 still fails to compile

Reported by: msiniscalchi@… Owned by: rhwood@…
Priority: High Milestone:
Component: ports Version:
Keywords: Cc:
Port:

Description

gnome-doc-utils fails the "configure" stage, complainign that libxml-2 cannot be found even if it *is* installed and up to date:

MargiePB:~ theboss$ sudo port install gnome-doc-utils Portfile changed since last build; discarding previous state. ---> Fetching gnome-doc-utils ---> Attempting to fetch gnome-doc-utils-0.8.0.tar.bz2 from http://ftp.rpmfind.net/linux/gnome.org/sources/gnome-doc-utils/0.8/ ---> Verifying checksum(s) for gnome-doc-utils ---> Extracting gnome-doc-utils ---> Configuring gnome-doc-utils Error: Target com.apple.configure returned: configure failure: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_gnome_gnome-doc-utils/work/gnome-doc-utils-0.8.0" && CPPFLAGS="-L/opt/local/lib -I/opt/local/include" ./configure --prefix=/opt/local --disable-scrollkeeper" returned error 1 Command output: checking for msgfmt... /opt/local/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /opt/local/bin/msgfmt checking for xgettext... /opt/local/bin/xgettext checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for a Python interpreter with version >= 2.0... python checking for python... /opt/local/bin/python checking for python version... 2.4 checking for python platform... darwin checking for script directory... ${prefix}/lib/python2.4/site-packages checking for extension module directory... ${exec_prefix}/lib/python2.4/site-packages checking for GNOME_DOC_UTILS... Package libxml-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libxml-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libxml-2.0' found configure: error: Package requirements (

libxml-2.0 >= 2.6.12 libxslt >= 1.1.8

) were not met:

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables GNOME_DOC_UTILS_CFLAGS and GNOME_DOC_UTILS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.

Error: Status 1 encountered during processing.

Attachments (1)

config.log (29.0 KB) - added by msiniscalchi@… 18 years ago.
config.log from work directory, per rwhood's request

Download all attachments as: .zip

Change History (8)

comment:1 Changed 18 years ago by rhwood@…

Owner: changed from darwinports-bugs@… to rhwood@…

please attach the file config.log from a failed installation to this bug report.

Changed 18 years ago by msiniscalchi@…

Attachment: config.log added

config.log from work directory, per rwhood's request

comment:2 Changed 18 years ago by pguyot (Paul Guyot)

Component: baseports

comment:3 Changed 18 years ago by kballard (Lily Ballard)

Milestone: Available Ports

comment:4 Changed 18 years ago by rhwood@…

Status: newassigned

If you are still having this error, please determine why you have the application /usr/bin/pkg-config on your system, as it is preventing /opt/local/bin/pkg-config from being used. Note that neither XCode nor Mac OS X ship with pkg-config

Removing /usr/bin/pkg-config should solve your problem. Alternate actions include setting PKG_CONFIG_PATH to include /opt/local/lib/pkg-config in your shell before running port.

I apologize for the length of time it took to respond to this ticket.

comment:5 Changed 18 years ago by pipping@…

Milestone: Available PortsPort Bugs

comment:6 Changed 18 years ago by markd@…

Resolution: worksforme
Status: assignedclosed

comment:7 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.