[MacPorts] #19381: p5-locale-gettext : can't find gettext when compiling x86_64

MacPorts noreply at macports.org
Sun Aug 2 15:52:58 PDT 2009


#19381: p5-locale-gettext : can't find gettext when compiling x86_64
--------------------------+-------------------------------------------------
 Reporter:  tom@…         |       Owner:  ryandesign@…           
     Type:  defect        |      Status:  new                    
 Priority:  Normal        |   Milestone:                         
Component:  ports         |     Version:  1.7.1                  
 Keywords:  x86_64        |        Port:  p5-locale-gettext      
--------------------------+-------------------------------------------------

Comment(by Damien@…):

 I have the same problem, using the +universal trick for 64 bits
 architecture.
 {{{
 …
 DEBUG: Executing variant universal provides universal
 DEBUG: Searching for dependency: libiconv
 DEBUG: Found Dependency: receipt exists for libiconv
 DEBUG: Executing org.macports.main (p5-locale-gettext)
 DEBUG: Skipping completed org.macports.unarchive (p5-locale-gettext)
 DEBUG: Skipping completed org.macports.fetch (p5-locale-gettext)
 DEBUG: Skipping completed org.macports.checksum (p5-locale-gettext)
 DEBUG: Skipping completed org.macports.extract (p5-locale-gettext)
 DEBUG: Skipping completed org.macports.patch (p5-locale-gettext)
 --->  Configuring p5-locale-gettext
 DEBUG: Using compiler 'Mac OS X gcc 4.0'
 DEBUG: Executing org.macports.configure (p5-locale-gettext)
 DEBUG: Environment: CFLAGS='-pipe -O2 -isysroot
 /Developer/SDKs/MacOSX10.5.sdk -arch x86_64 -mmacosx-version-min=10.5'
 CPPFLAGS='-I/opt/local/include -isysroot /Developer/SDKs/MacOSX10.5.sdk'
 CXXFLAGS='-pipe -O2 -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch x86_64
 -mmacosx-version-min=10.5' MACOSX_DEPLOYMENT_TARGET='10.5'
 CPP='/usr/bin/cpp-4.0' CXX='/usr/bin/g++-4.0' F90FLAGS='-pipe -O2'
 LDFLAGS='-L/opt/local/lib -arch x86_64 -mmacosx-version-min=10.5'
 FCFLAGS='-pipe -O2' OBJC='/usr/bin/gcc-4.0' INSTALL='/usr/bin/install -c'
 PERL_AUTOINSTALL='--skipdeps' OBJCFLAGS='-pipe -O2' FFLAGS='-pipe -O2'
 CC='/usr/bin/gcc-4.0'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5
 -locale-gettext/work/gettext-1.05" && /opt/local/bin/perl Makefile.PL
 INSTALLDIRS=vendor --disable-dependency-tracking --host=i686-apple-darwin9
 --target=i686-apple-darwin9'
 checking for gettext... no
 checking for gettext in -I/opt/local/include -L/opt/local/lib
 -lintl...gettext function not found. Please install libintl at Makefile.PL
 line 18.
  no
 Error: Target org.macports.configure returned: configure failure: shell
 command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5
 -locale-gettext/work/gettext-1.05" && /opt/local/bin/perl Makefile.PL
 INSTALLDIRS=vendor --disable-dependency-tracking --host=i686-apple-darwin9
 --target=i686-apple-darwin9 " returned error 2
 Command output: checking for gettext... no
 checking for gettext in -I/opt/local/include -L/opt/local/lib
 -lintl...gettext function not found. Please install libintl at Makefile.PL
 line 18.
  no

 Warning: the following items did not execute (for p5-locale-gettext):
 org.macports.activate org.macports.configure org.macports.build
 org.macports.destroot org.macports.archive org.macports.install
 Error: Status 1 encountered during processing.

 }}}
 gettext and libintl are installed and active.

-- 
Ticket URL: <http://trac.macports.org/ticket/19381#comment:15>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list