I'm having a lot of difficulty compiling OpenSER on Solaris 10. Firstly I was missing a lot of packages which I needed to download from sunfreeware.com (gcc, ld) the /usr/bin/ccs version of make does not work on the makefile
so I'm kindda stuck, it's apparently been compiled on the x68 s10 platform before so there must be some sort of makefile modifications I must make everywhere ?
Anyone know what may be going on? I was hoping there would be a package OpenSER version for solaris built somewhere :S
Thanks! Nick
Hi, Nick.
All the pre-requisites to build the default OpenSER 1.1.0 under Solaris are available on the Sun Software Companion CD which is supplied with Solaris. These packages are also available for download from Sun's website:
http://www.sun.com/software/solaris/freeware/
Off the top of my head, I think I installed these packages from the Solaris 9 Software Companion CD:
Application/Editors - GNU sed v3.02
Application/Utilities - GNU text file processing utilities v2.0
Development/Languages - gcc-3.3.2 - GNU bison v1.35 - GNU flex v2.54
Development/Tools - GNU make utility v3.80
Although there may be a few others I've forgotten or already had installed, for use with other software.
The only pieces of non-Sun software I had to install were OpenSSL 0.7 and MySQL's libmysqlclient (which requires you to compile MySQL from scratch - as it's not included with the Solaris pkg supplied by MySQL), both of which are optional when it comes to compiling OpenSER.
Everything should work OK, if you're using the requirements as specified on the install page though you may also want to look at a trio of bugs I raised in OpenSER's Tracker system regarding some Solaris-compability issues with a couple of OpenSER's shell scripts, in case they haven't been fixed in the release you're using:
[1544112] Solaris openser.init script error [1540132] Solaris openserctl.base script error [1540127] Solaris openserctl.fifo script error
I believe the last two at least have been fixed in CVS, but they might not have made it into the latest released package yet.
HTH,
Peter.