Opened 15 years ago

Closed 15 years ago

#20835 closed defect (fixed)

libintl.8.dylib: mach-o, but wrong architecture (on configure of m4)

Reported by: askg Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port:

Description (last modified by blb@…)

I have performed a selfupdate and clean all. OS 10.5. MacBook Pro 13 "

Found this:

gosta-asks-macbook-pro:~ g$ sudo port install m4--->  Configuring m4
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_devel_m4/work/m4-1.4.13" && ./configure --prefix=/opt/local --program-prefix=g gl_cv_lib_sigsegv=no " returned error 1
Command output: checking for a french Unicode locale... (cached) fr_FR.UTF-8
checking for a traditional japanese locale... (cached) ja_JP.eucJP
checking for a transitional chinese locale... (cached) zh_CN.GB18030
checking for a french Unicode locale... (cached) fr_FR.UTF-8
checking for a traditional french locale... (cached) fr_FR.ISO8859-1
checking for a french Unicode locale... (cached) fr_FR.UTF-8
checking for wchar_t... (cached) yes
checking for wint_t... (cached) yes
checking for unsetenv... yes
checking for unsetenv() return type... int
checking for a traditional french locale... (cached) fr_FR.ISO8859-1
checking for a french Unicode locale... (cached) fr_FR.UTF-8
checking for a traditional japanese locale... (cached) ja_JP.eucJP
checking for a transitional chinese locale... (cached) zh_CN.GB18030
checking whether wctob works... yes
checking whether wctob is declared... yes
checking whether an open file can be renamed... yes
checking if changeword is wanted... no
checking which shell to use for syscmd... /bin/sh
checking if malloc debugging is wanted... no
configure: creating ./config.status
config.status: creating Makefile
dyld: Library not loaded: /opt/local/lib/libintl.8.dylib
  Referenced from: /opt/local/bin/gawk
  Reason: no suitable image found.  Did find:
	/opt/local/lib/libintl.8.dylib: mach-o, but wrong architecture
sed: stdout: Broken pipe
./config.status: line 1597: 46565 Done(1)                 eval sed \"\$ac_sed_extra\" "$ac_file_inputs"
     46566 Trace/BPT trap          | $AWK -f "$tmp/subs.awk" > $tmp/out
config.status: error: could not create Makefile
}}

Change History (5)

comment:1 Changed 15 years ago by blb@…

Description: modified (diff)

What's the history of your install, has it been around for a while? Also, what is the result of running

$ file /opt/local/lib/libintl.8.dylib

comment:2 Changed 15 years ago by askg

gosta-asks-macbook-pro:~ g$ file /opt/local/lib/libintl.8.dylib /opt/local/lib/libintl.8.dylib: Mach-O dynamically linked shared library i386

Yes, it has been around for a while. And not only that. It is basically the result of using Apple's "Migration Assistant" from my old PowerPC-based iBook with Mac OS X 10.4. On that one I had MacPorts installed several years ago. And after the migration I just tried to update the installed programs that I wanted to use.

/GA

comment:3 Changed 15 years ago by blb@…

Going from 10.4 to 10.5 (or equivalent) or going from PowerPC to Intel really require a redo of your MacPorts install. See the Migration wiki page for details.

comment:4 Changed 15 years ago by askg

Ok, thanks. Guess I should have figured this out myself. Sorry for taking your time. I followed the guidelines in Wiki and it now works.

gosta-asks-macbook-pro:~ g$ sudo port install m4 ---> Computing dependencies for m4 ---> Configuring m4 ---> Building m4 ---> Staging m4 into destroot ---> Installing m4 @1.4.13_0 ---> Activating m4 @1.4.13_0 ---> Cleaning m4

comment:5 Changed 15 years ago by tobypeterson

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.