Re: [gtk-list] gtk+-1.2.0/glib-1.2.0 compile problem



"J. W. Ballantine" wrote:
> 
> Hi,
> 
> I'm trying to compile gtk+-1.2.0 on a solaris 2.6 system and it fails with:
> 
> /bin/sh ../libtool --mode=link gcc  -g -O2 -Wall  -o testgtk  testgtk.o
> libgtk.la                                               ../gdk/libgdk.la
>                        -L/usr/openwin/lib -R/usr/openwin/lib
>                       -lXext -lX11 -lsocket  -lnsl
>                    ../../glib-1.2.0/libglib.la ../../glib-1.2.0/gmodule.la
>                                         -lm -ldl
> libtool: link: `' is not a valid libtool archive
> *** Error code 1
> 
> When I look in ../../glib-1.2.0 there is no gmodule.la, but there is a
> libglib.la.  So it appears that glib-1.2.0 is not compiling correctly,
> yet it appears to be compiling correctly and I can't find anything specific
> about gmodule.la in the glib documentation.
> 
> Anyone have any ideas on what I need to do to get gtk+/glib 1.2.0 to compile
> correctly ???
> 
I didn't have any problem compiling glib/gtk on solaris 2.6.
I used the source code.
Anyway, gmodule.la is in ../../glib-1.2.0/gmodule/gmodule.la
I don't know what went wrong in your Makefile.
Try to look in it and change the line compiling testgtk.

I hope it can help
-- 
Ronan BOURLIER                                  http://www.radioss.com
Development Engineer                            email: ronan@radioss.com
Radioss Consulting Corp.                        phone: +1 (248) 357 0657



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