#26540: help2man fails to configure while installing gimp ------------------------------+--------------------------------------------- Reporter: kh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: help2man ------------------------------+--------------------------------------------- Comment(by kh@…): I bow to your superior knowledge. I had indeed done a selfupdate - but have again repeated the uninstalls, selfupdate, reinstalled p5-locale-gettext and tried help2man - which failed a shell command as before apparently the same one. So I went into the main logfile and found the complaint about a shell command "cd ... && ./configure ..." However, when I go into the .../work/help2man-1.38.2 directory indicated and try a manual configure the second line says - checking for module Locale::gettext... no tries a few other things OK and barfs with a final line configure: error: perl module Locale::gettext required and, it appears that it is installed as you said earlier. I don't know where the Perl gettext module is supposed to be - but in /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/Locale there is a module gettext.pm - the file date is 1 Jun 2005 and the length 6834 bytes! It looks OK as a Perl module (mind you I'm more a Python man myself). I manually ran the module test in the config file to see the detail of the failure. It reported - sh-3.2# perl -mLocale::gettext -e 1 Can't load '/opt/local/lib/perl5/vendor_perl/5.8.9/darwin- 2level/auto/Locale/gettext/gettext.bundle' for module Locale::gettext: dlopen(/opt/local/lib/perl5/vendor_perl/5.8.9/darwin- 2level/auto/Locale/gettext/gettext.bundle, 1): no suitable image found. Did find: /opt/local/lib/perl5/vendor_perl/5.8.9/darwin- 2level/auto/Locale/gettext/gettext.bundle: mach-o, but wrong architecture at /opt/local/lib/perl5/5.8.9/darwin-2level/DynaLoader.pm line 230. at -e line 0 Compilation failed in require. BEGIN failed--compilation aborted. which might indicate something in the dynamic loader module. Over to you again! -- Ticket URL: <https://trac.macports.org/ticket/26540#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS