Opened 18 years ago

Closed 18 years ago

#11352 closed defect (fixed)

libiconv build fails on Panther

Reported by: sjtikka@… Owned by: macports-tickets@…
Priority: High Milestone:
Component: ports Version: 1.3.2
Keywords: Cc:
Port:

Description

On OS X 10.3.9:

$ sudo port outdated
The following installed ports are outdated:
libiconv                       1.11_0 < 1.11_4
$ sudo port upgrade installed
--->  Fetching libiconv
--->  Verifying checksum(s) for libiconv
--->  Extracting libiconv
--->  Configuring libiconv
--->  Building libiconv with target all
Error: Target com.apple.build returned: shell command "cd /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/libiconv-1.11 && make -f Makefile.devel" returned error 2
Command output: gcc -O lib/genaliases.c -o genaliases
./genaliases > lib/aliases.gperf 3> canonical.sh 4> canonical_local.sh
rm -f genaliases
gperf -m 10 lib/aliases.gperf > tmp.h
gperf: invalid option -- m
Usage: gperf [-cCdDef[num]F<initializers>GhH<hashname>i<init>Ijk<keys>K<keyname>lL<language>nN<function name>ors<size>S<switches>tTvW<wordlistname>Z<class name>7] [input-file]
Try `gperf --help' for more information.
make: *** [lib/aliases.h] Error 1

Error: Unable to upgrade port: 1

It seems there is no -m option in gperf, at least not in OS X 10.3.9

Change History (1)

comment:1 Changed 18 years ago by pipping@…

Resolution: fixed
Status: newclosed

fixed in r21795.

uninstalling and reinstalling libiconv should solve the issue.

Note: See TracTickets for help on using tickets.