Building OpenAL on Solaris

Written 2010-09-19

Tags:OpenSolaris OpenAL 

  • Get an OpenAL software implementation from here: http://kcat.strangesoft.net/openal.html, then downloads, then latest release (openal-soft-1.12.854.tar.bz2 worked great for me)
  • run 'cd openal-soft' ( or into directory from latest release)
  • run 'cmake .' if it complains about not finding nanosleep, remove the offending lines from CMakeLists.txt
  • run 'make'
  • run 'make install'
  • At this point, you need to manually copy the files to their locations. I used /usr/lib, /usr/include, and /usr/bin, because that's where fs2_open expected to find them.
  • run 'cd sfw_stage'
  • run 'sudo cp -r include/ /usr/include/'
  • run 'sudo cp lib/libopenal* /usr/lib/'
  • run 'sudo cp lib/pkgconfig/openal.pc /usr/lib/pkgconfig/'