Problem installing ncurses/ncursesw

Jody Paul joatmon at mac.com
Sat Aug 4 19:40:34 PDT 2007


I am having trouble when I attempt to install any ports that depend on ncurses.
Running on a MacBook Pro (Intel) with OS X 10.4.10 I get the following when trying to install the ncurses port.
Any advice on what I should be doing to make this work?
Thanks!!!

% sudo port install ncurses
--->  Building ncursesw with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncursesw/work/ncurses-5.6" && make all " returned error 2
Command output: /usr/bin/gcc-4.0 -O2  -no-cpp-precomp -no-cpp-precomp -o bs ../obj_s/bs.o -L/opt/local/lib -Wl,-search_paths_first -I../test -I. -DHAVE_CONFIG_H -I. -I../include -I/opt/local/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=500 -DSIGWINCH=28 -D_XOPEN_SOURCE_EXTENDED -DNDEBUG -I/opt/local/include/ncursesw -O2  -no-cpp-precomp -no-cpp-precomp -dynamic  `echo "-L../lib -lformw -lmenuw -lpanelw -lncursesw  " | sed -e 's/-lform.*-lpanel[^ ]*//'` 
/usr/bin/gcc-4.0 -O2  -no-cpp-precomp -no-cpp-precomp -o cardfile ../obj_s/cardfile.o -L/opt/local/lib -Wl,-search_paths_first -I../test -I. -DHAVE_CONFIG_H -I. -I../include -I/opt/local/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=500 -DSIGWINCH=28 -D_XOPEN_SOURCE_EXTENDED -DNDEBUG -I/opt/local/include/ncursesw -O2  -no-cpp-precomp -no-cpp-precomp -dynamic  -L../lib -lformw -lmenuw -lpanelw -lncursesw   
/usr/bin/ld: warning /opt/local/lib/libformw.dylib cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)
/usr/bin/ld: warning /opt/local/lib/libmenuw.dylib cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)
/usr/bin/ld: warning /opt/local/lib/libpanelw.dylib cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)
/usr/bin/ld: Undefined symbols:
_field_buffer
_field_opts_off
_form_driver
_form_fields
_form_sub
_form_win
_free_field
_free_form
_new_field
_new_form
_new_panel
_panel_window
_post_form
_set_field_back
_set_field_buffer
_set_field_just
_set_form_sub
_set_form_win
_top_panel
_unpost_form
_update_panels
collect2: ld returned 1 exit status
make[1]: *** [cardfile] Error 1
make: *** [all] Error 2

Error: The following dependencies failed to build: ncursesw
Error: Status 1 encountered during processing.
[JPTravelerPro:~] jody% 




More information about the macports-users mailing list