Opened 14 years ago

Closed 13 years ago

#241 closed defect (feedback)

Can install asap 3.0.1 from source under opensuse 11.4

Reported by: G.Fuller@… Owned by: Malte Marquarding
Priority: high Milestone: ASAP 3.0
Component: General Version: 2.0
Severity: major Keywords:
Cc:

Description

Trying to install asap 3.0.1 from the tarball on a new opensuse 11.4 system.

Using command

scons cfitsioincdir=/usr/include/libcfitsio0

which seems to go along OK until

g++ -o apps/asap2to3 -Wl,-O1 -s apps/asap2to3.o -Lbuild -Lsrc -L/usr/local/lib -Lexternal -lasap -latnf -lcasa_images -lcasa_ms -lcasa_components -lcasa_coordinates -lcasa_lattices -lcasa_fits -lcasa_measures -lcasa_scimath -lcasa_scimath_f -lcasa_tables -lcasa_mirlib -lcasa_casa -lpython2.7 -lboost_python -lm -lcfitsio -lwcs -lrpfits -llapack -lblas -lgfortran -lstdc++

g++ -o build/python_STMath.os -c -O2 -DWCSLIB_GETWCSTAB -fPIC -fPIC -I/usr/include/libcfitsio0 -I/usr/local/include/casacore -I/usr/include/python2.7 -Iexternal src/python_STMath.cpp

In file included from /usr/local/include/casacore/casa/Quanta/Unit.h:35:0,

from /usr/local/include/casacore/measures/TableMeasures/TableMeasRefDesc.h:33,

from /usr/local/include/casacore/measures/TableMeasures/TableMeasDescBase.h:33,

from /usr/local/include/casacore/measures/TableMeasures/ScalarMeasColumn.tcc:29,

from /usr/local/include/casacore/measures/TableMeasures/ScalarMeasColumn.h:340,

from src/Scantable.h:28,

from src/STMath.h:24,

from src/STMathWrapper.h:20,

from src/python_STMath.cpp:34:

/usr/local/include/casacore/casa/Quanta/UnitVal.h:257:18: error: expected unqualified-id before string constant /usr/local/include/casacore/casa/Quanta/UnitVal.h: In constructor 'casa::UnitVal_static_initializer::UnitVal_static_initializer()': /usr/local/include/casacore/casa/Quanta/UnitVal.h:314:11: error: expected unqualified-id before string constant /usr/local/include/casacore/casa/Quanta/UnitVal.h:314:11: error: expected ';' before string constant In file included from /usr/local/include/casacore/casa/Quanta/Quantum.h:435:0,

from /usr/local/include/casacore/measures/Measures/MeasConvert.h:36, from /usr/local/include/casacore/measures/TableMeasures/ScalarMeasColumn.tcc:32, from /usr/local/include/casacore/measures/TableMeasures/ScalarMeasColumn.h:340, from src/Scantable.h:28, from src/STMath.h:24, from src/STMathWrapper.h:20, from src/python_STMath.cpp:34:

/usr/local/include/casacore/casa/Quanta/Quantum.tcc: In member function 'Qtype casa::Quantum<T>::getValue(const casa::Unit&) const':

and more errors in a similar vain until:

scons: * [build/python_STMath.os] Error 1 scons: building terminated because of errors.

casacore 1.2.0 appears to have install successfully.

Change History (2)

comment:1 by Malte Marquarding, 14 years ago

Owner: changed from Malte Marquarding to Malte Marquarding
Status: newassigned

I am working on a new casacore release as well as ASAP which will address new compiler releases.

comment:2 by Malte Marquarding, 13 years ago

Resolution: feedback
Status: assignedclosed

New releases are available for both casacore and asap

Note: See TracTickets for help on using tickets.