This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Install problems on Sun

Old posts that have not been replied to for several years.
Locked
v
vic20

Install problems on Sun

Post by vic20 »

Hi, I'm trying to install eggdrop on my Sun SparcStation 10, but I get an error when running the configure script. It fails in the "core test" section of the script, here's a part of the config.log :
--------------------------------------------------------------------------------

$ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = basil
uname -m = sun4m
uname -r = 5.9
uname -s = SunOS
uname -v = Generic

/usr/bin/uname -p = sparc
/bin/uname -X = System = SunOS
Node = basil
Release = 5.9
KernelID = Generic
Machine = sun4m
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 2

/bin/arch = sun4
/usr/bin/arch -k = sun4m
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/dt/bin
PATH: /usr/openwin/bin
PATH: /bin
PATH: /usr/ucb


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1264: result:
configure:1266: result: This is Eggdrop's GNU configure script.
configure:1268: result: It's going to run a bunch of strange tests to hopefully
configure:1270: result: make your compile work without much twiddling.
configure:1272: result:
configure:1350: checking for gcc
configure:1379: result: no
configure:1430: checking for cc
configure:1446: found /usr/ucb/cc
configure:1456: result: cc
configure:1618: checking for C compiler version
configure:1621: cc --version </dev/null >&5
/usr/ucb/cc: language optional software package not installed
configure:1624: $? = 1
configure:1626: cc -v </dev/null >&5
/usr/ucb/cc: language optional software package not installed
configure:1629: $? = 1
configure:1631: cc -V </dev/null >&5
/usr/ucb/cc: language optional software package not installed
configure:1634: $? = 1
configure:1654: checking for C compiler default output
configure:1657: cc conftest.c >&5
/usr/ucb/cc: language optional software package not installed
configure:1660: $? = 1
configure: failed program was:
#line 1637 "configure"
#include "confdefs.h"

int
main ()
{

;
return 0;
}
configure:1687: error: C compiler cannot create executables
check `config.log' for details.

---------------------------------------------------------------------------------

I'm e newbie, so I don't understand much of this logfile...... can anybody
help me ?


Thanks
Vic20
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

What is the actual output from a simple "./configure"?
v
vic20

Post by vic20 »

ppslim wrote:What is the actual output from a simple "./configure"?
Hi, and thanks for your answer, here's the actual output:

$ ./configure

This is Eggdrop's GNU configure script.
It's going to run a bunch of strange tests to hopefully
make your compile work without much twiddling.

checking for gcc... no
checking for cc... cc
checking for C compiler default output... configure: error: C compiler cannot create executables
check `config.log' for details.
$

I tried another irc bot script called "Energymech", and when I run the configure script I got an error message saying:

"A working C compiler is needed to compile the EnergyMech".

This is strange, because when I installed the OS, Solaris 9 there was 4 options, "core", "end user", "developer" and "Entire distribution". I choose the "Developer", so I assume the C compiler is installed. Maybe the configure script doesn't know where to search for the compiler ??


Vic20



Vic20
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

The C compiler should be available within one of the directories located in the PATH environment variable.
v
vic20

f*** Solaris

Post by vic20 »

ppslim wrote:The C compiler should be available within one of the directories located in the PATH environment variable.
I have gathered some information regarding this matter, and found that Solaris doesn't come with a compiler ! Believe it or not...

Here's what I found:
------------------------------------------------------------------------------------------------------------------------------------------------
"Solaris is a great operating system to be sure, but one thing sticks out as a glaring omission especially if you're used to using Linux or one of the *BSDs. There is no compiler installed! When Sun went from SunOS to Solaris, they removed the compiler. In it's place, Sun left a "stub" as /usr/ucb/cc which, when executed - leaves a less than desirable (or helpful) error message on your screen - notice the word "optional" also:

/usr/ucb/cc: language optional software package not installed

So basically what they're saying is that you don't have a compiler installed, it's optional - but they don't tell you that it doesn't come with Solaris. You must either go out and buy Sun's Visual WorkShop product (which is now called Forte C) at $1,295.00US (for one user), or install GNU's C compiler (gcc) which is free."
------------------------------------------------------------------------------------------------------------------------------------------------

So, there's the answer to why the configure script fails...........:/


Thanks anyway!

Vic20
Locked