Thank you so much for everyone's input. I was just able to successfully compile sysbench (hurray).
What I did was: # Removed the current sysbench source directory rm -r -f sysbench-0.4.7 # Extracted a fresh copy from the tarball. tar -xf sysbench-0.4.7.tar # Changed my pwd to sysbench-0.4.7 cd sysbench-0.4.7 # Set up my environment CC=/opt/SUNWspro/bin/cc CFLAGS=-xarch=v9 LD_LIBRARY_PATH=/usr/local/mysql/lib:/usr/ccs/lib:/usr/lib:/usr/local/lib:/lib:/usr/ucblib PATH=/opt/SUNWspro/bin:/opt/SUNWspro/bin:/usr/sbin:/usr/bin:/usr/local/bin:.:/usr/ccs/bin:/usr/local/mysql/bin:/usr/local/bin:.:/usr/ccs/bin:/usr/local/mysql/bin # Cleaned out -xc99=none which was being produced by mysql_config by using a slightly modified version of the one liner recommended in this thread find . -name Makefile -print | while read i; do sed -e "s/-xc99=none//g" $i > $i.orig; mv $i.orig $i; done # run make make # finally install make install A big thanks to everyone who took their precious time to help me get this going. I really appreciate it. Thanks, Frank This message posted from opensolaris.org _______________________________________________ opensolaris-discuss mailing list [email protected]
