HowTo compile on Solaris

From AMule Project FAQ
Revision as of 16:35, 20 March 2005 by Thedude0001 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

I just wrote this little guide to help you all solaris fans. Hope this helps!

COMPILING AMULE/AMULEWEB ON SOLARIS 10 x86

  • Use the pkg-get script to install some required libraries, which do not come with solaris:
     autoconf
     automake
     gd
     gettext
     gtk/gtk2
     libpng
     These packages will install to /opt/csw tree
  • Set your path like this:
     PATH=/usr/local/bin:/opt/csw/bin:/usr/sfw/bin:/usr/bin
  • Simlink the GNU utilities in /usr/sfw/bin to their "right" names (gar=ar, gas=as, gld=ld, gmake=make, ggrep=grep,
     gtar=tar, etc...) somewhere in your path. I simlinked them to their same directory (/usr/sfw/bin)
  • Now, get the latest wxGTK package from www.wxwidgets.org and compile it. Install it to /usr/local. I have not
     tried compiling it with unicode support, nor against GTK2, so basically this is untested. But should work.
  • Set these two environment wariables:
     CPPFLAGS='-I /opt/csw/include'
     LD_LIBRARY_PATH=/usr/local/lib:/opt/csw/lib:/usr/sfw/lib:/usr/lib
  • Configure amule like this:
     ./configure --enable-webserver
  • Type "make" (without the quotation marks), press <ENTER> and hope for the best.
  • If compilation went OK, you can now run amule!
     ./src/amule
  • ENJOY!


This guide was used for compiling amule and amuleweb on Solaris 10 FCS, I have no idea if it will work or not on previous/later solaris releases, but it should. Also, if you got amule compiled on other solaris than 10, please tell me how you did, or if this guide worked for you or any extra things you had to do, etc.

WRITTEN BY Skolnick on March 6/2005

Thanks goes to all the amule dev team, specially Kry, who helped me a lot, and ken for the CPPFLAGS tip.