-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gary Johnson wrote: > On 2006-10-16, Anupam Srivastava <[EMAIL PROTECTED]> wrote: > >> Allan Wind wrote: >>> On 2006-10-16T03:03:30+0200, Anupam Srivastava wrote: >>>> So, I have downloaded and compiled ncurses in my local directory. Now >>>> I want Vim to detect this new library. How to do it? >>> If you with library mean a .so, then including the path where it is >>> stored in LD_LIBRARY_PATH before starting vim should do. >>> >>> >> No I am asking about how to compile the Vim given my ncurses is >> installed in /some/path/in/my/home and not in /usr/ or /usr/local/ >> >> I suppose there is some variable which I can reset to this new path. >> What is that variable? > > The variables are CPPFLAGS and LDFLAGS. I have this situation on a > Sun machine. 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" > export LDFLAGS="-L/home/garyjohn/src/SunOS/ncurses-5.4/lib" > ./configure --prefix=/home/garyjohn/src/SunOS/vim-7.0 --with-tlib=ncurses > --enable-cscope > make > make install > > HTH, > Gary > Hey! Thanks. I didn't knew of these flags. Now I am able to ./configure. I think everything should be fine.
Thanks again. - -- 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 iD8DBQFFNLJm7GZ7yN+LKv4RAmq2AKCAnzwt1PwuH5cTMJr9B0gldRqJ7QCfdkaN 2D1VA4ihNOQLwBIn2vni1L4= =ED52 -----END PGP SIGNATURE-----
