Opened 19 years ago

Closed 19 years ago

#3937 closed defect (fixed)

BUG: ncurses-5.4 won't install

Reported by: xcgr@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

I am unable to get ncurses to install under Mac OS X 10.2 and DarwinPorts 1.010.

[mac:~/] root# port -dv install ncurses DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/devel/ncurses DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/devel/ncurses DEBUG: Requested variant powerpc is not provided by port ncurses. DEBUG: Requested variant darwin is not provided by port ncurses. DEBUG: Requested variant macosx is not provided by port ncurses. DEBUG: Executing com.apple.main (ncurses) DEBUG: No TGZ archive: /opt/local/var/db/dports/packages/darwin/powerpc/ ncurses-5.4_1.powerpc.tgz DEBUG: Skipping unarchive (ncurses) since no archive found DEBUG: Skipping completed com.apple.unarchive (ncurses) ---> Fetching ncurses DEBUG: Executing com.apple.fetch (ncurses) ---> ncurses-5.4.tar.gz doesn't seem to exist in /opt/local/var/db/dports/distfiles/ncurses ---> Attempting to fetch ncurses-5.4.tar.gz from ftp://ftp.gnu.org/gnu/ncurses DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/distfiles/ncurses" && /usr/bin/curl -f -L - o ncurses-5.4.tar.gz.TMP 'ftp://ftp.gnu.org/gnu/ncurses/ncurses-5.4.tar.gz

% Total % Received % Xferd Average Speed Time Curr.

Dload Upload Total Current Left Speed

100 2103k 100 2103k 0 0 482k 0 0:00:04 0:00:04 0:00:00 519k ---> Verifying checksum(s) for ncurses DEBUG: Executing com.apple.checksum (ncurses) ---> Checksumming ncurses-5.4.tar.gz DEBUG: Correct (md5) checksum for ncurses-5.4.tar.gz ---> Extracting ncurses DEBUG: Executing com.apple.extract (ncurses) ---> Extracting ncurses-5.4.tar.gz DEBUG: setting option extract.args to /opt/local/var/db/dports/distfiles/ncurses/ncurses-5.4.tar.gz DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_devel_ncurses/ work" && gzip -dc /opt/local/var/db/dports/distfiles/ncurses/ncurses-5.4.tar.gz | gnutar -xf -' DEBUG: Executing com.apple.patch (ncurses) ---> Applying patches to ncurses ---> Applying /opt/local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate_dports/ devel/ncurses/files/patch-shlib DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_devel_ncurses/ work/ncurses-5.4" && patch -p0' patching file misc/shlib ---> Configuring ncurses DEBUG: Executing com.apple.configure (ncurses) DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_devel_ncurses/ work/ncurses-5.4" && ./configure --prefix=/opt/local --enable-widec --with-shared --without- debug --without-ada --mandir=/opt/local/share/man' Configuring NCURSES 5.4 ABI 5 (Sun Jul 10 04:10:46 CDT 2005) checking build system type... powerpc-apple-darwin6.8 checking host system type... powerpc-apple-darwin6.8 checking target system type... powerpc-apple-darwin6.8 Configuring for darwin6.8 checking for prefix... /opt/local checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking version of gcc... 3.3 checking how to run the C preprocessor... gcc -E checking whether gcc needs -traditional... no checking for POSIXized ISC... no checking for gcc option to accept ANSI C... -DCC_HAS_PROTOS checking for ldconfig... no checking if you want to ensure bool is consistent with C++... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for g++... /usr/bin/g++ checking version of g++... g++ (GCC) 3.3 20030304 (Apple Computer, Inc. build 1493) checking if you want to build C++ binding and demo... yes checking if you want to build with Ada95... no checking if you want to build programs such as tic... yes checking if you wish to install curses.h... yes checking for mawk... no checking for gawk... no checking for nawk... no checking for awk... awk checking whether make sets ${MAKE}... yes checking for a BSD compatible install... /usr/bin/install -c checking for long file names... yes checking if filesystem supports mixed-case filenames... no checking whether ln -s works... yes checking for ctags... yes checking for tdlint... no checking for lint... no checking for alint... no checking for man... man checking for ranlib... ranlib checking for ld... ld checking for ar... ar checking for archiver options (symbol AR_OPTS)... rv checking for makeflags variable... checking if you have specified an install-prefix... checking if you want to build libraries with libtool... no checking if you want to build shared libraries... yes checking if you want to build static libraries... yes checking if you want to build debug libraries... no checking if you want to build profiling libraries... no checking for specified models... shared normal checking for default model... shared checking if you want to build a separate terminfo library... no checking if you want to link with dbmalloc for testing... no checking if you want to link with dmalloc for testing... no checking if you want to link with the gpm mouse library... no checking for default loader flags... checking if rpath option should be used... no checking if release/abi version should be used for shared libs... auto checking which gcc option to use... -fPIC checking if you wish to install ncurses overwriting curses... no checking if external terminfo-database is used... yes checking which terminfo source-file will be installed... ${top_srcdir}/misc/terminfo.src checking for list of fallback descriptions... checking for list of terminfo directories... /opt/local/share/terminfo checking for default terminfo directory... /opt/local/share/terminfo checking if big-core option selected... yes checking if you want termcap-fallback support... no checking if ~/.terminfo is wanted... checking for remove... yes checking for unlink... yes checking if link/symlink functions work... link symlink checking if tic should use symbolic links... no checking if you want broken-linker support code... no checking for type of bool... auto checking for type of ospeed... short checking if tputs should process BSD-style prefix padding... no checking if RCS identifiers should be compiled-in... no checking format of man-pages... normal checking for manpage renaming... no checking if manpage aliases will be installed... yes checking if manpage symlinks should be used... yes checking for manpage tbl... no checking if you want to build with function extensions... yes checking for extended use of const keyword... no checking if you want $NCURSES_NO_PADDING code... yes checking if you want SIGWINCH handler... yes checking if you want user-definable terminal capabilities like termcap... yes checking if you want all development code... no checking if you want hard-tabs code... no checking if you want to use restrict environment when running as root... yes checking if you want limited support for xmc... no checking if you do not want to assume colors are white-on-black... yes checking if you want hashmap scrolling-optimization code... yes checking if you want colorfgbg code... no checking if you want experimental safe-sprintf code... no checking if we should define _XOPEN_SOURCE... yes checking if we should define _POSIX_C_SOURCE... (cached) yes checking if you want experimental wide-character code... yes checking if we must define _XOPEN_SOURCE... no checking checking for compatible value versus 500... yes checking if we must define _XOPEN_SOURCE_EXTENDED... yes checking for putwc... no checking for btowc... no checking for wctob... no checking for mbtowc... yes checking for wctomb... yes checking for mblen... yes checking for mbrlen... no checking for mbrtowc... no checking for putwc in libutf8... no checking if we must include wchar.h to declare mbstate_t... unknown checking if we must include wchar.h to declare wchar_t... no checking if we must include wchar.h to declare wint_t... unknown checking for terminal capabilities file... Caps checking if you want to display full commands during build... yes checking if you want to see compiler warnings... configure: checking for gcc attribute directives... ... scanf ... printf ... unused ... noreturn checking if you want to enable runtime assertions... no checking whether to add trace feature to all models... checking for gettimeofday... yes checking if -lm needed for math functions... no checking for ANSI C header files... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking whether time.h and sys/time.h may both be included... yes checking for regular-expression headers... regex.h checking for fcntl.h... yes checking for getopt.h... no checking for libc.h... yes checking for limits.h... yes checking for locale.h... yes checking for poll.h... no checking for sys/bsdtypes.h... no checking for sys/ioctl.h... yes checking for sys/param.h... yes checking for sys/poll.h... no checking for sys/select.h... yes checking for sys/time.h... yes checking for sys/times.h... yes checking for ttyent.h... yes checking for unistd.h... yes checking for wctype.h... no checking if sys/time.h works with sys/select.h... yes checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for inline... inline checking if unsigned literals are legal... yes checking for type of chtype... long checking if external errno is declared... yes checking if external errno exists... yes checking if data-only library module links... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getttynam... yes checking for issetugid... yes checking for memccpy... yes checking for nanosleep... yes checking for poll... no checking for remove... (cached) yes checking for select... yes checking for setbuf... yes checking for setbuffer... yes checking for setvbuf... yes checking for sigaction... yes checking for sigvec... yes checking for strdup... yes checking for strstr... yes checking for tcgetpgrp... yes checking for times... yes checking for vsnprintf... yes checking for isascii... yes checking whether sigaction needs _POSIX_SOURCE... no checking for termio.h... no checking for termios.h... yes checking for unistd.h... (cached) yes checking whether termios.h needs _POSIX_SOURCE... no checking for tcgetattr... yes checking for vsscanf function or workaround... vsscanf checking for working mkstemp... yes checking whether setvbuf arguments are reversed... no checking return type of signal handlers... void checking for type sigaction_t... no checking declaration of size-change... yes checking for memmove... yes checking if poll really works... no checking if we should include stdbool.h... yes checking for builtin bool type... no checking for library stdc++... no checking how to run the C++ preprocessor... /usr/bin/g++ -E checking for typeinfo... yes checking if we should include stdbool.h... (cached) yes checking for builtin bool type... yes checking for size of bool... unsigned int checking for special defines needed for etip.h... MATH_H checking if /usr/bin/g++ accepts parameter initialization... no checking for strstream.h... no checking if /usr/bin/g++ supports vscan function... stdio checking for library subsets... termlib+ext_tinfo+base+widechar+ext_funcs checking default library suffix... w checking default library-dependency suffix... w.dylib checking default object directory... obj_s checking c++ library-dependency suffix... w.a checking where we will install curses.h... $(prefix)/include/ncursesw checking for src modules... ncurses progs tack panel menu form configure: creating ./config.status config.status: creating include/MKterm.h.awk config.status: creating include/curses.head config.status: creating include/termcap.h config.status: creating include/unctrl.h config.status: creating man/Makefile config.status: creating include/Makefile config.status: creating ncurses/Makefile config.status: creating progs/Makefile config.status: creating tack/Makefile config.status: creating panel/Makefile config.status: creating menu/Makefile config.status: creating form/Makefile config.status: creating test/Makefile config.status: creating misc/Makefile config.status: creating c++/Makefile config.status: creating misc/run_tic.sh config.status: creating Makefile config.status: creating include/ncurses_cfg.h Appending rules for shared model (ncurses: termlib+ext_tinfo+base+widechar+ext_funcs) Appending rules for normal model (ncurses: termlib+ext_tinfo+base+widechar+ext_funcs) Appending rules for shared model (progs: termlib+ext_tinfo+base+widechar+ext_funcs) Appending rules for normal model (progs: termlib+ext_tinfo+base+widechar+ext_funcs) Appending rules for shared model (tack: termlib+ext_tinfo+base+widechar+ext_funcs) Appending rules for normal model (tack: termlib+ext_tinfo+base+widechar+ext_funcs) Appending rules for shared model (panel: termlib+ext_tinfo+base+widechar+ext_funcs) Appending rules for normal model (panel: termlib+ext_tinfo+base+widechar+ext_funcs) Appending rules for shared model (menu: termlib+ext_tinfo+base+widechar+ext_funcs) Appending rules for normal model (menu: termlib+ext_tinfo+base+widechar+ext_funcs) Appending rules for shared model (form: termlib+ext_tinfo+base+widechar+ext_funcs) Appending rules for normal model (form: termlib+ext_tinfo+base+widechar+ext_funcs) Appending rules for shared model (test: termlib+ext_tinfo+base+widechar+ext_funcs) Appending rules for normal model (test: termlib+ext_tinfo+base+widechar+ext_funcs) Appending rules for shared model (c++: termlib+ext_tinfo+base+widechar+ext_funcs) Appending rules for normal model (c++: termlib+ext_tinfo+base+widechar+ext_funcs) creating headers.sh

Configuration summary for NCURSES 5.4 20040208:

bin directory: /opt/local/bin lib directory: /opt/local/lib

include directory: /opt/local/include/ncursesw

man directory: /opt/local/share/man

terminfo directory: /opt/local/share/terminfo

Include-directory is not in a standard location ---> Building ncurses with target all DEBUG: Executing com.apple.build (ncurses) DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_devel_ncurses/ work/ncurses-5.4" && make all' cd man && make DESTDIR="" all sh ./MKterminfo.sh ./terminfo.head ./../include/Caps ./terminfo.tail >terminfo.5 cd include && make DESTDIR="" all cat curses.head >curses.h AWK=awk sh ./MKkey_defs.sh ./Caps >>curses.h 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=awk sh ./MKncurses_def.sh ./ncurses_defs >ncurses_def.h AWK=awk sh ./MKparametrized.sh ./Caps >parametrized.h awk -f MKterm.h.awk ./Caps > term.h sh ./edit_cfg.sh ../include/ncurses_cfg.h term.h edit: HAVE_TCGETATTR 1 edit: HAVE_TERMIOS_H 1 edit: HAVE_TERMIO_H 0 edit: BROKEN_LINKER 0 cd ncurses && make DESTDIR="" all sh ./base/MKlib_gen.sh "gcc -E -DHAVE_CONFIG_H -I../ncurses -I. -I. -I../include - D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE -D_XOPEN_SOURCE_EXTENDED -DNDEBUG -I/opt/local/ include/ncursesw" "awk" generated <../include/curses.h | \

fgrep undef >../include/nomacros.h

awk -f ./tinfo/MKnames.awk ./../include/Caps cat namehdr boolnames boolfnames numnames numfnames strnames strfnames nameftr >names.c cat namehdr boolcodes numcodes strcodes codeftr >codes.c rm -f namehdr nameftr codeftr boolnames boolfnames boolcodes numnames numfnames numcodes strnames strfnames strcodes gcc -o make_hash -DHAVE_CONFIG_H -I../ncurses -I. -DHAVE_CONFIG_H -I../ncurses -I. -I. -I../ include -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE -D_XOPEN_SOURCE_EXTENDED -DNDEBUG -I/ opt/local/include/ncursesw -O2 -no-cpp-precomp -DMAIN_PROGRAM ./tinfo/comp_hash.c In file included from ../ncurses/curses.priv.h:259,

from tinfo/comp_hash.c:40:

../include/curses.h:1194: error: parse error before '*' token ../include/curses.h:1195: error: parse error before '*' token ../include/curses.h:1198: error: parse error before '*' token ../include/curses.h:1215: error: parse error before "wint_t" ../include/curses.h:1216: error: parse error before "wint_t" ../include/curses.h:1217: error: parse error before "wint_t" ../include/curses.h:1233: error: parse error before "wint_t" ../include/curses.h:1234: error: parse error before "wint_t" ../include/curses.h:1235: error: parse error before "wint_t" ../include/curses.h:1263: error: parse error before "wint_t" ../include/curses.h:1264: error: parse error before "wint_t" ../include/curses.h:1266: error: parse error before "wint_t" In file included from tinfo/comp_hash.c:40: ../ncurses/curses.priv.h:902: warning: parameter names (without types) in function declaration ../ncurses/curses.priv.h:903: error: parse error before "_nc_to_widechar" ../ncurses/curses.priv.h:903: warning: data definition has no type or storage class make[1]: * [make_hash] Error 1 make: * [all] Error 2 Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_devel_ncurses/ work/ncurses-5.4" && make all" returned error 2 Command output: edit: HAVE_TERMIO_H 0 edit: BROKEN_LINKER 0 cd ncurses && make DESTDIR="" all sh ./base/MKlib_gen.sh "gcc -E -DHAVE_CONFIG_H -I../ncurses -I. -I. -I../include - D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE -D_XOPEN_SOURCE_EXTENDED -DNDEBUG -I/opt/local/ include/ncursesw" "awk" generated <../include/curses.h | \

fgrep undef >../include/nomacros.h

awk -f ./tinfo/MKnames.awk ./../include/Caps cat namehdr boolnames boolfnames numnames numfnames strnames strfnames nameftr >names.c cat namehdr boolcodes numcodes strcodes codeftr >codes.c rm -f namehdr nameftr codeftr boolnames boolfnames boolcodes numnames numfnames numcodes strnames strfnames strcodes gcc -o make_hash -DHAVE_CONFIG_H -I../ncurses -I. -DHAVE_CONFIG_H -I../ncurses -I. -I. -I../ include -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE -D_XOPEN_SOURCE_EXTENDED -DNDEBUG -I/ opt/local/include/ncursesw -O2 -no-cpp-precomp -DMAIN_PROGRAM ./tinfo/comp_hash.c In file included from ../ncurses/curses.priv.h:259,

from tinfo/comp_hash.c:40:

../include/curses.h:1194: error: parse error before '*' token ../include/curses.h:1195: error: parse error before '*' token ../include/curses.h:1198: error: parse error before '*' token ../include/curses.h:1215: error: parse error before "wint_t" ../include/curses.h:1216: error: parse error before "wint_t" ../include/curses.h:1217: error: parse error before "wint_t" ../include/curses.h:1233: error: parse error before "wint_t" ../include/curses.h:1234: error: parse error before "wint_t" ../include/curses.h:1235: error: parse error before "wint_t" ../include/curses.h:1263: error: parse error before "wint_t" ../include/curses.h:1264: error: parse error before "wint_t" ../include/curses.h:1266: error: parse error before "wint_t" In file included from tinfo/comp_hash.c:40: ../ncurses/curses.priv.h:902: warning: parameter names (without types) in function declaration ../ncurses/curses.priv.h:903: error: parse error before "_nc_to_widechar" ../ncurses/curses.priv.h:903: warning: data definition has no type or storage class make[1]: * [make_hash] Error 1 make: * [all] Error 2

Warning: the following items did not execute (for ncurses): com.apple.install com.apple.build com.apple.destroot com.apple.archive

Change History (4)

comment:1 Changed 19 years ago by mww@…

we officially don't support 10.2 anymore and I don't have a system running it; perhaps you want to ask someone on the list to help out on this one?

comment:2 Changed 19 years ago by mww@…

please update, check & report back - I've removed widechar support for 10.2;

comment:3 Changed 19 years ago by xcgr@…

It works now. Thanks!

comment:4 Changed 19 years ago by mww@…

Resolution: fixed
Status: newclosed

well, no widechar support on 10.2 - fixed;

Note: See TracTickets for help on using tickets.