This is a discussion on Solaris newbie: How to install IOzone in Solaris within the Solaris/OpenSolaris forums, part of the UNIX operating systems category; Hello, I'm new to Solaris. I have here a Sun Blade 150, SUNOS Release 5.8. I am searching the net ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
Hello,
I'm new to Solaris. I have here a Sun Blade 150, SUNOS Release 5.8. I am searching the net for days on how to install IOzone in Solaris but not able to find one. There are also no instruction in the IOzone web site on how to install it in Solaris. What's available in the site is the tar file and rpm file. May anyone please help me or just point me to any links i'll just read it. Thanks, warren |
| Sponsored Links | ||
|
|
|
||||
|
Warren,
You need to download source code and compile it on Solaris. On solaris it support both Gcc and Sun C compiler. Download http://www.iozone.org/src/current/iozone3_260.tar file Untar using tar command: Code:
tar xvf iozone3_260.tar Code:
make Code:
make Solaris10gcc Code:
make Solaris |
|
|||
|
ok, thanks for the reply.
After I typed the command "make", i've got an error message. bash: make: command not found # find / -name \*make -print /usr/share/lib/make /usr/lib/spell/hashmake /usr/lib/svr4.make /usr/lib/lu/lumake /usr/openwin/bin/imake /usr/ccs/bin/make /usr/ccs/lib/svr4.make /usr/sbin/lumake /usr/xpg4/bin/make Have I installed make? or maybe the $PATH is broken, how can I set it in my environment variables? Thanks, warren |
|
|||
|
ok, thank you so much. I've got it.
I have modified the $PATH or by just typing the full path of the make command. output of: bash-2.03# which cc /usr/ucb/cc bash-2.03# which gcc no gcc in /usr/sbin /usr/bin /usr/dt/bin /usr/openwin/bin /bin /usr/ucb /usr/ccs/bin /usr/xpg4/bin One more question. I'm not sure if my Solaris is 32bit or 64bit. This box is Sun Blade 150. but during boot up, there a message: SUNOS Release 5.8 Version Generic_108528-29 64 bit The hardware is 32 bit, right? but why is it that there is a 64 bit message? Thanks, warren |
|
||||
|
Hmm...
64 bit os on 32 bit hardware, not possible dude. It is a 64 bit hadware see spec at http://www.sun.com/desktop/workstation/sunblade150/
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
|
|||
|
There is no compiler installed....
#make Solaris8-64 .......... /usr/ucb/cc: language optional software package not installed I installed gcc and then modify the PATH. Verify, make a helloworld.c and then compile using "gcc helloworld.c -o helloworld" ok....no problem Run again: #make Solaris8-64 the same error. the script is set to use cc what the..... |
|
||||
|
-> Solaris (32bit) <-
-> Solaris-2.6 (32bit) <- -> Solaris7gcc (32bit) <- -> Solaris8-64 (64bit) <- -> Solaris8-64-VXFS (64bit) <- -> Solaris10gcc (32bit) <- Try Code:
make Solaris8-64 Code:
make Solaris10gcc |
|
|||
|
# make Solaris10gcc
ok, no error. I can run ./iozone but "Solaris10gcc" option is for 32 bit and Solaris 10. My machine is Solaris 8 and 64 bit, maybe this will result to an incorrect benchmark. I created a softlink to gcc as cc. # make Solaris8-64 Building iozone for Solaris8-64 cc -fast -xtarget=generic64 -v -c -Dunix -DHAVE_ANSIC_C -DASYNC_IO \ -D__LP64__ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \ -DNAME='"Solaris8-64"' -Dsolaris -DHAVE_PREAD \ iozone.c -o iozone_solaris8-64.o Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/specs gcc version 2.95.2 19991024 (release) cc: language target=generic64 not recognized cc: iozone.c: linker input file unused since linking not done cc -fast -xtarget=generic64 -v -c -Dunix -DHAVE_ANSIC_C -DASYNC_IO \ -D__LP64__ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \ -Dsolaris -DHAVE_PREAD libasync.c -o libasync.o Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/specs gcc version 2.95.2 19991024 (release) cc: language target=generic64 not recognized cc: libasync.c: linker input file unused since linking not done cc -fast -xtarget=generic64 -v -c -Dunix -DHAVE_ANSIC_C -DASYNC_IO \ -D__LP64__ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \ -Dsolaris -DHAVE_PREAD libbif.c -o libbif.o Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/specs gcc version 2.95.2 19991024 (release) cc: language target=generic64 not recognized cc: libbif.c: linker input file unused since linking not done cc -c libasync.c libasync.c:101: sys/timers.h: No such file or directory *** Error code 1 make: Fatal error: Command failed for target `libasync.o' I am now downloading Sun Studio 11, I hope I can successfully installed this without errors, again |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Newbie here...looking to install | Newlnx | Getting started tutorials | 4 | 03-25-2008 12:26 AM |
| Solaris | p_narahari | Solaris/OpenSolaris | 1 | 05-04-2005 06:14 PM |
| Solaris | p_narahari | Solaris/OpenSolaris | 1 | 05-04-2005 05:59 PM |
| Solaris 10 NIC support | weichong78 | Solaris/OpenSolaris | 1 | 03-02-2005 11:37 AM |
| Solaris 10 | monk | Solaris/OpenSolaris | 6 | 02-07-2005 01:52 PM |