[lsst-dm-stack-users] Meet errors at [16/61] step.

shuo yuan yuanshuoastro at gmail.com
Tue Jul 22 15:31:47 PDT 2014


Dear all,
I meet a problems when building the LSST simulation framework.

My laptop is Ubuntu 12.04, with python=V2.7.3. And I say "yes" to use  anaconda
python when ./newinstall.sh  after "curl -O http://
sw.lsstcorp.org/eupspkg/newinstall.sh".

The problem is at the 16/61 step. The following is a part of the file "
*build.log*" which is the attachment.
-----------------------------------------------------------------------------------------------------------------------------------
yuanshuo at T430:LSST_simtool$ eups distrib install lsst_sims -t sims
  [  1/61 ]  cfitsio 3310+2 (already installed)
done.
  [  2/61 ]  doxygen 1.8.2+2 (already installed)
 done.
  [  3/61 ]  eigen 3.1.1+2 (already installed)
 done.
  [  4/61 ]  fftw 3.3.2+2 (already installed)
done.
  [  5/61 ]  freetds 2014.04.07 (already installed)
done.
  [  6/61 ]  gsl 1.15+2 (already installed)
done.
  [  7/61 ]  minuit2 5.22.00+2 (already installed)
 done.
  [  8/61 ]  mysqlclient 5.1.65+3 (already installed)
done.
  [  9/61 ]  pyephem 3.7.5.1 (already installed)
 done.
  [ 10/61 ]  python 0.0.1 (already installed)
done.
  [ 11/61 ]  sims_dustmaps 2014.04.17 (already installed)
done.
  [ 12/61 ]  sims_sed_library 2014.04.23 (already installed)
 done.
  [ 13/61 ]  swig 2.0.12 (already installed)
 done.
  [ 14/61 ]  throughputs master-ga6e2efc0c9 (already installed)
done.
  [ 15/61 ]  xpa 2.1.14+2 (already installed)
done.
  [ 16/61 ]  astrometry_net 0.30+3 ...

***** error: from
/media/BRIDGE/LSST_SF14/LSST_simtool/EupsBuildDir/Linux64/astrometry_net-0.30+3/build.log:
cc  -std=gnu89  -std=gnu89 -g -Wall -ffinite-math-only -fno-signaling-nans
-pthread -mtune=generic -O3 -fomit-frame-pointer -DNDEBUG -fPIC -Winline
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-I/usr/include/cairo -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12    -I../gsl-an
-I../qfits-an/include -I../libkd -I.   -c -o hd.o hd.c
In file included from starutil.h:219:0,
                 from hd.c:22:
starutil.inc: In function 'star_coords':
starutil.inc:203:22: warning: variable 'etaz' set but not used
[-Wunused-but-set-variable]
rm -f libanfiles.a
ar rc libanfiles.a  index.o codekd.o starkd.o rdlist.o xylist.o starxy.o
an-catalog.o qidxfile.o quadfile.o scamp-catalog.o hd.o
ranlib libanfiles.a
cc -shared -fPIC -o _sip.so sip-utils.o sip.o starutil.o mathutil.o
sip_qfits.o fitsioutils.o ioutils.o bl.o os-features.o an-endian.o errors.o
log.o ../qfits-an/lib/libqfits.a
cc -shared -fPIC -o _healpix.so healpix-utils.o healpix.o permutedsort.o
starutil.o mathutil.o errors.o bl.o log.o os-features.o
cc  -std=gnu89  -std=gnu89 -g -Wall -ffinite-math-only -fno-signaling-nans
-pthread -mtune=generic -O3 -fomit-frame-pointer -DNDEBUG -fPIC -Winline
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-I/usr/include/cairo -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12    -I../gsl-an
-I../qfits-an/include -I../libkd -I.   -c -o an-fitstopnm.o an-fitstopnm.c
cc  -g -Wall -ffinite-math-only -fno-signaling-nans -pthread -mtune=generic
-O3 -fomit-frame-pointer -DNDEBUG -fPIC -Winline -lm  an-fitstopnm.o
libanutils.a ../qfits-an/lib/libqfits.a   -o an-fitstopnm
an-fitstopnm.o: In function `main':
/media/BRIDGE/LSST_SF14/LSST_simtool/EupsBuildDir/Linux64/astrometry_net-0.30+3/astrometry_net-0.30+3/util/an-fitstopnm.c:348:
undefined reference to `roundf'
/media/BRIDGE/LSST_SF14/LSST_simtool/EupsBuildDir/Linux64/astrometry_net-0.30+3/astrometry_net-0.30+3/util/an-fitstopnm.c:339:
undefined reference to `roundf'
collect2: ld returned 1 exit status
make[1]: *** [an-fitstopnm] Error 1
make[1]: Leaving directory
`/media/BRIDGE/LSST_SF14/LSST_simtool/EupsBuildDir/Linux64/astrometry_net-0.30+3/astrometry_net-0.30+3/util'
make: *** [all] Error 2
+ exit -4
eups distrib: Failed to build astrometry_net-0.30+3.eupspkg: Command:
        source /media/BRIDGE/LSST_SF14/LSST_simtool/eups/bin/setups.sh;
export EUPS_PATH=/media/BRIDGE/LSST_SF14/LSST_simtool;
(/media/BRIDGE/LSST_SF14/LSST_simtool/EupsBuildDir/Linux64/astrometry_net-0.30+3/build.sh)
>>
/media/BRIDGE/LSST_SF14/LSST_simtool/EupsBuildDir/Linux64/astrometry_net-0.30+3/build.log
2>&1
4>/media/BRIDGE/LSST_SF14/LSST_simtool/EupsBuildDir/Linux64/astrometry_net-0.30+3/build.msg
exited with code 252
-----------------------------------------------------------------------------------------------------------------------------------

I do not know what to do next.
Thank you all.


-- 
----------------------------------------------------------
*Shuo Yuan*
Department of Astronomy, Peking University
E-mail: yuanshuoastro at gmail.com <+yuanshuoastro at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://listserv.lsstcorp.org/pipermail/dm-users/attachments/20140722/f829c50e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: text/x-log
Size: 171216 bytes
Desc: not available
URL: <https://listserv.lsstcorp.org/pipermail/dm-users/attachments/20140722/f829c50e/attachment.bin>


More information about the dm-users mailing list