Solaris Shell - Remote access


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris Shell - Remote access
# 1  
Old 09-21-2012
Solaris Shell - Remote access

Hi all;

I'm looking for free access to the Solaris operating system. I have no way to install at home (even on a virtual machine).

I been developing BOINC project (OProject@Home: site: oproject.goldbach.pl). I would like to compile and test programs on Solaris.

Can someone provide a remote access?

I just need compilers (gcc, g+ +, make, svn). I can count on for help?
# 2  
Old 09-21-2012
If you want to work on Solaris you can download both Solaris 10 & 11 from the Oracles site.
On the download page you can choose different types of install media. They have VMs you can download and install. I have downloaded and installed Solaris at home for testing.
just Google "solaris download" and you will see the links. The OS is for free.

As for compilers have you looked at sunfreeware.com?
# 3  
Old 09-21-2012
gcc and g++ are actually bundled with Solaris 10 and 11.
# 4  
Old 09-24-2012
OK. I have:

Code:
Rysiu@solaris:~$ uname -a
SunOS solaris 5.11 11.0 i86pc i386 i86pc

Code:
Rysiu@solaris:~$ /usr/sfw/bin/g++ -v                                           
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/specs
Configured with: /builds/hudson/workspace/nightly/build/i386/components/gcc3/gcc-3.4.3/configure --prefix=/usr/sfw --mandir=/usr/sfw/share/man --infodir=/usr/sfw/share/info --without-gnu-ld --with-ld=/usr/bin/ld --enable-languages=c,c++,f77,objc --enable-shared --with-gnu-as --with-as=/usr/gnu/bin/as
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-20050802)

I compile simple program hello world!

Code:
Rysiu@solaris:~$ /usr/sfw/bin/g++ hello.cpp -o hello
hello.cpp:1:20: stdio.h: No such file or directory
hello.cpp: In function `int main()':
hello.cpp:5: error: `printf' undeclared (first use this function)
hello.cpp:5: error: (Each undeclared identifier is reported only once for each function it appears in.)

How to add a library? Are not available.
# 5  
Old 09-24-2012
You are not missing a library but an include file (i.e. header). Install them with:
Code:
pkg install system/header

# 6  
Old 09-25-2012
Ok, work. I compile 'Hello wordl' Smilie

However, I have a problem with other libraries.

Code:
ld: fatal: library -lm: not found
ld: fatal: library -lc: not found

math.h and stdlib.h is available in the system at

Code:
/usr/include/math.h
/usr/include/stdlib.h

There you will find all files with headers.

Linking (so files) does not work. I need to do something?
# 7  
Old 09-25-2012
Are you trying to statically link your program (--static) ?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Except script to run a local shell script on remote server using root access

local script: cat > first.sh cd /tmp echo $PWD echo `whoami` cd /tmp/123 tar -cvf 789.tar 456 sleep 10 except script: cat > first #!/usr/bin/expect set ip 10.5.15.20 set user "xyz123" set password "123456" set script first.sh spawn sh -c "ssh $user@$ip bash < $script" (1 Reply)
Discussion started by: Aditya Avanth
1 Replies

2. AIX

AIX Remote Access

Hello, I'd like to start my question with, is it possible to display the CDE of an AIX device with remote connection from Windows 7? We normally use the Exceed application for this, though I need to connect to the device with VPN connection. With Exceed it goes through TCP, with VPN its UDP,... (2 Replies)
Discussion started by: kobee24
2 Replies

3. Homework & Coursework Questions

Remote Access vs Local Access

Dear Friends, This is not a problem , it's a course work (UNIX scenario).... As part of it I am searching Remote Attacks and find points as 1. Exploiting a listening service 2. Routing through Unix system that is providing security between 2 or more networks 3. User initiated Remote execution... (1 Reply)
Discussion started by: anespa
1 Replies

4. Solaris

Remote Access using GUI from one Solaris to another one

hi gyus, i'm trying to login trough GUI (using login screen, instead to login to locahost I login to remote host) from on Solaris 10 to another one. You know, I see the remote host in the host list, but It's not possible to login since the screen keeps black and after that get back to the former... (3 Replies)
Discussion started by: daninx
3 Replies

5. UNIX for Dummies Questions & Answers

Remote access from Windows 2000 into Solaris 8

All, I am looking for the easiest solution that will let me remote access from a Windows 2000 client into a Solaris 8 server. Any suggestions? Thanks Kevin (3 Replies)
Discussion started by: Kevin1166
3 Replies

6. Shell Programming and Scripting

Setting environment variable on a remote solaris machine using shell script

Hi, I am trying to set environment variable on a remote machine. I want to do it by running a shell script Here's what I am doin rsh <remote-hostname> -l root "cd /opt/newclient; . ./setp.sh" In setp.sh, I have ############################# cd ../newlib; export... (1 Reply)
Discussion started by: eamani_sun
1 Replies

7. Shell Programming and Scripting

remote hosts access problem on solaris

hey guys, i am on a box named pluto and i need to be able to log into another box named genesis. i need to be able to ssh into genesis as root and not get asked for the password. what file do i need to edit on genesis to make this happen? i searched for the .rhosts file it doesn't seem to exist.... (1 Reply)
Discussion started by: Terrible
1 Replies

8. Solaris

Remote Access

Hi We access all our SPARC/x86 servers (Solaris 8,9 & 10) using ssh. I am looking for a open source tool that allows me to get the GUI on to my laptop. I tried with x-org and some other applications like Hummingbird. Encountered problems with license issues and CPU compatability of my laptop. ... (2 Replies)
Discussion started by: chrs0302
2 Replies

9. UNIX for Dummies Questions & Answers

Need help to access/mount so to access folder/files on a Remote System using Linux OS

Hi I need to access files from a specific folder of a Linux system from an another Linux System Remotely. I know how to, Export a folder on One SCO System & can access the same by using Import via., NFS in the Sco Unix SVR4 System using the scoadmin utility. Also, I know to use mount -t ... (2 Replies)
Discussion started by: S.Vishwanath
2 Replies
Login or Register to Ask a Question