-----Original Message----- From: Ryan Schmidt [mailto:ryandesign@macports.org] Sent: Monday, March 19, 2007 10:21 PM To: Baron Fujimoto; John Korchok Cc: macports-users@lists.macosforge.org Subject: Re: Newbie ncursesw problem - can't install apache2
On Fri, 16 Mar 2007, John Korchok wrote:
: I am trying to install apache2 on an Intel Mac, but when it tries to build : ncursesw I always get: : : ---> Building ncursesw 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_devel_ncursesw/work/ncurses-5.5" && make : all" returned error 2 : Command output: cd man && make DESTDIR="" all : make[1]: Nothing to be done for `all'. : cd include && make DESTDIR="" all : make[1]: Nothing to be done for `all'. : cd ncurses && make DESTDIR="" all : gawk -f ./tinfo/MKnames.awk ./../include/Caps : make[1]: *** [codes.c] Illegal instruction : make: *** [all] Error 2 : : Error: The following dependencies failed to build: ncursesw : Error: Status 1 encountered during processing. : : I've tried all the usual clean -all installed and finally uninstalled : everything to start over, but I'm still getting this report. Any ideas?
John, I don't know what to tell you. ncursesw 5.5 (+universal, as it happens) built find for me (with MacPorts 1.5 from trunk) on my MacBook Pro. Which Intel Mac do you have? Is your OS up-to-date?
It's a Single Core Mac Mini, one year old. The OS is completely up-to date. I tried sudo port sync and for a minute I thought it was going to work: ---------------------------------------------- Server02:~ server$ sudo port install ncursesw Password: Portfile changed since last build; discarding previous state. ---> Fetching ncursesw ---> Attempting to fetch ncurses-5.6.tar.gz from ftp://ftp.gnu.org/gnu/ncurses ---> Verifying checksum(s) for ncursesw ---> Extracting ncursesw ---> Applying patches to ncursesw ---> Configuring ncursesw ---> Building ncursesw 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_devel_ncursesw/work/ncurses-5.6" && make all" returned error 2 Command output: } END { if (pass == 1) { print maxkey; } else if (pass == 4) { print ""; printf "#define "; print_cols("KEY_MAX", 16); result = sprintf (octal_fmt, key_max); print_cols(result, 16); printf "/* Maximum key value is "; printf octal_fmt, maxkey; print " */"; } } ' >$output <$data sh -c 'if test "cchar_t" = "cchar_t" ; then cat ./curses.wide >>curses.h ; fi' cat ./curses.tail >>curses.h sh ./MKhashsize.sh ./Caps >hashsize.h AWK=gawk sh ./MKncurses_def.sh ./ncurses_defs >ncurses_def.h AWK=gawk sh ./MKparametrized.sh ./Caps >parametrized.h /MKparametrized.sh: line 61: 25116 Illegal instruction ${AWK-awk} ' $3 != "str" {next;} $1 ~ /^acs_/ {print "-1,\t/* ", $2, " */"; count++; next;} $0 ~ /#[0-9]/ {print "1,\t/* ", $2, " */"; count++; next;} {print "0,\t/* ", $2, " */"; count++;} END {printf("} /* %d entries */;\n\n", count);} ' <$CAPS make[1]: *** [parametrized.h] Error 132 make: *** [all] Error 2 Error: Status 1 encountered during processing. ------------------------------------------------------------- I am out of my depth trying to troubleshoot this. To be honest, I am using MacPorts to avoid this kind of thing, but it really seems like the best policy is once you get a working system, don't upgrade it, cause something breaks every time. John Korchok