ratt-ru / meqtrees

A library for implementing radio astronomical Measurement Equations
http://meqtrees.net
10 stars 2 forks source link

installing meqtrees #854

Closed maaijke closed 9 years ago

maaijke commented 9 years ago

When installing I encountered the following problems:

  1. errors when using latest blitz version, so I had to return to blitz0.9. Also, in order to get the right Blitz version used also in MeqNodes I had to add the following line to MeqNodes/CMakeLists.txt INCLUDE_DIRECTORIES(${BLITZ_INCLUDE_DIR})
  2. Defining CASACORE_LIBRARY_PATH when running cmake,using -Detc..somehow doesn't work, it went well if I first export it as an environment variable: export CASACORE_LIBRARY_PATH=/software/users/lofarsoft/software/local/casacore_feb10_2014/lib64/
  3. AppAgent/AppUtils misses path to CASACORE_LIBRARIESwhen trying to link casa_ms:

    Linking CXX shared library libapputils.so /usr/bin/ld: cannot find -lcasa_ms collect2: ld returned 1 exit status

solve: in AppAgent/AppUtils/CMakeLists.txt change line: target_link_libraries(apputils casa_ms) to: target_link_libraries(apputils ${CASACORE_LIBRARY_casa_ms})

gijzelaerr commented 9 years ago

hey! i'm not in ZA yet!

gijzelaerr commented 9 years ago

@o-smirnov this isn't packaging related. Do you want me to fix this or did you mistakenly assigned me to this?

o-smirnov commented 9 years ago

Build-related, so you may as well fix it...

gijzelaerr commented 9 years ago

should we just make it work with a newer blitz first?

https://github.com/ska-sa/meqtrees-timba/issues/9

gijzelaerr commented 9 years ago

I think this has been resolved now timba is working with the stock ubuntu blitz.