Hello,

2010/1/11 Maity, Ashis K <[email protected]>:
> Hello group,
>
> I am trying to install Mozart-gecode interface from here 
> (https://gforge.info.ucl.ac.be/svn/mozart/branches/mozart-gecode) and facing 
> some issues. First, do I absolutely have to have Gecode 2.2.0 for this to 
> work? Previously, I had installed Gecode 3.1.0 in my computer and I am 
> getting the following error while trying to run the config file for 
> Mozart-gecode interface:
> ....
> ....
> checking for pkg-config... pkg-config
> checking for pkg-config... yes
> checking for gecode 2.2.0... no
> configure: error:
> The Generic Constraint Development Environment version 2.2.0 is required to
> build the system. It can be retrieved from:
>
>        http://www.gecode.org/
>
> configure: error: 
> /cygdrive/d/data/amaity/workspace/MozartGecode/platform/emulat
> or/configure failed for emulator
> configure: error: 
> /cygdrive/d/data/amaity/workspace/MozartGecode/platform/config
> ure failed for platform
>
> So the question is do I need to remove Gecode 3.1.0 and install Gecode 2.2.0 
> for a proper GeOz installation? Actually I already tried to install Gecode 
> 2.2.0 and getting the following error (though I did install pkg-config and 
> put it in proper path -- I think):
>
> ....
> ....
> checking for pkg-config... /usr/local/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> configure: error:
> The pkg-config configuration files for Gecode 2.2.0 were not found.
>
> Please make sure that Gecode is installed, and that the directory
> <prefix>/lib/pkgconfig is on the default path for pkg-config.
> Otherwise, extend the PKG_CONFIG_PATH environment variable accordingly.
>
> Please let me know if there are some work around.
>

Currently GeOz supports Gecode 2.2.0, so you need to install it first.
If you install Gecode in a non-standard PATH as /usr/local/ you need
to export the PKG_CONFIG_PATH variable to point to the directory where
the pkgconfig directory is, for example
/usr/local/gecode-2.2.0/lib/pkgconfig

You can have many Gecode installations on your system, but you need to
make sure that you are compiling and linking GeOz against Gecode
2.2.0; this is achieved with the pkgconfig stuff.

To succesfuly build GeOz you can follow the steps at
http://cic.puj.edu.co/wiki/doku.php?id=grupos:avispa:geoz. It is
recommended to test it on GNU/Linux or Mac OS X because the
development happens on those platforms.

> Thanks in advance,
>
> Ashis
>
>
> _________________________________________________________________________________
> mozart-users mailing list                               
> [email protected]
> http://www.mozart-oz.org/mailman/listinfo/mozart-users
>

Best regards,


-- 
Gustavo Andrés Gómez Farhat
Laboratorista
Departamento de Ciencias e Ingeniería de la Computación
Pontificia Universidad Javeriana
Cali
_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to