Oct 12, 2009 1:15 PM
Opensolaris, Zenoss 2.2 and 2.4.5 build problem
-
Like (0)
Zenoss build in Zoned, Crossbowed environment
pkg install SUNWgpch SUNWswig SUNWgnu-findutils SUNWgmake SUNWmysql-base SUNWmysql5 gcc-dev sunstudioexpress this common installation.
uname -a
SunOS webzonaOQ 5.11 snv_111b i86pc i386 i86pc
Major dependencies:
autoconf -V autoconf (GNU Autoconf) 2.61
swig -version SWIG Version 1.3.35 SUNWswig
gcc -v
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/specs
Configured with: /builds2/sfwnv-111a/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++,f77,objc --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-20050802)
Mysql version: 5.0.67 SUNWmysql-base SUNWmysql5
ln -s /usr/mysql/5.0/bin/mysql_config /usr/bin/mysql_config
crle
Configuration file [version 4]: /var/ld/ld.config
Platform: 32-bit LSB 80386
Default Library Path (ELF): /lib/:/usr/lib/:/usr/mysql/5.0/lib/mysql/:/opt/SunStudioExpress/lib
Trusted Directories (ELF): /lib/secure:/usr/lib/secure (system default)
Command line:
crle -c /var/ld/ld.config -l /lib/:/usr/lib/:/usr/mysql/5.0/lib/mysql/:/opt/SunStudioExpress/lib
tail zenbuild.log (zenoss-2.2.0)
copying MySQLdb/constants/CLIENT.py -> build/lib.solaris-2.11-i86pc-2.4/MySQLdb/constants
running build_ext
building '_mysql' extension
creating build/temp.solaris-2.11-i86pc-2.4
gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/mysql/5.0/include/mysql -I//usr/local/zenoss/include/python2.4 -c _mysql.c -o build/temp.solaris-2.11-i86pc-2.4/_mysql.o -I/usr/mysql/5.0/include/mysql -xprefetch=auto -xprefetch_level=3 -mt -fns=no -fsimple=1 -xbuiltin=%all -xlibmil -xlibmopt -xtarget=generic -DBIG_TABLES -DHAVE_RWLOCK_T
gcc: warning: `-x target=generic' after last input file has no effect
cc1: error: invalid option `t'
cc1: error: unrecognized command line option "-fns=no"
cc1: error: unrecognized command line option "-fsimple=1"
error: command 'gcc' failed with exit status 1
tail zenbuild.log (zenoss-2.4.5)
tail zenbuild.log
copying MySQLdb/constants/CLIENT.py -> build/lib.solaris-2.11-i86pc-2.4/MySQLdb/constants
running build_ext
building '_mysql' extension
creating build/temp.solaris-2.11-i86pc-2.4
gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/mysql/5.0/include/mysql -I//usr/local/zenoss/include/python2.4 -c _mysql.c -o build/temp.solaris-2.11-i86pc-2.4/_mysql.o -I/usr/mysql/5.0/include/mysql -xprefetch=auto -xprefetch_level=3 -mt -fns=no -fsimple=1 -xbuiltin=%all -xlibmil -xlibmopt -xtarget=generic -DBIG_TABLES -DHAVE_RWLOCK_T
gcc: warning: `-x target=generic' after last input file has no effect
cc1: error: invalid option `t'
cc1: error: unrecognized command line option "-fns=no"
cc1: error: unrecognized command line option "-fsimple=1"
error: command 'gcc' failed with exit status 1
zenbuild.log attached
I try install Zenoss 2.5 from source(from #svn co http://dev.zenoss.org/svn/branches/zenoss-2.5.x/inst zenossinst) but the problem equal as lower versions
tail zenbuild.log
running build
running build_py
running build_ext
building '_mysql' extension
gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/mysql/5.0/include/mysql -I//usr/local/zenoss/include/python2.4 -c _mysql.c -o build/temp.solaris-2.11-i86pc-2.4/_mysql.o -I/usr/mysql/5.0/include/mysql -xprefetch=auto -xprefetch_level=3 -mt -fns=no -fsimple=1 -xbuiltin=%all -xlibmil -xlibmopt -xtarget=generic -DBIG_TABLES -DHAVE_RWLOCK_T
gcc: warning: `-x target=generic' after last input file has no effect
cc1: error: invalid option `t'
cc1: error: unrecognized command line option "-fns=no"
cc1: error: unrecognized command line option "-fsimple=1"
error: command 'gcc' failed with exit status 1
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||