After a few frustrating days, I decided to post my notes for getting Zenoss to 
compile and run on Solaris 10.  I used packages from Sunfreeware, Blastwave did 
not work since MySQL was compiled with Sun Studio, Python with GCC: this 
prevents mysql-python from building.

Sunfreeware packages:

bzip2-1.0.4
coreutils-6.4
db-4.2.52.NC
diffutils-2.8.1
gcc-3.4.6
gdbm-1.8.3
glib-1.2.10
grep-2.5.1a
gtk+-1.2.10
less-381
libiconv-1.11
make-3.81
mysql-5.0.27
ncurses-5.6
openssl-0.9.8d
pcre-6.7
python-2.5
readline-5.2
sqlite-3.3.6
sudo-1.6.8p9
tar-1.16
tcl-8.5a4
tk-8.5a4
vim-7.0
zlib-1.2.3

Required Solaris packages:

SUNWhea - SunOS Header Files
SUNWarc - Lint Libraries (usr)
SUNWarcr - Lint Libraries (root)
SUNWlibm - Math & Microtasking Library Headers & Lint Files (Usr)
SUNWlibmr - Math Library Lint Files (Root)
SUNWlibms - Math & Microtasking Libraries (Usr)
SUNWlibmsr - Math & Microtasking Libraries (Root)
SUNWpl5u - Perl 5.6.1 (core)
SUNWgpch - The GNU Patch utility
SUNWsfwhea - Open Source header files
SUNWgccruntime - GCC Runtime libraries

* Configure MySQL and get it running.
* Configure /usr/local/etc/sudoers (use /usr/local/bin/kill)
* Create symbolic link: /usr/local/bin/gcc -> /usr/local/bin/cc
* untar zenoss 
* Edit build-functions.sh: add or replace /usr/local/bin/python2.5 in "look for 
python" section
* export mysqlclient=mysqlclient (required by mysql-python, thread safe 
libraries not present)
* export LD_LIBRARY_PATH=/usr/local/mysql/lib/mysql
* export 
PATH=$ZENHOME/bin:/usr/local/bin:/usr/local/mysql/bin:/usr/bin:/usr/ccs/bin:/usr/ucb:/sbin:/usr/sbin:/usr/sfw/bin
* rrdtools binding will fail...  Edit 
build/rrdtool-1.2.15/bindings/python/Makefile.  Remove all occurrences of 
"-std=gnu99" then cd buid/rrdtool-1.2.15; make; make install.  Restart 
installation of zenoss...
* nagios-plugins will fail..  Change directory to build/nagios-plugins-1.4.5 
then execute: ./configure --prefix=$ZENHOME; make; make install.  Restart 
installation of zenoss...
* simplejson will fail...  Edit build/simplejson-1.4/ez_setup/__init__.py.  
Change DEFAULT_VERSION to "0.6c5" and add the following line in md5_data 
section: "   'setuptools-0.6c5-py2.5.egg': 'a8d3f61494ccaa8714dfed37bccd3d5d', 
"   Restart installation of zenoss.

The rest should work fine...

 - J.F. -

------------------------
J.F. Maltais




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=6275#6275

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to