Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: Solaris newbie: How to install IOzone in Solaris

Hybrid View

  1. #1
    Member
    Join Date
    Jun 2005
    Posts
    54
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default Solaris newbie: How to install IOzone in Solaris

    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

  2. #2
    Senior Member monk's Avatar
    Join Date
    Jan 2005
    Location
    Tibet
    Posts
    643
    Thanks
    5
    Thanked 43 Times in 38 Posts
    Rep Power
    15

    Default

    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
    Then goto iozone3_260/src/current directory and type make command:
    Code:
    make
    It will display the supported operating system, for example to compile on Solaris 10 with GCC compiler I need to type command:
    Code:
    make Solaris10gcc
    OR just type Solaris for 32 bit version
    Code:
    make Solaris
    Detailed installation information is provided ms-word doc file called iozone3_260/docs/IOzone_msword_98.doc there is also a pdf file in iozone3_260/docs directory.

  3. #3
    Member
    Join Date
    Jun 2005
    Posts
    54
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    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

  4. #4
    Contributors sweta's Avatar
    Join Date
    Feb 2005
    Location
    New Delhi
    Posts
    225
    Thanks
    20
    Thanked 12 Times in 12 Posts
    Rep Power
    12

    Default

    # 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
    I hope you have compiler installed; following command will give full path of C compiler:
    which cc
    which gcc

    make command
    You can setup PATH or you can type full path:
    /usr/ccs/bin/make
    OR
    /usr/xpg4/bin/make

    If you are using bash or sh shell then setup path using following command:
    export PATH=$PATH:/usr/css/bin:/usr/xpg4/bin
    Display new path:
    echo $PATH

  5. #5
    Member
    Join Date
    Jun 2005
    Posts
    54
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    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

  6. #6
    Contributors
    Join Date
    Jun 2005
    Location
    London, UK
    Posts
    208
    Thanks
    0
    Thanked 1 Time in 1 Post
    Rep Power
    10

    Default

    Sun Blade 150 is 64-bit workstation, so uname is reporting it as a 64 bit version

  7. #7
    Is that all you got? rockdalinux's Avatar
    Join Date
    May 2005
    Location
    Planet Vegeta
    Posts
    987
    Thanks
    27
    Thanked 71 Times in 62 Posts
    Rep Power
    20

    Default

    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.
    What's wrong? I hope I am not making you uncomfortable...

    Never send a boy to do a mans job.

  8. #8
    Member
    Join Date
    Jun 2005
    Posts
    54
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    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.....

  9. #9
    Senior Member monk's Avatar
    Join Date
    Jan 2005
    Location
    Tibet
    Posts
    643
    Thanks
    5
    Thanked 43 Times in 38 Posts
    Rep Power
    15

    Default

    -> Solaris (32bit) <-
    -> Solaris-2.6 (32bit) <-
    -> Solaris7gcc (32bit) <-
    -> Solaris8-64 (64bit) <-
    -> Solaris8-64-VXFS (64bit) <-
    -> Solaris10gcc (32bit) <-

    Try
    Code:
    make Solaris8-64
    OR
    Code:
    make Solaris10gcc
    Else create softlink to gcc as cc command using ln -s command.

  10. #10
    Member
    Join Date
    Jun 2005
    Posts
    54
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    # 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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Newbie here...looking to install
    By Newlnx in forum Getting started tutorials
    Replies: 4
    Last Post: 25th March 2008, 12:26 AM
  2. Solaris
    By p_narahari in forum Solaris/OpenSolaris
    Replies: 1
    Last Post: 4th May 2005, 06:14 PM
  3. Solaris
    By p_narahari in forum Solaris/OpenSolaris
    Replies: 1
    Last Post: 4th May 2005, 05:59 PM
  4. Solaris 10 NIC support
    By weichong78 in forum Solaris/OpenSolaris
    Replies: 1
    Last Post: 2nd March 2005, 11:37 AM
  5. Solaris 10
    By monk in forum Solaris/OpenSolaris
    Replies: 6
    Last Post: 7th February 2005, 01:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •