[sane-devel] Re: Cannot compile xsane 0.92 with Gimp 2 plugin - SOLVED
John Hunt
john.lists@yoredale.uklinux.net
Fri, 14 May 2004 22:17:27 +0100
On Thursday 13 May 2004 19:45, John Hunt wrote:
> Hello
>
> I am trying to compile xsane 0.92 with the patch for gimp 2.0. Configure
> fails to enable the plugin because the gimp test fails.
>
I tried a different approach and solved it like this:
$ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
$ export LD_LIBRARY_PATH=/usr/local/lib
$ ./configure
$ make
$ su
# make install
# cd /usr/local/lib/gimp/2.0/plug-ins
# ln -s /usr/local/bin/xsane
Afterwards edited /etc/ld.so.conf to add /usr/local/lib so that no longer
need LD_LIBRARY_PATH defined to run xsane.
Simple in retrospect!
...John
--
------------------------------------------------------------
John Hunt
Stokesley, N Yorks, UK
URL: http://www.yoredale.uklinux.net/
------------------------------------------------------------