[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-nano] ncurses -- compile problem with both tar.gz and src.rpm
From: |
Thomas A. |
Subject: |
[Help-nano] ncurses -- compile problem with both tar.gz and src.rpm |
Date: |
Wed, 21 Jun 2006 16:02:38 -0500 |
Is the version of ncurses I have incorrect or is nano just not finding the
libraries?
I tried [./configure --libdir=/lib] with no resolve.
Is there a remedy?
___please find extra information below___
SuSE Linux 9.0 (i586)
Linux SUSEHOST 2.4.21-243-smp #1 SMP Thu Aug 12 15:25:35 UTC 2004 i686 i686
i386 GNU/Linux
___make output___
make all-recursive
make[1]: Entering directory `/root/packages/nano-1.2.5'
Making all in po
make[2]: Entering directory `/root/packages/nano-1.2.5/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/packages/nano-1.2.5/po'
Making all in m4
make[2]: Entering directory `/root/packages/nano-1.2.5/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/packages/nano-1.2.5/m4'
make[2]: Entering directory `/root/packages/nano-1.2.5'
gcc -DSYSCONFDIR=\"/usr/local/etc\" -I. -I. -I. -Iintl
-DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/include -g -O2 -c
color.c
In file included from proto.h:30,
from color.c:31:
nano.h:62:21: curses.h: No such file or directory
In file included from color.c:31:
proto.h:50: error: parse error before '*' token
proto.h:50: warning: data definition has no type or storage class
proto.h:430: error: parse error before '*' token
proto.h:489: error: parse error before '*' token
make[2]: *** [color.o] Error 1
make[2]: Leaving directory `/root/packages/nano-1.2.5'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/packages/nano-1.2.5'
make: *** [all] Error 2
___ERROR @ ./configure___
configure: WARNING:
*** No termcap lib available, consider getting the official ncurses
*** distribution from ftp://ftp.gnu.org/pub/gnu/ncurses if you get
*** errors compiling nano.
___Version of ncurses installed via. RPM___
rpm -q ncurses
ncurses-5.3-115
___rpmbuild --rebuild for SRC___
rpmbuild --rebuild nano-1.2.5-1.src.rpm
Installing nano-1.2.5-1.src.rpm
warning: user chrisa does not exist - using root
warning: group src does not exist - using root
warning: user chrisa does not exist - using root
warning: group chrisa does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.83722
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf nano-1.2.5
+ /usr/bin/gzip -dc /usr/src/packages/SOURCES/nano-1.2.5.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nano-1.2.5
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.83722
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd nano-1.2.5
+ CFLAGS=-O2 -g -march=i586 -mcpu=i686 -fmessage-length=0
+ export CFLAGS
+ CXXFLAGS=-O2 -g -march=i586 -mcpu=i686 -fmessage-length=0
+ export CXXFLAGS
+ FFLAGS=-O2 -g -march=i586 -mcpu=i686 -fmessage-length=0
+ export FFLAGS
+ ./configure --host=i686-suse-linux --build=i686-suse-linux
--target=i586-suse-linux --program-prefix= --prefix=/usr --exec-prefix=/usr
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
--includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec
--localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info --enable-all
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-suse-linux-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking build system type... i686-suse-linux-gnu
checking host system type... i686-suse-linux-gnu
checking for ld used by GCC... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for regex.h... (cached) yes
checking for broken regexec... no
configure: WARNING:
***********************************************************************
*** WARNING: Color support is far from perfect, but functional. ***
*** Be careful with syntax in your .nanorc or nano may malfunction. ***
***********************************************************************
checking whether to use slang... no
checking for snprintf... yes
checking for vsnprintf... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for getopt_long... yes
checking curses.h usability... no
checking curses.h presence... no
checking for curses.h... no
checking ncurses.h usability... no
checking ncurses.h presence... no
checking for ncurses.h... no
checking for tgetent in -lncurses... no
checking for tgetent in -lcurses... no
checking for initscr in -lcurses... no
checking for tgetent in -ltermcap... no
configure: WARNING:
*** No termcap lib available, consider getting the official ncurses
*** distribution from ftp://ftp.gnu.org/pub/gnu/ncurses if you get
*** errors compiling nano.
checking for use_default_colors in -l... no
checking for private member _use_keypad in WINDOW... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating m4/Makefile
config.status: creating po/Makefile.in
config.status: creating nano.spec
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
+ make 'RPM_OPT_FLAGS=-O2 -g -march=i586 -mcpu=i686 -fmessage-length=0'
make all-recursive
make[1]: Entering directory `/usr/src/packages/BUILD/nano-1.2.5'
Making all in po
make[2]: Entering directory `/usr/src/packages/BUILD/nano-1.2.5/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/packages/BUILD/nano-1.2.5/po'
Making all in m4
make[2]: Entering directory `/usr/src/packages/BUILD/nano-1.2.5/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/packages/BUILD/nano-1.2.5/m4'
make[2]: Entering directory `/usr/src/packages/BUILD/nano-1.2.5'
gcc -DSYSCONFDIR=\"/etc\" -I. -I. -I. -Iintl -DLOCALEDIR=\"/usr/share/locale\"
-I/usr/include -O2 -g -march=i586 -mcpu=i686 -fmessage-length=0 -c color.c
In file included from proto.h:30,
from color.c:31:
nano.h:62:21: curses.h: No such file or directory
In file included from color.c:31:
proto.h:50: error: parse error before '*' token
proto.h:50: warning: data definition has no type or storage class
proto.h:430: error: parse error before '*' token
proto.h:489: error: parse error before '*' token
color.c: In function `do_colorinit':
color.c:89: error: `COLOR_BLACK' undeclared (first use in this function)
color.c:89: error: (Each undeclared identifier is reported only once
color.c:89: error: for each function it appears in.)
make[2]: *** [color.o] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/nano-1.2.5'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/nano-1.2.5'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.83722 (%build)
RPM build errors:
user chrisa does not exist - using root
group src does not exist - using root
user chrisa does not exist - using root
group chrisa does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.83722 (%build)
___OTHER INTERESTING FILES___
/lib/libncurses.so.5
/lib/libncurses.so.5.3
/usr/lib/libncurses.so.1.9.7a
/usr/lib/libncurses.so.2.1
/usr/lib/libncurses.so.4
/usr/lib/libncurses.so.4.2
/usr/lib/libncursesw.so.5
/usr/lib/libncursesw.so.5.3
--
_______________________________________________
Search for businesses by name, location, or phone number. -Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10
- [Help-nano] ncurses -- compile problem with both tar.gz and src.rpm,
Thomas A. <=