I still don't have a working installation of Apache2 with php5 and mysql 5, because I can't get ncursesw to install. I did have a working installation until I decided to upgrade. This is running (or not) on a Mac Mini Single Core (a year old) with OS fully updated. I've cleaned, synced, uninstalled and reinstalled everything. I have reformatted the terminal output to resemble what I see on-screen. Does this tell anyone anything? Is there a clue here? What is "Illegal instruction ${AWK-awk}" in line 34? Thanks for any help, sorry for being ignorant. John Korchok ------------------------------------------------- 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.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mar 21, 2007, at 8:30 PM, John Korchok wrote:
I have reformatted the terminal output to resemble what I see on- screen. Does this tell anyone anything? Is there a clue here? What is "Illegal instruction ${AWK-awk}" in line 34? Thanks for any help, sorry for being ignorant.
try installing gawk (GNU awk) from ports (port install gawk) and re- do the install. run port clean ncursesw && port install ncursesw and let us know what happens. - -- Paul Beard contact info: www.paulbeard.org/paulbeard.vcf pictures: http://www.flickr.com/photos/pdb206/ Are you trying to win an argument or solve a problem? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iD8DBQFGAgcXfHLPwpj1/JQRAlncAJoDOFASHJPuhhs48p6S/85iFeSTNQCglKFg TLjp5vHjGBv2a6+/hgCha5Y= =wTqY -----END PGP SIGNATURE-----
On Mar 21, 2007, at 23:33, Paul Beard wrote:
On Mar 21, 2007, at 8:30 PM, John Korchok wrote:
I have reformatted the terminal output to resemble what I see on- screen. Does this tell anyone anything? Is there a clue here? What is "Illegal instruction ${AWK-awk}" in line 34? Thanks for any help, sorry for being ignorant.
try installing gawk (GNU awk) from ports (port install gawk) and re- do the install.
run port clean ncursesw && port install ncursesw and let us know what happens.
But no: the lines in John's output starting with "AWK=gawk" show that gawk is already installed on his system. But John, I can't get the ncurses/ncursesw install to fail on my MacBook Pro, with or without gawk installed. Either way, it installs just fine. First question: how is gawk installed on your system? With MacPorts, or with Fink, or manually? What does "which gawk" say? What about sh? Do you have a weird version of sh installed somewhere? What does "which sh" say?
Gawk is the MacPorts version. Which gawk returns /opt/local/bin/gawk. Which sh returns /bin/sh. I've never installed any unusual shells. As stated in my previous message, I have already run port clean ncursesw and port install ncursesw, that's what results in the error. I really appreciate the help. Thanks! John
-----Original Message----- From: Ryan Schmidt [mailto:ryandesign@macports.org] Sent: Thursday, March 22, 2007 5:14 AM To: John Korchok; Paul Beard Cc: macports Users Subject: Re: (no subject)
On Mar 21, 2007, at 23:33, Paul Beard wrote:
On Mar 21, 2007, at 8:30 PM, John Korchok wrote:
I have reformatted the terminal output to resemble what I see on- screen. Does this tell anyone anything? Is there a clue here? What is "Illegal instruction ${AWK-awk}" in line 34? Thanks for any help, sorry for being ignorant.
try installing gawk (GNU awk) from ports (port install gawk) and re- do the install.
run port clean ncursesw && port install ncursesw and let us know what happens.
But no: the lines in John's output starting with "AWK=gawk" show that gawk is already installed on his system. But John, I can't get the ncurses/ncursesw install to fail on my MacBook Pro, with or without gawk installed. Either way, it installs just fine.
First question: how is gawk installed on your system? With MacPorts, or with Fink, or manually? What does "which gawk" say? What about sh? Do you have a weird version of sh installed somewhere? What does "which sh" say?
participants (3)
-
John Korchok
-
Paul Beard
-
Ryan Schmidt