Opened 18 years ago
Closed 18 years ago
#11418 closed defect (fixed)
libiconv doesn't build on OS 10.3
Reported by: | teus@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | High | Milestone: | |
Component: | ports | Version: | 1.3.1 |
Keywords: | libiconv | Cc: | takanori@… blair (Blair Zajac) mij@… |
Port: |
Description
While trying to install the port for gtk2, the following errors are given by 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: The following dependencies failed to build: atk glib2 gettext libiconv pkgconfig libpng zlib pango Xft2 fontconfig freetype xrender render cairo tiff jpeg Error: Status 1 encountered during processing.
Change History (6)
comment:1 Changed 18 years ago by takanori@…
comment:2 Changed 18 years ago by takanori@…
Cc: | takanori@… added |
---|
comment:3 Changed 18 years ago by teus@…
After the sudo port selfupdate, it says that version 1.320 was installed, and continued saying that the MacPorts instlalation was not outdated and so was not updated.
I did sudo port install gtk2 again, and got the same error at the libiconv stage.
Thanks
comment:4 Changed 18 years ago by takanori@…
OK then, how about this?
$ sudo port clean libiconv $ sudo port install libiconv
If port:gperf is not installed correctly, try:
$ sudo port install gperf $ sudo port install libiconv
comment:5 Changed 18 years ago by teus@…
Thanks, this works well, I can now install libiconv. Will try again again to install it through sudo port install gtk2 to see if that goes well. If that has a problem still I'll file a bugreport for gtk2. Thanks again for the quick response! Teus.
comment:6 Changed 18 years ago by pipping@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Well, It seems that this issue was fixed in r21795, by blair@.
Could you please try:
before installing libiconv and tell me if it works? Thanks.