Tdorris, was/is you problem resolved ? Were you able to compile it on solaris ?


tdorris wrote:
> Has anyone successfully built from source zenoss 2.0.6 on Solaris 10 x86 
> architecture?  I am using VMware ESX 3.0.2 with a Solaris 10 x86 (8/07) VM as 
> my target for my zenoss host.  I know there's a VMware zenoss appliance out 
> there, but our experience with the previous versions has not been good as far 
> as the app's stability is concerned, so we wanted to try the traditional 
> approach.
> 
> I've attempted the build using slightly different methods: manual 
> installation of required packages; and by utilizing "sssinyangin's" blastwave 
> install method.  Both methods fail at the same place during the build.
> 
> The one thing I'm wondering is: is the x86 version of Sun Studio 12 64-bit?  
> I understand the 32 bit does not work.
> 
> Here's what I get when I attempt the install (with no modifications to 
> scripts):
> 
> -bash-3.00$ ./install.sh 
> 
> This installer actually builds Zenoss.
> For a simpler installation try the VMPlayer Appliance image,
> or use RPMs for Redhat based systems.
> 
> Building...
> 
> Password for the Zenoss "admin" user [zenoss]:
> Enter the password again: 
> MySQL server hostname [localhost]: 
> MySQL server root username [root]: 
> MySQL server root password []: 
> MySQL event database name [events]: 
> MySQL username for Zenoss events database [zenoss]: 
> MySQL password for zenoss [zenoss]: 
> grep: illegal option -- q
> Usage: grep -hblcnsviw pattern file . . .
> gmake must be GNU make
> 
> Of course, -q for grep is a valid optioin and my gmake is GNU.
> 
> I was able to track down the line in the "build-functions.sh" script, which 
> barks about the grep and the make, so I modified the script to bypass that, 
> so now here's what I get:
> 
> -bash-3.00$ ./install.sh 
> 
> This installer actually builds Zenoss.
> For a simpler installation try the VMPlayer Appliance image,
> or use RPMs for Redhat based systems.
> 
> Building...
> 
> Password for the Zenoss "admin" user []:
> Enter the password again: 
> MySQL server hostname [localhost]: 
> MySQL server root username [root]: 
> MySQL server root password []: 
> MySQL event database name [events]: 
> MySQL username for Zenoss events database [zenoss]: 
> MySQL password for zenoss [zenoss]: 
> GNU Make 3.81
> installing into //opt/zenoss
> build log is in zenbuild.log
> unpacking Zope-2.8.8-final in build/
> tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file
> tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file
> tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file
> tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file
> tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file
> tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file
> tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file
> tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file
> tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file
> tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file
> gmake: *** [build/Zope-2.8.8-final/.unpacked] Error 1
> unable to build zenoss and prerequisites, see zenbuild.log
> 
> I noticed the double slash opt/zenoss didn't look right as far as install 
> directory (should of course be: /opt/zenoss).  But, then I figure it's 
> complaining about solaris version of tar.  So I create a soft link for gtar 
> in the right place and got it to go farther into the build:
> 
> -bash-3.00$ CC=cc ./install.sh
> 
> This installer actually builds Zenoss.
> For a simpler installation try the VMPlayer Appliance image,
> or use RPMs for Redhat based systems.
> 
> Building...
> 
> Password for the Zenoss "admin" user []:
> Enter the password again: 
> MySQL server hostname [localhost]: 
> MySQL server root username [root]: 
> MySQL server root password []: 
> MySQL event database name [events]: 
> MySQL username for Zenoss events database [zenoss]: 
> MySQL password for zenoss [zenoss]: 
> GNU Make 3.81
> installing into //opt/zenoss
> build log is in zenbuild.log
> installing libzenos/Products.tar.gz
> installing libzenos/bin.tar.gz
> installing libzenos/extras.tar.gz
> installing zope
> installing pysnmp
> installing pycrypto
> installing twisted
> installing twistedsnmp
> making zensocket
> gmake[1]: Entering directory `/opt/zenoss/build/zenoss-2.0.6.broke/zensocket'
> cc -o zensocket -g -lsocket zensocket.c
> "zensocket.c", line 16: cannot find include file: <ifaddrs.h>
> cc: acomp failed for zensocket.c
> gmake[1]: *** [zensocket] Error 2
> gmake[1]: Leaving directory `/opt/zenoss/build/zenoss-2.0.6.broke/zensocket'
> gmake: *** [zensocket-install] Error 2
> unable to build zenoss and prerequisites, see zenbuild.log
> 
> Checking the zenbuild.log file, I see where I believe the build bombs:
> 
> Checking if C extensions can be compiled, don't be alarmed if a few compile 
> errors are printed.
> /usr/lib/python2.4/pycc -DNDEBUG -I/usr/include/python2.4 -c conftest.c -o 
> conftest.o
> "conftest.c", line 1: warning: empty translation unit
> /usr/lib/python2.4/pycc -DNDEBUG -I/usr/include/python2.4 -c conftest.c -o 
> conftest.o
> "conftest.c", line 1: cannot find include file: <sys/epoll.h>
> "conftest.c", line 1: warning: empty translation unit
> cc: acomp failed for conftest.c
> 
> This leads me to believe that it's a c complier problem, not a python 
> problem.  Could this be that I dont' have the 64 bit version of the compiler? 
>  I even tried to cheat again and point it to the gcc in /usr/sfw/bin, but 
> that didn't work either.
> 
> I've been working on this for several days, and my window of opportunity is 
> quickly closing.  I will start persuing one of the linux alternatives very 
> soon.  Just curious if anyone out there was successful with x86 Solaris 10.





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

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

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



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

Reply via email to