Log in

No account? Create an account
LogJam [entries|archive|friends|userinfo]

[ website | LogJam ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Solaris help [Jul. 18th, 2001|12:25 pm]
A Solaris user sent me a bug report. configure fails. The error:
configure:981: cc -o conftest -I/opt/gnome-1.4/include/gtk-1.2 -I/opt/gnome-1.4/include/glib-1.2 -I/opt/gnome-1.4/lib/glib/include -D_REENTRANT conftest.c -L/opt/gnome-1.4/lib -lgtk -lgdk -lgmodule -lgthread -lglib -lthread -ldl -lXext -lX11 -lsocket -lnsl -lm 1>&5
/usr/ucb/cc: language optional software package not installed
configure: failed program was:
#line 903 "configure"
#include "confdefs.h"

Any ideas? Nothing has really changed on her system since LoserJabber was compiling happily.

(My gut feeling is it's somehow related to the -lthread, but I don't know much about Solaris.)

[User Picture]From: teferi
2001-07-18 12:31 pm (UTC)
That's the error /usr/ucb/cc (which isn't even a compiler, it just points to one when the Sun C compiler is installed) gives when no compiler is installed.
She could edit the makefile and change the value of $(CC), I suppose.
(Reply) (Thread)
(Deleted comment)
[User Picture]From: disco
2001-07-18 08:18 pm (UTC)
Making a link to gcc and calling it cc may give you some problems in the future because I believe cc uses different compiler flags than gcc so if a ./configure script tries to use cc the wrong flags will be set and you will get errors.
(Reply) (Parent) (Thread)
From: penguinx
2001-07-18 07:23 pm (UTC)

Means that they don't have a compiler installed

Essentially they do not have a compiler installed. Go to www.sunfreeware.com and download GCC. I did compile logjam against libcurl w/ openssl and gnome 1.4 (from sun). I intend to make a Solaris package and submit it as a contrib (if you would like) on Thursday or Friday.

(Reply) (Thread)
[User Picture]From: fuchs
2001-07-19 05:28 am (UTC)

Re: Means that they don't have a compiler installed

Yeah, that's right. We got the same problem in our company. Either there is no Sun Workshop compiler installed or there might be a problem with the licenseing server.
But GCC should be appropriate to get that stuff working.
(Reply) (Parent) (Thread)
[User Picture]From: aln
2001-11-15 06:37 am (UTC)

Re: Means that they don't have a compiler installed

Did you made Solaris package?
I cannot start last LogJam version for Solaris - it crashes on SIGSEGV in threads library.
(Reply) (Parent) (Thread)
[User Picture]From: sesquipedality
2001-07-23 02:53 am (UTC)
I have the Sun C compilers installed here, and the test program is throwing up numerous errors when I try to use them to compile it. Setting the CC environment variable to
'gcc' seems to get things going.

I'd suggest getting configure to use gcc for preference on Solaris.

Something else seems to be missing on my system though. network.c fails to compile with the error

network.c:25: curl/curl.h: No such file or directory

Any idea what's up?
(Reply) (Thread)
From: evan
2001-07-24 01:32 pm (UTC)
Do you have libcurl installed?

(Reply) (Parent) (Thread)