Hi,
I can't install Geonode following instuctions found on
https://github.com/gispro/geonode/tree/master on README.rst.
When issuing paver build command, the build fails on tests:
Results :
Tests in error:
org.geonode.security.SecuredAccessTest
org.geonode.rest.batchdownload.DownloadLauncherRestletTest
org.geonode.rest.batchdownload.DownloadKillerRestletTest
org.geonode.rest.batchdownload.DownloadReadyRestletTest
org.geonode.rest.coveragestats.ProcessRestletTest
The surefire report for the SecuredAccessTest tells,
-------------------------------------------------------------------------------
Test set: org.geonode.security.SecuredAccessTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.673 sec
<<< FAILURE!
org.geonode.security.SecuredAccessTest Time elapsed: 0 sec <<< ERROR!
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'restWrapper' defined in URL [jar:fil
e:/root/.m2/repository/org/geoserver/rest/2.1-SNAPSHOT/rest-2.1-SNAPSHOT.jar!/applicationContext.xml]:
Initialization of bea
n failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'storeF
ileFinder' defined in URL
[jar:file:/root/.m2/repository/org/geoserver/restconfig/2.1-SNAPSHOT/restconfig-2.1-SNAPSHOT.jar!/
applicationContext.xml]: Instantiation of bean failed; nested exception is
java.lang.UnsatisfiedLinkError: org.gdal.gdal.gda
lJNI.SWIGDriverUpcast(J)J
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapable
BeanFactory.java:480)
....
Caused by: java.lang.UnsatisfiedLinkError:
org.gdal.gdal.gdalJNI.SWIGDriverUpcast(J)J
at org.gdal.gdal.gdalJNI.SWIGDriverUpcast(Native Method)
at org.gdal.gdal.Driver.<init>(Driver.java:15)
at org.gdal.gdal.gdal.GetDriverByName(gdal.java:264)
at
it.geosolutions.imageio.gdalframework.GDALUtilities.isDriverAvailable(GDALUtilities.java:352)
at
it.geosolutions.imageio.gdalframework.GDALImageReaderSpi.isAvailable(GDALImageReaderSpi.java:259)
at
org.geotools.coverageio.gdal.ehdr.EsriHdrFormatFactory.isAvailable(EsriHdrFormatFactory.java:58)
at
org.geotools.coverage.grid.io.GridFormatFinder.getAvailableFormats(GridFormatFinder.java:91)
at
org.geotools.coverage.grid.io.GridFormatFinder.getFormatArray(GridFormatFinder.java:144)
at
org.geoserver.data.util.CoverageStoreUtils.<clinit>(CoverageStoreUtils.java:45)
at
org.geoserver.catalog.rest.StoreFileFinder.<clinit>(StoreFileFinder.java:24)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:248)
... 54 more
Any ideas what I may be doing wrong?
The GDAL geographic raster access library was installed with 'yum install
gdal' and 'yum install gdal-java'. I am on Fedora 15.
Thanks!
Fedd