Compilation Woes (2.7)

From: David Rieger (drieger@olac.berkeley.edu)
Date: Thu Jul 17 2003 - 16:32:05 EDT


Solaris 2.7
Forte 6 installed

Howdy Folks,

I'm trying to install a SSH server - to accomplish this I obtained Forte 6
from my campus softdist . I dutifully installed the license file and set my
path to "see" this new installation:

Here's the PATH:

/usr/bin:/usr/sbin:/usr/local:/usr/local/bin:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/ccs/lib:/usr/ccs/lib/sparcv9

Tried running ./configure and it failed with the typical "C compiler cannot
create executables". I checked out config.log (appended to this mesage
below) and I have a couple of questions:

1.) Why is ./configure only seeing gcc?
2.) Is there a switch to force ./configure to see cc (in the SUNWspro folder)
3.) The file "values-Xa.o" is located in /usr/ccs/lib/sparcv9, so why is it
not found when I have added it to the Path (or is there a switch to get
around this).

Your guru answers are welcomed.

All my thanks,

David

####

config.log:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:658: checking distribution consistency
configure:720: checking host system type
configure:741: checking target system type
configure:759: checking build system type
configure:782: checking cached information
configure:811: checking for a BSD compatible install
configure:864: checking whether build environment is sane
configure:921: checking whether make sets ${MAKE}
configure:967: checking for working aclocal-1.4
configure:980: checking for working autoconf
configure:993: checking for working automake-1.4
configure:1006: checking for working autoheader
configure:1019: checking for working makeinfo
configure:1065: checking whether building in source directory
configure:1084: checking using purify
configure:1113: checking for gcc
configure:1284: checking for gcc
configure:1397: checking whether the C compiler (gcc -g ) works
configure:1413: gcc -o conftest -g conftest.c 1>&5
ld: fatal: file values-Xa.o: open failed: No such file or directory
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:

#line 1408 "configure"
#include "confdefs.h"

main(){return(0);}
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:46 EDT