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? I am also having the problems with any port (or its dependencies) that require ncursesw (e.g. mutt, svn, etc). I'm not sure if my problems are related to your's, but it's at least coincidental that they both involve ncursesw. % mutt dyld: Library not loaded: /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_ncursesw/work/destroot/opt/local/lib/libncursesw.5.dylib Referenced from: /opt/local/bin/mutt Reason: image not found Trace/BPT trap I've tried uninstalling, cleaning and rebuilding the port and its dependencies, but always with the same results.
On Mar 19, 2007, at 15:35, Baron Fujimoto wrote:
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?
I am also having the problems with any port (or its dependencies) that require ncursesw (e.g. mutt, svn, etc). I'm not sure if my problems are related to your's, but it's at least coincidental that they both involve ncursesw.
% mutt dyld: Library not loaded: /opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ dports_devel_ncursesw/work/destroot/opt/local/lib/libncursesw.5.dylib Referenced from: /opt/local/bin/mutt Reason: image not found Trace/BPT trap
I've tried uninstalling, cleaning and rebuilding the port and its dependencies, but always with the same results.
Baron, your problem does not appear to be the same one John is reporting. Is your port tree up to date? Try "sudo port sync", then installing ncursesw again. 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?
On 2007-03-19 10:35:22 -1000, Baron Fujimoto wrote:
I am also having the problems with any port (or its dependencies) that require ncursesw (e.g. mutt, svn, etc). I'm not sure if my problems are related to your's, but it's at least coincidental that they both involve ncursesw.
% mutt dyld: Library not loaded: /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_ncursesw/work/destroot/opt/local/lib/libncursesw.5.dylib Referenced from: /opt/local/bin/mutt Reason: image not found Trace/BPT trap
This is a different problem: http://trac.macosforge.org/projects/macports/ticket/11307 But ncurses 5.5, Revision 1 is OK. -- Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
-----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
participants (4)
-
Baron Fujimoto
-
John Korchok
-
Ryan Schmidt
-
Vincent Lefevre