On Mon, 21 Jun 2010 10:47:19 +0200 Joerg Desch jd.vvd@web.de wrote:
I'm running Ubuntu 9.10 with geany 0.18 from the devel PPA. To give the new 0.19 a try, I've compiled and installed a local copy with
./configure --prefix=/home/jd/local/geany-test
Now I want to compile the latest 0.19 plugins, but it doesn't work. configure doesn't use the the prefix and so always find the "officially" installed 0.18.
./configure --prefix=/home/jd/local/geany-test --with-geany-libdir=/home/jd/local/geany-test
What's the correct way to make configure use the geany test installation?
./configure --with-geany-libdir=/home/jd/local/geany-test/lib would be the right way to go. --with-geany-libdir wants the ${libdir}, not the ${prefix} of Geany.
Depending on the distro, this can be ${geany_prefix}/lib or ${geany_prefix}/lib64 or even ${geany_prefix}/lib32. I didn't want to autodetect that, so I left it to the user to specify. I thought it was pretty obvious, considering it was worded "geany-libdir" rather than "geany-prefix". I guess it wasn't obvious enough.
Anyway, I haven't gotten round to this, but I plan to scrap all this --with-geany-* crap and just let you specify the --prefix/libdir and let everything be resolved automatically.