Opened 19 years ago

Closed 18 years ago

Last modified 18 years ago

#4544 closed defect (fixed)

gimp2 can't find XML::Parser

Reported by: kralph@… Owned by: yves@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: jouni.seppanen@…
Port:

Description

I did an install of gimp2 from a clean, brand new installation of DarwinPorts, and got the following during configure for gimp2:

checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool Error: Target com.apple.configure returned: configure failure: shell command "cd "/opt/local/var/db/ dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_graphics_gimp2/ work/gimp-2.2.8" && LDFLAGS=-L/opt/local/lib CPPFLAGS=-I/opt/local/include CFLAGS="-faltivec - maltivec" ./configure --prefix=/opt/local --enable-mp --mandir=/opt/local/share/man" returned error 1

And further down: checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool

Warning: the following items did not execute (for gimp2): com.apple.activate com.apple.configure com.apple.build com.apple.destroot com.apple.archive com.apple.install

Is the port file missing the XML::Parser dependency? I'm going to try installing and then retry the gimp2 install and will report back here.

Change History (9)

comment:1 Changed 19 years ago by kralph@…

Oops I meant "try installing p5-xml-parser and report back here"...

comment:2 Changed 19 years ago by kralph@…

Yep, installed p5-xml-parser and then installing gimp2 worked fine.

comment:3 Changed 19 years ago by blb@…

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

Assigning to maintainer.

comment:4 Changed 19 years ago by yves@…

Resolution: fixed
Status: newclosed

Fixed - Thanks

comment:5 Changed 18 years ago by jouni.seppanen@…

This seems to have regressed: I did port selfupdate and port -a upgrade, and got:

---> Attempting to fetch gimp-2.2.9.tar.bz2 from ftp://ftp.cs.umn.edu/pub/gimp/v2.2/ ---> Verifying checksum(s) for gimp2 ---> Extracting gimp2 ---> Applying patches to gimp2 ---> Configuring gimp2 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_graphics_gimp2/ work/gimp-2.2.9" && LDFLAGS=-L/opt/local/lib CPPFLAGS=-I/opt/local/include CFLAGS="-faltivec - maltivec" ./configure --prefix=/opt/local --enable-mp --mandir=/opt/local/share/man" returned error 1 Command output: checking for _LARGE_FILES value needed for large files... no checking whether to turn on debugging... no checking whether to turn on profiling... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for sys/wait.h... (cached) yes checking for unistd.h... (cached) yes checking for pid_t... yes checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for working alloca.h... yes checking for alloca... yes checking for difftime... yes checking for putenv... yes checking for mmap... yes checking for perl... /opt/local/bin/perl checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool

Error: Unable to upgrade port: 1

comment:6 Changed 18 years ago by jouni.seppanen@…

Cc: jouni.seppanen@… added

comment:7 Changed 18 years ago by yves@…

Resolution: fixed
Status: closedreopened

Is it possible that you upgraded perl in the process ?

if so, every perl modules must beinstalled.

comment:8 Changed 18 years ago by yves@…

Resolution: fixed
Status: reopenedclosed

no news = good news ?

comment:9 Changed 18 years ago by jouni.seppanen@…

My first attempt at rebuilding didn't work, but Bug #4323 (which apparently caused my problem) had good instructions. So this was not a problem with gimp2.

Note: See TracTickets for help on using tickets.