#13004 closed defect (fixed)
installing irssi + perl support quits with error on Mac OS X 10.5 Leopard
Reported by: | fauconnier.steven@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.5.0 |
Keywords: | leopard irssi perl | Cc: | fauconnier.steven@… |
Port: |
Description
Installing irssi with perl support exits with the following error:
Steven:~ Steven$ sudo port install irssi +perl Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_irc_irssi/work/irssi-0.8.11" && make all " returned error 2 Command output: Making all in core make[4]: Nothing to be done for `all'. Making all in dcc make[4]: Nothing to be done for `all'. Making all in flood make[4]: Nothing to be done for `all'. Making all in notifylist make[4]: Nothing to be done for `all'. Making all in proxy make[4]: Nothing to be done for `all'. make[4]: Nothing to be done for `all-am'. Making all in fe-common Making all in core make[4]: Nothing to be done for `all'. Making all in irc Making all in dcc make[5]: Nothing to be done for `all'. Making all in notifylist make[5]: Nothing to be done for `all'. make[5]: Nothing to be done for `all-am'. make[4]: Nothing to be done for `all-am'. Making all in perl if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../src/core -I../../src/fe-common/core -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DSCRIPTDIR=\""/opt/local/share/irssi/scripts"\" -DPERL_USE_LIB=\""/opt/local/lib/perl5/darwin/darwin-thread-multi-2level"\" -DPERL_STATIC_LIBS=0 -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -Wdeclaration-after-statement -I/usr/local/include -I/System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE -I/opt/local/include -no-cpp-precomp -O2 -Wall -I/opt/local/include -MT perl-core.lo -MD -MP -MF ".deps/perl-core.Tpo" -c -o perl-core.lo perl-core.c; \ then mv -f ".deps/perl-core.Tpo" ".deps/perl-core.Plo"; else rm -f ".deps/perl-core.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../src/core -I../../src/fe-common/core -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DSCRIPTDIR=\"/opt/local/share/irssi/scripts\" -DPERL_USE_LIB=\"/opt/local/lib/perl5/darwin/darwin-thread-multi-2level\" -DPERL_STATIC_LIBS=0 -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -Wdeclaration-after-statement -I/usr/local/include -I/System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE -I/opt/local/include -no-cpp-precomp -O2 -Wall -I/opt/local/include -MT perl-core.lo -MD -MP -MF .deps/perl-core.Tpo -c perl-core.c -fno-common -DPIC -o .libs/perl-core.o gcc-4.0: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags make[3]: *** [perl-core.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing.
Change History (6)
comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | fauconnier.steven@… added |
---|---|
Milestone: | → Port Bugs |
Summary: | installing irssi + perl support quits with error on Leopard → installing irssi + perl support quits with error on Mac OS X 10.5 Leopard |
comment:2 Changed 17 years ago by gustafsson.g@…
comment:4 Changed 17 years ago by fourohfour@…
This bug is also in irssi's bug tracker. I managed to get it to build by doing:
sudo port clean irssi +perl sudo port configure irssi +perl cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_irc_irssi/work sudo find . -type f -exec sed -i "" -e "s/-arch ppc//g" {} \; cd sudo port install irssi +perl
Note: See
TracTickets for help on using
tickets.
Really don't know what is causing macports to compile for both i386 and ppc but it seems pretty random (atleast for me since i haven't used macports for any length of time). I had macports on leopard and could install irssi +perl but then i uninstalled macports and later on installed it again (duh) and that's when i encountered this. But port sync; port uninstall irssi; port install irssi +perl did it today so good luck