Re: [easybuild] Install problem

2014-04-01 Thread Ward Poelmans
On Mon, Mar 31, 2014 at 11:36 PM, Bart Verleye  wrote:
>
> Is this something in the eb file that is wrong, or a small error in EB?

Hi,

I don't see any errors in your ebconfig file. Can you send (or
pastebin/github gist) the full debug output of the build?

Ward


[easybuild] Install problem

2014-03-31 Thread Bart Verleye

Hi,

When I try to install libspatialite, I get the error below. There is a 
space lacking between lpthread and the next library. See also my eb file 
attached.


Is this something in the eb file that is wrong, or a small error in EB?

Thanks,
Bart


libtool: link: gcc -shared  -fPIC -DPIC  .libs/version.o
-Wl,--whole-archive ./gaiaaux/.libs/libgaiaaux.a
./gaiaexif/.libs/libgaiaexif.a ./gaiageo/.libs/libgaiageo.a
./geopackage/.libs/libgeopackage.a ./spatialite/.libs/libsplite.a
./shapefiles/.libs/libshapefiles.a ./dxf/.libs/libdxf.a
./md5/.libs/libmd5.a ./srsinit/.libs/libsrsinit.a
./virtualtext/.libs/libvirtualtext.a ./wfs/.libs/libwfs.a
-Wl,--no-whole-archive  -Wl,-rpath
-Wl,/share/easybuild/RHEL6.3/westmere/software/GEOS/3.3.5-gmpolf-1.4.8/lib
-Wl,-rpath
-Wl,/share/easybuild/RHEL6.3/westmere/software/GCC/4.8.1/lib/../lib64
-Wl,-rpath
-Wl,/share/easybuild/RHEL6.3/westmere/software/freexl/1.0.0g-gmpolf-1.4.8/lib 


-Wl,-rpath
-Wl,/share/easybuild/RHEL6.3/westmere/software/GEOS/3.3.5-gmpolf-1.4.8/lib
-Wl,-rpath
-Wl,/share/easybuild/RHEL6.3/westmere/software/GCC/4.8.1/lib/../lib64
-Wl,-rpath
-Wl,/share/easybuild/RHEL6.3/westmere/software/freexl/1.0.0g-gmpolf-1.4.8/lib 


-L/share/easybuild/RHEL6.3/westmere/software/GCC/4.8.1/lib64
-L/share/easybuild/RHEL6.3/westmere/software/GCC/4.8.1/lib
-L/share/easybuild/RHEL6.3/westmere/software/OpenBLAS/0.2.6-gmpich2-1.4.8-LAPACK-3.4.2/lib 

-L/share/easybuild/RHEL6.3/westmere/software/ScaLAPACK/2.0.2-gmpich2-1.4.8-OpenBLAS-0.2.6-LAPACK-3.4.2/lib 

-L/share/easybuild/RHEL6.3/westmere/software/FFTW/3.3.3-gmpich2-1.4.8/lib -L/share/easybuild/RHEL6.3/westmere/software/freexl/1.0.0g-gmpolf-1.4.8/lib 


-L/share/easybuild/RHEL6.3/westmere/software/GEOS/3.3.5-gmpolf-1.4.8/lib
/share/easybuild/RHEL6.3/westmere/software/GEOS/3.3.5-gmpolf-1.4.8/lib/libgeos.so 


-L/share/easybuild/RHEL6.3/westmere/software/GCC/4.8.1/lib/../lib64
/share/easybuild/RHEL6.3/westmere/software/GCC/4.8.1/lib/../lib64/libstdc++.so 


-lpthread -ldl
/share/easybuild/RHEL6.3/westmere/software/freexl/1.0.0g-gmpolf-1.4.8/lib/libfreexl.so 


-lproj -lz -lsqlite3 -lm
-lpthread-L/share/easybuild/RHEL6.3/westmere/software/GEOS/3.3.5-gmpolf-1.4.8/lib 

/share/easybuild/RHEL6.3/westmere/software/GEOS/3.3.5-gmpolf-1.4.8/lib/libgeos_c.so 


  -O2 -march=native   -Wl,-soname -Wl,libspatialite.so.5 -o
.libs/libspatialite.so.5.1.0

/usr/bin/ld: cannot find
-lpthread-L/share/easybuild/RHEL6.3/westmere/software/GEOS/3.3.5-gmpolf-1.4.8/lib


--
Dr. Bart Verleye
Centre for e-Research
Level G, Room 409-G21
24 SYMONDS ST
Auckland 1010
New Zealand
+64 (0) 9 923 9740 ext 89740



easyblock = 'ConfigureMake'

name = 'libspatialite'
version = '4.1.1'

homepage = "https://www.gaia-gis.it/fossil/libspatialite/home";
description = "SpatiaLite is an open source library intended to extend the 
SQLite core to support fully fledged Spatial SQL capabilities."

toolchain = {'name': 'gmpolf', 'version': '1.4.8'}
toolchainopts = {'usempi': False, 'pic': True}

download_suffix = ''
source_urls = ['http://www.gaia-gis.it/gaia-sins/']
sources = ["%(name)s-%(version)s.tar.gz"]

dependencies = [('freexl','1.0.0g'),('GEOS','3.3.5')]
configopts = '--disable-geosadvanced'
builddependencies = [('CMake', '2.8.10.2')]

separate_build_dir = False

moduleclass = 'lib'