Re: Compiling VIM with custom directories for libraries
-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-
Re: Compiling VIM with custom directories for libraries
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 -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Wireless Division | Spokane, Washington, USA
Re: Compiling VIM with custom directories for libraries
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 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? - -- 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 iD8DBQFFM6JX7GZ7yN+LKv4RAq0tAJ98v0oYd7/UsVFxxdNYcUFj9PvLTwCeNGFH 8Yj61Zd/SZYO1jA0/KDsmfs= =zVrn -END PGP SIGNATURE-
Re: Compiling VIM with custom directories for libraries
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. /Allan
Compiling VIM with custom directories for libraries
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! I am on a computer which has a very minimal version of Vim installed. The computer runs Suse (which I hate for the reasons explained in this mail), there are no source files available. Even curses.h is not present. So, I cannot compile my own version of Vim either. I tried to download a working binary for me from Internet but to no avail. As I said, I am not root so I cannot use rpm. rpm2targy is also not installed. So, I have downloaded and compiled ncurses in my local directory. Now I want Vim to detect this new library. How to do it? Currently VIM compilation is giving error of not finding any terminal library. - -- 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 iD8DBQFFMtpi7GZ7yN+LKv4RAhI6AKCpbMLidIWJkfENh427N1FFB3ePWgCZASdF WiU+IzTQIL05YdbsYy+Nu5o= =Uc2g -END PGP SIGNATURE-