This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

compiling ssh




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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]