-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 A.J.Mechelynck wrote: > 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. > I am a n00b. Bear with me. That script works on my computer! :)
>> >>>> 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 > That is very well explained in en.wikipedia.org/wiki/Humor >> >>> 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 >> >> Yeah I know :) > 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. Yeah I know :) - -- Anupam Srivastava Scientific Coworker Universität Stuttgart Get my public keys: gpg --keyserver subkeys.pgp.net --recv-keys DF8B2AFE 99F8BB81 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFFNkeL7GZ7yN+LKv4RAlQVAJ917NEDO244GgQDuQEE10t7nKqwjACdG4QL 7kZoHP2FcRwJuWHmNhKTa5U= =0WmQ -----END PGP SIGNATURE-----