bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building any ncurses source on Mac OS 10.1.5


From: Scott Corscadden
Subject: Re: Building any ncurses source on Mac OS 10.1.5
Date: Fri, 6 Feb 2004 15:37:21 -0500

Tried 5.3 prior to hunting this build down - here's the output of "./configure", followed by "make":

bash-2.05$ ./configure
Configuring NCURSES 5.3 ABI 5 (Fri Feb  6 15:25:38 EST 2004)
checking build system type... powerpc-apple-darwin5.5
checking host system type... powerpc-apple-darwin5.5
checking target system type... powerpc-apple-darwin5.5
Configuring for darwin5.5
checking for prefix... /usr/local
checking for gcc... no
checking for cc... cc
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 cc accepts -g... yes
checking version of gcc... 2.95.2
checking how to run the C preprocessor... cc -E
checking whether cc needs -traditional... no
checking for POSIXized ISC... no
checking for cc 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++... no
checking for c++... c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking version of g++... 2.95.2
checking if you want to build C++ binding and demo... yes
checking if you want to build with Ada95... yes
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 ranlib... ranlib
checking for ctags... yes
checking for tdlint... no
checking for lint... no
checking for alint... no
checking for man... man
checking for loader (symbol LD)... ld
checking for archiver (symbol 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... no
checking if you want to build static libraries... yes
checking if you want to build debug libraries... yes
checking if you want to build profiling libraries... no
checking for specified models...  normal debug
checking for default model... normal
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 cc 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... /usr/local/share/terminfo
checking for default terminfo directory... /usr/local/share/terminfo
checking if big-core option selected... yes
checking if you want termcap-fallback support... no
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...
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 for manpage symlinks... 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 you want experimental wide-character code... no
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 cc __attribute__ directives...
... scanf
... printf
... unused
... noreturn
checking if you want to enable runtime assertions... no
checking for gettimeofday... yes
checking if -lm needed for math functions... no
checking if we must define _GNU_SOURCE... 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 if sys/time.h works with sys/select.h... yes
checking for cc 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... no
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getttynam... yes
checking for issetugid... no
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 for stdbool.h... yes
checking for builtin bool type... no
checking for library stdc++... yes
checking how to run the C++ preprocessor... c++ -E
checking for typeinfo... yes
checking for 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... none
checking if c++ accepts parameter initialization... yes
checking for strstream.h... yes
checking if c++ supports vscan function... strstream
checking for gnatmake... no
checking for library subsets... termlib+base+ext_funcs
checking default library suffix...
checking default library-dependency suffix... .a
checking default object directory... objects
checking c++ library-dependency suffix... .a
checking where we will install curses.h... $(prefix)/include/ncurses
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 misc/run_tic.sh
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 Makefile
config.status: creating include/ncurses_cfg.h
Appending rules for normal model (ncurses: termlib+base+ext_funcs)
Appending rules for debug model (ncurses: termlib+base+ext_funcs)
Appending rules for normal model (progs: termlib+base+ext_funcs)
Appending rules for debug model (progs: termlib+base+ext_funcs)
Appending rules for normal model (tack: termlib+base+ext_funcs)
Appending rules for debug model (tack: termlib+base+ext_funcs)
Appending rules for normal model (panel: termlib+base+ext_funcs)
Appending rules for debug model (panel: termlib+base+ext_funcs)
Appending rules for normal model (menu: termlib+base+ext_funcs)
Appending rules for debug model (menu: termlib+base+ext_funcs)
Appending rules for normal model (form: termlib+base+ext_funcs)
Appending rules for debug model (form: termlib+base+ext_funcs)
Appending rules for normal model (test: termlib+base+ext_funcs)
Appending rules for debug model (test: termlib+base+ext_funcs)
Appending rules for normal model (c++: termlib+base+ext_funcs)
Appending rules for debug model (c++: termlib+base+ext_funcs)
creating headers.sh

** Configuration summary for NCURSES 5.3 20021012:

      bin directory: /usr/local/bin
      lib directory: /usr/local/lib
  include directory: /usr/local/include/ncurses
      man directory: /usr/local/man
 terminfo directory: /usr/local/share/terminfo

** Include-directory is not in a standard location
bash-2.05$ make
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 "chtype" = "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 1
cd ncurses && make DESTDIR="" all
sh ./base/MKlib_gen.sh "cc -E -DHAVE_CONFIG_H -I../ncurses -I. -DNDEBUG -I. -I../include -I/usr/local/include/ncurses" "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 cc -o make_hash -DHAVE_CONFIG_H -I../ncurses -I. -O2 -no-cpp-precomp -DHAVE_CONFIG_H -I../ncurses -I. -DNDEBUG -I. -I../include -I/usr/local/include/ncurses -DMAIN_PROGRAM ./tinfo/comp_hash.c
sh ./tinfo/MKcaptab.awk awk ./../include/Caps > comp_captab.c
sh ./tty/MKexpanded.sh "cc -E" -DHAVE_CONFIG_H -I../ncurses -I. -DNDEBUG -I. -I../include -I/usr/local/include/ncurses > expanded.c sh ./tinfo/MKfallback.sh /usr/local/share/terminfo ../misc/terminfo.src >fallback.c cc -o make_keys -DHAVE_CONFIG_H -I../ncurses -I. -O2 -no-cpp-precomp -DHAVE_CONFIG_H -I../ncurses -I. -DNDEBUG -I. -I../include -I/usr/local/include/ncurses ./tinfo/make_keys.c
AWK=awk sh ./tinfo/MKkeys_list.sh ../include/Caps | sort >keys.list
./make_keys keys.list > init_keytry.h
sh ./base/MKlib_gen.sh "cc -E -DHAVE_CONFIG_H -I../ncurses -I. -DNDEBUG -I. -I../include -I/usr/local/include/ncurses" "awk" generated <../include/curses.h >lib_gen.c
awk -f ./base/MKkeyname.awk keys.list > lib_keyname.c
sh ./base/MKlib_gen.sh "cc -E -DHAVE_CONFIG_H -I../ncurses -I. -DNDEBUG -I. -I../include -I/usr/local/include/ncurses" "awk" implemented <../include/curses.h >link_test.c
echo | awk -f ./base/MKunctrl.awk >unctrl.c
cd ../objects; cc -DHAVE_CONFIG_H -I../ncurses -I. -DNDEBUG -I. -I../include -I/usr/local/include/ncurses -O2 -no-cpp-precomp -c ../ncurses/./tty/hardscroll.c cd ../objects; cc -DHAVE_CONFIG_H -I../ncurses -I. -DNDEBUG -I. -I../include -I/usr/local/include/ncurses -O2 -no-cpp-precomp -c ../ncurses/./tty/hashmap.c cd ../objects; cc -DHAVE_CONFIG_H -I../ncurses -I. -DNDEBUG -I. -I../include -I/usr/local/include/ncurses -O2 -no-cpp-precomp -c ../ncurses/./base/lib_addch.c cd ../objects; cc -DHAVE_CONFIG_H -I../ncurses -I. -DNDEBUG -I. -I../include -I/usr/local/include/ncurses -O2 -no-cpp-precomp -c ../ncurses/./base/lib_addstr.c cd ../objects; cc -DHAVE_CONFIG_H -I../ncurses -I. -DNDEBUG -I. -I../include -I/usr/local/include/ncurses -O2 -no-cpp-precomp -c ../ncurses/./base/lib_beep.c cd ../objects; cc -DHAVE_CONFIG_H -I../ncurses -I. -DNDEBUG -I. -I../include -I/usr/local/include/ncurses -O2 -no-cpp-precomp -c ../ncurses/./base/lib_bkgd.c cd ../objects; cc -DHAVE_CONFIG_H -I../ncurses -I. -DNDEBUG -I. -I../include -I/usr/local/include/ncurses -O2 -no-cpp-precomp -c ../ncurses/./base/lib_box.c cd ../objects; cc -DHAVE_CONFIG_H -I../ncurses -I. -DNDEBUG -I. -I../include -I/usr/local/include/ncurses -O2 -no-cpp-precomp -c ../ncurses/./base/lib_chgat.c cd ../objects; cc -DHAVE_CONFIG_H -I../ncurses -I. -DNDEBUG -I. -I../include -I/usr/local/include/ncurses -O2 -no-cpp-precomp -c ../ncurses/./base/lib_clear.c cd ../objects; cc -DHAVE_CONFIG_H -I../ncurses -I. -DNDEBUG -I. -I../include -I/usr/local/include/ncurses -O2 -no-cpp-precomp -c ../ncurses/./base/lib_clearok.c cd ../objects; cc -DHAVE_CONFIG_H -I../ncurses -I. -DNDEBUG -I. -I../include -I/usr/local/include/ncurses -O2 -no-cpp-precomp -c ../ncurses/./base/lib_clrbot.c cd ../objects; cc -DHAVE_CONFIG_H -I../ncurses -I. -DNDEBUG -I. -I../include -I/usr/local/include/ncurses -O2 -no-cpp-precomp -c ../ncurses/./base/lib_clreol.c cd ../objects; cc -DHAVE_CONFIG_H -I../ncurses -I. -DNDEBUG -I. -I../include -I/usr/local/include/ncurses -O2 -no-cpp-precomp -c ../ncurses/./base/lib_color.c cd ../objects; cc -DHAVE_CONFIG_H -I../ncurses -I. -DNDEBUG -I. -I../include -I/usr/local/include/ncurses -O2 -no-cpp-precomp -c ../ncurses/./base/lib_colorset.c cd ../objects; cc -DHAVE_CONFIG_H -I../ncurses -I. -DNDEBUG -I. -I../include -I/usr/local/include/ncurses -O2 -no-cpp-precomp -c ../ncurses/./base/lib_delch.c cd ../objects; cc -DHAVE_CONFIG_H -I../ncurses -I. -DNDEBUG -I. -I../include -I/usr/local/include/ncurses -O2 -no-cpp-precomp -c ../ncurses/./base/lib_delwin.c cd ../objects; cc -DHAVE_CONFIG_H -I../ncurses -I. -DNDEBUG -I. -I../include -I/usr/local/include/ncurses -O2 -no-cpp-precomp -c ../ncurses/./base/lib_echo.c cd ../objects; cc -DHAVE_CONFIG_H -I../ncurses -I. -DNDEBUG -I. -I../include -I/usr/local/include/ncurses -O2 -no-cpp-precomp -c ../ncurses/./base/lib_endwin.c cd ../objects; cc -DHAVE_CONFIG_H -I../ncurses -I. -DNDEBUG -I. -I../include -I/usr/local/include/ncurses -O2 -no-cpp-precomp -c ../ncurses/./base/lib_erase.c cd ../objects; cc -DHAVE_CONFIG_H -I../ncurses -I. -DNDEBUG -I. -I../include -I/usr/local/include/ncurses -O2 -no-cpp-precomp -c ../ncurses/./base/lib_flash.c cd ../objects; cc -DHAVE_CONFIG_H -I../ncurses -I. -DNDEBUG -I. -I../include -I/usr/local/include/ncurses -O2 -no-cpp-precomp -c ../ncurses/lib_gen.c
../ncurses/lib_gen.c:640: unbalanced `#endif'
../ncurses/lib_gen.c:649: unbalanced `#endif'
make[1]: *** [../objects/lib_gen.o] Error 1
make: *** [all] Error 2
bash-2.05$


./sc

On Feb 6, 2004, at 3:14 PM, Thomas Dickey wrote:

On Fri, 6 Feb 2004, Scott Corscadden wrote:

Hi there. Tried building multiple dists of ncurses on a somewhat old
server - seemed to find a 5.2.1 distribution that was specifically for
Mac OS X 10.1 (as it's included in the OS beyond that), builds fine,
but sudo make install gives:

"/tmp/28268", line 395, col 3, terminal 'ecma+color': unknown
capability 'AX'
"/tmp/28268", line 3193, col 40, terminal 'screen': unknown capability
'G0'
"/tmp/28268", line 3212, col 59, terminal 'screen': unknown capability
'E0'
"/tmp/28268", line 3213, col 12, terminal 'screen': unknown capability
'S0'
"/tmp/28268", line 3165, terminal 'eterm': name multiply defined.
"/tmp/28268", line 12958, terminal 'NCR260VT300WPP': can't link
N/NCR260VT300WPP to n/ncr260vt300wpp

I fixed that (the can't-link problem) in ncurses 5.3. Doesn't that build?

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net






reply via email to

[Prev in Thread] Current Thread [Next in Thread]