[Gvsig_english] svn.checkout.all - BUILD ERROR - Failed to resolve artifact

Cèsar Ordiñana cordinyana at gvsig.com
Fri May 14 09:35:38 CEST 2010


Hi Luca,


luca bianconi escribió:
> Hi all,
>
> maybe someone can help me.
>
> I'm working with Ubuntu 10.04 and the latest gvsig v2_0_0_prep .
>
> I've got an error I couldn't fix when I've reached the point 11 of the 
> document[1] related to the initial configuration of a gvsig eclipse 
> workspace.
>
> The "BUILD FAILED" cause seems suggested by the error log:
...
> [artifact:mvn] Missing:
> [artifact:mvn] ----------
> [artifact:mvn] 1) 
> org.gvsig:org.gvsig.jgdal:tar.gz:linux-Ubuntu-10.04-gcc4-i386-dynamic:2.0.1-SNAPSHOT

That error si caused because it is trying to find the jgdal JNI library 
compiled for Ubuntu-10.04 and it is not available so far.

Just in case you did'nt know, gvSIG uses some native libraries through 
the JNI API, which have to be compiled for each platform. Currently we 
only have compiled binaries for the platforms stated in the following page:

http://www.gvsig.org/web/projects/gvsig-desktop/docs/devel/gvsig-devel-guide/2.0.0/trabajar-con-el-nucleo-de-gvsig/gvsig-compilation/initial-configuration/initial-configuration#configuraci-n-de-la-plataforma

The last ubuntu version with available binaries is the 9.10 version (32 
bits). We will have to compile them for Ubuntu-10.04 sooner than later, 
but in the meantime you can try to use the Ubuntu-9.10 ones by modifying 
your .gvsig.platform.properties files and setting the 
native_distribution property to Ubuntu-9.10.

Also, you have to install the libgdal library in your Ubuntu, as we no 
longer distribute it with gvSIG for linux.

It think that will probably work, unless the libgdal library version had 
been upgraded in Ubuntu 10.04. For Ubuntu 9.10 we link against  
libgal1-1.5.0. If you have a 1.6.0 version or higher, you will be able 
to compile and run gvSIG, but won't be able to open raster layers.

In case anyone wants to try to compile the native libraries for another 
platform not already available, here you can find how to do it (sorry, 
only in Spanish so far):

http://www.gvsig.org/web/projects/gvsig-desktop/docs/devel/gvsig-devel-guide/2.0.0/trabajar-con-el-nucleo-de-gvsig/gvsig-compilation/jni-compilation

Regards,

-- 
Cèsar Ordiñana Navarro
gvSIG software architect
DiSiD Technologies (http://www.disid.com)



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserv.gva.es/pipermail/gvsig_internacional/attachments/20100514/06b5c0b4/attachment.htm 


More information about the Gvsig_internacional mailing list