Changes between Initial Version and Version 2 of Ticket #17884


Ignore:
Timestamp:
Jan 5, 2009, 5:56:45 PM (16 years ago)
Author:
dbevans (David B. Evans)
Comment:

I got an error when upgrading to gimp2 2.6.4.

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

I tried rebuilding gimp2 this morning but was unable to reproduce this problem.

So I did:

$ sudo cpan
cpan> install XML::Parser

This is unnecessary (and perhaps not desireable) as XML::Parser is provided by port p5-xml-parser which is declared as a dependency by the gimp2 port. Probably best to install perl modules with MacPorts rather than CPAN if they are available to avoid conflicts.

If fact, the output you submitted says that this port is installed:

 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5
 -xml-parser
 DEBUG: epoch: in tree: 0 installed: 0
 DEBUG: p5-xml-parser 2.36_0 exists in the ports tree
 DEBUG: p5-xml-parser 2.36_0 is installed
 DEBUG: No need to upgrade! p5-xml-parser 2.36_0 >= p5-xml-parser 2.36_0

So there is potentially some problem with your perl configuration or the installation of p5-xml-parser

Try the following command (this is the test configure uses)

$ /opt/local/bin/perl -e "require XML::Parser"

This should complete silently without any error but is apparently not doing so in configure's context at least. Any error output from this may point you in the proper direction.

Of course

$ which perl

should return /opt/local/bin/perl

Again, from your output, configure seems to have properly detected this.

If nothing else works you might try

$ sudo port -fn upgrade p5-xml-parser

to force p5-xml-parser to reinstall in case its installation is damaged in some way.

I thought originally that this might be a result of the recent upgrade of perl from 5.8.8 to 5.8.9 (which it looks like you have completed) but that doesn't seem to be an issue on my system (10.4.11 ppc) at least.

Sorry I can't be of more help right now but please reply with any further information you may develop.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17884

    • Property Owner changed from macports-tickets@… to devans@…
    • Property Status changed from new to assigned
  • Ticket #17884 – Description

    initial v2  
    338338DEBUG: Didn't find receipt, going to depspec regex for: xorg-libXrandr
    339339
     340
     341
     342
     343
     344
    340345DEBUG: Found Dependency: path: /usr/X11R6/lib filename: libXrandr.2.dylib regex: ^libXrandr\.2\.dylib$
    341346DEBUG: xorg-libXrandr installed outside the MacPorts system
     
    398403DEBUG: readline 5.2.012_1 is installed
    399404DEBUG: No need to upgrade! readline 5.2.012_1 >= readline 5.2.012_1
     405
    400406DEBUG: No need to upgrade! lua 5.1.4_0 >= lua 5.1.4_0
    401407DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/openexr
     
    904910DEBUG: Requested variant i386 is not provided by port libwmf.
    905911DEBUG: Requested variant macosx is not provided by port libwmf.
     912
    906913DEBUG: Executing variant x11 provides x11
    907914DEBUG: Searching for dependency: libwmf
     
    10371044checking for pghpf... no
    10381045checking for epcf90... no
     1046
    10391047checking for gfortran... no
    10401048checking for g95... no