[gecode-users] GecodeJ

Guido Tack tack at ps.uni-sb.de
Wed Apr 4 18:37:24 CEST 2007


Luis Quesada wrote:

> I am specifying this location:
>
> root at titanic:/home/luque/GecodeJ/release-1.0.1# ls -l /home/luque/ 
> sources/gecode/gecode-1.3.0/misc/*.pc
> -rw-r--r-- 1 luque luque 323 2006-10-23 11:59 /home/luque/sources/ 
> gecode/gecode-1.3.0/misc/gecode-minimodel.pc
> -rw-r--r-- 1 luque luque 309 2006-10-23 11:59 /home/luque/sources/ 
> gecode/gecode-1.3.0/misc/gecode.pc
> -rw-r--r-- 1 luque luque 330 2006-10-23 11:59 /home/luque/sources/ 
> gecode/gecode-1.3.0/misc/gecode-search.pc
>
>
> The message I am getting is the  following:
>
> root at titanic:/home/luque/GecodeJ/release-1.0.1# ./configure  
> GECODE_LIBS=/home/luque/sources/gecode/gecode-1.3.0/misc/

There are two problem here: first, you have to set PKG_CONFIG_PATH to  
the place where the *.pc files are installed, and second, you have to  
install gecode somewhere first.

Typically, if you configure Gecode (not Gecode/J), you can specify  
the prefix where it is installed. Assuming you did ./configure -- 
prefix=<gecodeprefix> (with some concrete path for <gecodeprefix>)  
and then make install, you have to set the PKG_CONFIG_PATH  
environment variable to <gecodeprefix>/lib/pkgconfig. Then configure  
(in Gecode/J) should find the installed library.

Cheers,
	Guido

-- 
Guido Tack
Programming Systems Lab, Saarland University, Germany
http://www.ps.uni-sb.de/~tack



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ps.uni-sb.de/pipermail/users/attachments/20070404/2b61c5a6/attachment.htm>


More information about the gecode-users mailing list