troubles while installing Sun Studio12
hi everybody!
could your please help me to understand where mistake is?
tried to install Sun Studio12 and received following messages
1. while checking for prerequisite software by typing
/prepare_system -c - got message "the following steps are required: netbeans patches" (help says i should ignore this report )
2. while unpacking SunStudio12-solaris-x86-200705-ii.tar.bz2 got
message "sunwspro/prod/lib/amd64/libsunperf.so2:HELP - extract write error "
3. running /sunwspro/bin/sunstudio got message "/sunwspro/bin/sunstudio:ERROR: environment variable DISPLAY is not set" - i guess
because of not extracting?
i'm a beginner at unix so will be very pleased for any help
[737 byte] By [
Viatora] at [2007-11-27 8:23:25]

# 1
1 - if the help says you can ignore it, I don't think you need to worry about that.
2 - if its extract error, there could be problems with drive space; please check that you have enough space to unpack the archive.
3 - not related to extraction problem. The message means that Sun Studio can't start because it can't draw itself on screen. If you're starting it from the same machine you're working on, do
export DISPLAY=:0
and try restarting it. If it fails with smth like
Error: Can't open display :0
then issue
xhost +
command in order to allow it to connect to display 0.
If you're running Sun Studio from a different machine, put your desktop machine name before ":0" like this:
export DISPLAY=myhost:0
and do "xhost +" on your desktop machine.
# 2
1 - i agree
2 - i have enough space for sure(~20Gb)
could you please tell me why such message occurs
i try to extract SunStudio12-solaris-x86-200705-ii.tar.bz2 (x86!)
message is "sunwspro/prod/lib/amd64/libsunperf.so2:HELP - extract write error" (amd64!)?
may be because of my trying to unpack it on x86 architecture and
i may ignore it too?
3 - thanks
# 3
> may be because of my trying to unpack it on x86
> architecture and
> i may ignore it too?
No, it's not that. As well as sparc version, x86 version includes both 32- and 64-bit binaries.
The name of the library looks suspicious - it should be libsunperf.so.2 (dot before "2").
As to the write error, if tar (or buzip) are telling the truth, then they are having problems *writing* a file, so I don't think that the archive is broken. Another guess is /tmp free space. It can be that the tool doesn't have enough room for intermediate file or smth like that. I'm really running out of ideas, sorry.
However, if you don't plan to use Sun performance library and other files have been extracted without errors, I guess you can just ignore all this.
# 4
>The name of the library looks suspicious - it should be libsunperf.so.2 (dot before "2").
yes sorry
>As to the write error, if tar (or buzip) are telling the truth, then they are having problems *writing* a file, so I don't think that the archive is broken. Another guess is /tmp free space. It can be that the tool doesn't have enough room for intermediate file or smth like that. I'm really running out of ideas, sorry.
ок i'll change /tmp free space and try again
>However, if you don't plan to use Sun performance library and other files have been extracted without errors, I guess you can just ignore all this.
ок thanks a lot