Anupam Srivastava wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
1. Forget that shortcut dirname `locate curses.h` thing. It was just to
give the idea to Ajay about how to compile by redefinign CPPFLAGS and
LDFALGS.
Well, you made it sound like an actual shell script that ought to work.
anda=`locate libncurses`
export LDFLAGS=-I`dirname $anda`
dirname `locate libncurses`
dirname: extra operand `/lib/libncurses/so.5.4'
Try `dirname --help' for more information
2. Atleast your out put is not 'nothing' :p
No, I get several lines of output for each of them, including (IIUC) a number
of lines which bear no relation to what should be searched by compile or link
IIUC, only one of each should go into CPPFLAGS and LDFLAGS
3. Sorry didn't get you. Here is the actual mail from which I got helped:
Gary Johnson wrote:
I downloaded and installed ncurses under
/home/garyjohn/src/SunOS/ncurses-5.4. Here is how I build vim:
export CPPFLAGS="-I/home/garyjohn/src/SunOS/ncurses-5.4/include/ncurses"
only one directory, not the directories of everything that "locate ncurses.h"
did output
export LDFLAGS="-L/home/garyjohn/src/SunOS/ncurses-5.4/lib"
only one directory, not the directories of everything that "locate libncurses"
did output
./configure --prefix=/home/garyjohn/src/SunOS/vim-7.0 --with-tlib=ncurses
--enable-cscope
make
make install
- --
Anupam Srivastava
Scientific Coworker
Universität Stuttgart
I'm re-adding the vim-dev list to the CC -- I wonder why you removed it.
(Disclaimer: I don't know everything about Vim, and I'm not paid to answer
queries. I'm just another user like any of them.)
Best regards,
Tony.