User Tools

Site Tools


code:solaris

Differences

This shows you the differences between two versions of the page.


Previous revision
code:solaris [Unknown date] (current) – external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
 +====== Compiling RTS2 for Sun/Solaris ======
  
 +Compiling RTS2 for Sun/Solaris is know to work, at least at
 +<code tcsh>
 +> uname -a 
 +SunOS ultra2 5.8 Generic_108528-21 sun4u sparc SUNW,Ultra-2
 +</code>.
 +
 +You need to compile Libnova and possibly other libraries (ncurses,..) which aren't part of standard Solaris installation. They all compile fine (Libnova from CVS or version 0.13 and up).
 +
 +===== Setting the environment =====
 +
 +You need to make sure that gcc is working and have access to all required libraries. For [[obs:123|1.23m]] that was fixed by calling
 +
 +<code tcsh>
 +> setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/mpi2/mpiwork/caha/gcc-3.2.2/lib 
 +</code>
 +
 +Your mileage might vary.
 +
 +You then need to run ./configure with path to various libraries, which you will most probably not found on Solaris. In our case, configure call was:
 +
 +<code tcsh>
 +rts2> ./configure '--with-cfitsio=/disk-a/obs12/jelinek/cfitsio' '--with-wcs=/disk-a/obs12/kubanek/wcstools-3.7.6/libwcs/' '--without-pgsql' '--with-ncurses=/disk-a/obs12/kubanek/' '--with-libnova=/disk-a/obs12/kubanek/'
 +</code>
 +
 +After that, typing 
 +
 +<code tcsh>
 +rts2> make clean && make
 +</code>
 +
 +shall end without any errors. If you see some, please either fix them, or report them.
 +
 +===== Know problem with GraphicsMagick =====
 +
 +For unknow reasons, GraphicsMagick add stdlibc++ to .la file. This then produces conflicts with other stdlibc++, if they are available.
 +
 +The fix is to remove reference to stdlibc++ from GraphicsMagick++.la file under lib directory.
code/solaris.txt · Last modified: 2010/04/06 00:00 (external edit)