RE: installing 2.8



Finally I can get back to this.  Well now I can get back to this.  To 
answer the questions below, the compiler that I am using is gcc (not cc). 
 I will prog provide some of the makefile for your inspection and see if 
that looks right.   . . . .

CFLAGS = -g -ansi -pedantic -Wall -d `gtk-config --cflags`  -DSPARC_SUNOS

INC_PATH = ..... (paths to include files)

LIB_PATH = -L/home/matt/mppcm/ssep/lib/debug/sparc_sunos56 \
                   -L/home/matt/mppcm/ssep/GTK/gtk+-1.2.8/lib \

LIBS = -lsl -lsocket -lnsl -lgl -lgtk -lgdk -lposix4 -lm

The above are some of the options that I am using for my application.

For GTK and GLIB I think I used most of the default settings but I did 
redirect the architecture-independent files I think.  Probabaly used
./configure --prefix=/home/matt/mppcm/ssep/GTK..... instead of the default 
/usr/local.  I think I also did the same thing with the GLIB ./configure 
script and redirected the prefix to /home/matt/mppcm/ssep/GLIB or something 
like that.  Could the error below be due to the above or did I not answer 
all questions?  Let me know if you need more info.  This is all on a Sun 
Solaris system.  Thanks for all your help.

Matt





-----Original Message-----
From:	Drazen Kacar [SMTP:dave srce hr]
Sent:	Saturday, October 28, 2000 7:58 AM
To:	Matt Eisemann
Cc:	'Dugas, Alan'; 'gtk-list gnome org'
Subject:	Re: installing 2.8

Matt Eisemann wrote:
> Well, it turns out that since running Sun Solaris it does not use 'ld' in 
> the /etc directory to find the libraries but solaris does rely on the
> LD_LIBRARY_PATH variable to find the GTK and GLIB libraries.  My
> application works now but the only disturbin thing is that when 
application
> links it still gets that
> /bin/sh:gtk-config: not found

Do you have the directory where gtk-config lives in your $PATH?

> but maybe it finds it later on?
>
> I also get some wierd warnings similar to
>
> glibconfig.h:43: warning: ANSI C does not support 'long long'
> glibconfig.h:44: warning: ANSI C does not support 'long long'
>
> Is there a patch for this or is that a bug in glibconfig.h ?  Thanks 
ahead
> of time for your help.

This has something to do with compiler options. Which compiler and which
options were used to build GTK? And which compiler and which options
were used to build the application?

--
 .-.   .-.    Sarcasm is just one more service we offer.
(_  \ /  _)
     |        dave srce hr
     |        dave fly srk fer hr





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]