LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Compiling gaim-otr with 2 different version of Gaim (http://www.linuxquestions.org/questions/linux-software-2/compiling-gaim-otr-with-2-different-version-of-gaim-378483/)

Backstander 10-30-2005 09:17 PM

Compiling gaim-otr with 2 different version of Gaim
 
I have 2 different version of Gaim installed, version 1.5.0 in /usr/lib/gaim and version 2.0.0cvs in /usr/local/lib/gaim, and I'm trying to compile gaim-otr for gaim-1.5.0 but it keeps looking in /usr/local/include/gaim for headers instead of /usr/include/gaim. how do i tell gaim-otr's configure to use the one i want?

this is what i've tried:

~/gaim-otr-2.0.2# ./configure --prefix=/usr --mandir=/usr/share/man --includedir=/usr/include/gaim/

both with and without the "--includedir" switch.

Backstander 10-31-2005 12:22 AM

Okay I guess I found a "hacker" way to get this to compile. I just made a backup of the one I didn't what it to use and just made a link there to the one I wanted it to use.

$ mv /usr/local/include/gaim/ /usr/local/include/gaim.bak/
$ ln -s /usr/include/gaim/ /usr/local/include/

Then gaim-otr compiled and installed without a problem. After that I just removed the link and moved the backup back where it goes.

$ rm /usr/local/include/gaim
$ mv /usr/local/include/gaim.bak/ /usr/local/include/gaim/

:newbie:


All times are GMT -5. The time now is 05:32 AM.