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, | ||
+ | </ | ||
+ | |||
+ | You need to compile Libnova and possibly other libraries (ncurses, | ||
+ | |||
+ | ===== Setting the environment ===== | ||
+ | |||
+ | You need to make sure that gcc is working and have access to all required libraries. For [[obs: | ||
+ | |||
+ | <code tcsh> | ||
+ | > setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/ | ||
+ | </ | ||
+ | |||
+ | 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 ' | ||
+ | </ | ||
+ | |||
+ | After that, typing | ||
+ | |||
+ | <code tcsh> | ||
+ | rts2> make clean && make | ||
+ | </ | ||
+ | |||
+ | 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)