As Suggested I First tried to run a make distclean. It gave an error:
Code:
# make distclean
make: *** No rule to make target `distclean'. Stop.
Then I ran 'ldconfig' which proceed fine.
When I located ncurses this is a summary of the files found (minus documentation).
file:/var/lib/YaST2/you/installed/ncurses-51347
file:/var/lib/YaST2/you/mnt/i386/update/9.1/patches/ncurses-51347
file:/var/adm/YaST/InstSrcManager/IS_CACHE_0x00000001/MEDIA/suse/i586/ncurses-devel-5.4-59.i586.rpm
file:/var/lib/YaST2/you/mnt/i386/update/9.1/rpm/i586/ncurses-devel-5.4-61.3.i586.patch.rpm
file:/usr/share/man/man3/ncurses.3ncurses.gz
file:/usr/share/susehelp/meta/Administration/System/ncurses.desktop
file:/usr/include/ncurses.h
file:/usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi/ncurses.ph
file:/usr/lib/zinf/plugins/ncurses.ui
file:/usr/include/ncurses_dll.h
file:/usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi/ncurses_dll.ph
I have highlighted lines in Red as the paths to the files that I think it needs. I am not sure if these are correct?
Quote:
Usage: ./configure [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-openssl=DIR use OpenSSL rooted in DIR
--with-openssl-inc=DIR use OpenSSL headers from DIR
--with-openssl-lib=DIR use OpenSSL libs from DIR
--with-krb5=DIR use Kerberos5 rooted in DIR
--with-libwrap=DIR use libwrap rooted in DIR
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
headers in a nonstandard directory <include dir>
CPP C preprocessor
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
|
Here is my botched attempts at using the options. It is quite apparent that I don't understand how to use this command properly!
Quote:
# ./configure -I</usr> -I</usr>
bash: syntax error near unexpected token `newline'
# ./configure -I</usr>
bash: syntax error near unexpected token `newline'
# ./configure --I</usr>
bash: syntax error near unexpected token `newline'
# ./configure -I Var=</usr>
bash: syntax error near unexpected token `newline'
# ./configure CPPFLAGS -I</usr>
bash: syntax error near unexpected token `newline'
# ./configure CPPFLAGS -I</usr>
bash: syntax error near unexpected token `newline'
# ./configure CPPFLAGS =-I</usr>
bash: syntax error near unexpected token `newline'
|
I don't know if I:
a) performed the make distclean properly, but I can tell you that I was in the source directory when I issued the 'make distclean' at the command line.
b) If the file paths (highlighted in red) are what I should be including
c) how to add the paths to the options in ./configure
I have performed a few source compilations before but they were pretty vanilla - follow cut and paste scripts and I didn't have to do anything fancy what you have asked is new too me.
Thanks for your post and I hope that you might clear up some of the difficulties that I am experiencing.
Truly,
ServerStorm.