* compiling ssh
@ 2000-01-07 18:08 Craig Simpson
2000-04-01 0:00 ` Craig Simpson
0 siblings, 1 reply; 2+ messages in thread
From: Craig Simpson @ 2000-01-07 18:08 UTC (permalink / raw)
To: help-gcc
Had problems getting ssh to compile on Solaris 2.6.
I installed the latest gcc from http://www.sunfreeware.com/ .
gcc-2.95.1-sol26-sparc-local.gz. The latest is nice because extra lib
are not needed to be installed along with the compiler. One package
gets it all.
The below is a list of what is needed to compile right from
datafellows:
Solaris ships with everything you need, with the
exception of the compiler itself. Solaris
ships with the include files, make, an assembler,
linker and libraries. All this stuff lives
in /usr/ccs/bin (add it to your PATH before
/usr/ucb if that's in your PATH as well)
/usr/ccs/lib and /usr/include. If you still can't
find it, make sure you have the following
packages installed on your system:
for tools (sccs, lex, yacc, make, nm, truss, ld,
as):
SUNWbtool
SUNWsprot
SUNWtoo
for libraries & headers:
SUNWhea
SUNWarc
SUNWlibm
SUNWlibms
SUNWdfbh
SUNWcg6h
SUNWxwinc
SUNWolinc
SUNWxglh
for ucb compat:
SUNWsra
SUNWsrh
These packages are all on the Solaris 2.x CDs,
except that some packages may only
exist in some releases and not in others. Some
packages may be on separate CDs,
such as the "Desktop/CDE" CD, but all are part of
the Solaris "bundle".
To make SSH compile of Solaris 2.6 you need all
above libraries installed in your Solaris
box.
Then I stuck in my rather large PATH
PATH=/usr/openwin/bin:/usr/sbin:/usr/bin:/usr/lib:/usr/local/lib:/usr/ccs:/usr/ccs/bin:/usr/ccs/lib:/usr/local/include:/usr/ucb:/usr/ucblib:/usr/local/lib/gcc-lib:/usr/local/include/g++-3/:/usr/local/include/g++-3/std:/usr/local/sparc-sun-solaris2.6/include:/usr/local/bin:/lib/gcc-lib/sparc-sun-solaris2.6/2.95.1:/lib/gcc-lib/sparc-sun-solaris2.6/2.95.1/include:/lib/gcc-lib/sparc-sun-solaris2.6/2.95.1/include/objc:/export/home/craigs/gcc-2.95.1/libio:/export/home/craigs/gcc-2.95.1/libio/stdio:
Think I put a few things that where not needed in the PATH big deal it
worked.
Also as the path will show I downloaded the source code also and
untared it in my home directory. Added the lib directorys in my PATH
from the source code at the end. This was just to make sure no libs
are not found.
Craig
^ permalink raw reply [flat|nested] 2+ messages in thread
* compiling ssh
2000-01-07 18:08 compiling ssh Craig Simpson
@ 2000-04-01 0:00 ` Craig Simpson
0 siblings, 0 replies; 2+ messages in thread
From: Craig Simpson @ 2000-04-01 0:00 UTC (permalink / raw)
To: help-gcc
Had problems getting ssh to compile on Solaris 2.6.
I installed the latest gcc from http://www.sunfreeware.com/ .
gcc-2.95.1-sol26-sparc-local.gz. The latest is nice because extra lib
are not needed to be installed along with the compiler. One package
gets it all.
The below is a list of what is needed to compile right from
datafellows:
Solaris ships with everything you need, with the
exception of the compiler itself. Solaris
ships with the include files, make, an assembler,
linker and libraries. All this stuff lives
in /usr/ccs/bin (add it to your PATH before
/usr/ucb if that's in your PATH as well)
/usr/ccs/lib and /usr/include. If you still can't
find it, make sure you have the following
packages installed on your system:
for tools (sccs, lex, yacc, make, nm, truss, ld,
as):
SUNWbtool
SUNWsprot
SUNWtoo
for libraries & headers:
SUNWhea
SUNWarc
SUNWlibm
SUNWlibms
SUNWdfbh
SUNWcg6h
SUNWxwinc
SUNWolinc
SUNWxglh
for ucb compat:
SUNWsra
SUNWsrh
These packages are all on the Solaris 2.x CDs,
except that some packages may only
exist in some releases and not in others. Some
packages may be on separate CDs,
such as the "Desktop/CDE" CD, but all are part of
the Solaris "bundle".
To make SSH compile of Solaris 2.6 you need all
above libraries installed in your Solaris
box.
Then I stuck in my rather large PATH
PATH=/usr/openwin/bin:/usr/sbin:/usr/bin:/usr/lib:/usr/local/lib:/usr/ccs:/usr/ccs/bin:/usr/ccs/lib:/usr/local/include:/usr/ucb:/usr/ucblib:/usr/local/lib/gcc-lib:/usr/local/include/g++-3/:/usr/local/include/g++-3/std:/usr/local/sparc-sun-solaris2.6/include:/usr/local/bin:/lib/gcc-lib/sparc-sun-solaris2.6/2.95.1:/lib/gcc-lib/sparc-sun-solaris2.6/2.95.1/include:/lib/gcc-lib/sparc-sun-solaris2.6/2.95.1/include/objc:/export/home/craigs/gcc-2.95.1/libio:/export/home/craigs/gcc-2.95.1/libio/stdio:
Think I put a few things that where not needed in the PATH big deal it
worked.
Also as the path will show I downloaded the source code also and
untared it in my home directory. Added the lib directorys in my PATH
from the source code at the end. This was just to make sure no libs
are not found.
Craig
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-04-01 0:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-07 18:08 compiling ssh Craig Simpson
2000-04-01 0:00 ` Craig Simpson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).