Compiling glib, atk, ... under Solaris 9
- From: Jose Marcio Martins da Cruz <Jose-Marcio Martins ensmp fr>
- To: gtk-list gnome org
- Subject: Compiling glib, atk, ... under Solaris 9
- Date: Mon, 17 Mar 2003 13:31:32 +0100
Hello,
I can't succeed compiling gtk-2.2.1 suite under Solaris 9.
I'd like to be able to install gtk (static libraries) under
/usr/local/gtk.
I've installed pkg-config 0.14.0 under /usr/local/pkgconfig
I'd like to install all gtk packages (glib, atk, ... gtk), under
/usr/local/gtk.
I succeeded to install glib under /usr/local/gtk, configured with the
following simple sh script :
#! /bin/sh
PREFIX=/usr/local/gtk-2.2.1
export PREFIX
./configure \
--enable-static=yes \
--enable-shared=no \
--with-threads=posix \
--enable-gtk-doc \
--prefix=$PREFIX
In this case, pkgconfig files get installed at :
martins paris-new:sources/gtk/atk-1.2.0> ll
/usr/local/gtk-2.2.1/lib/pkgconfig/
total 12
drwxr-xr-x 2 root other 512 Mar 17 09:44 ./
drwxr-xr-x 5 root other 1024 Mar 17 09:44 ../
-rw-r--r-- 1 root other 340 Mar 17 09:44 glib-2.0.pc
-rw-r--r-- 1 root other 262 Mar 17 09:44 gmodule-2.0.pc
-rw-r--r-- 1 root other 249 Mar 17 09:44 gobject-2.0.pc
-rw-r--r-- 1 root other 250 Mar 17 09:44 gthread-2.0.pc
So, I tried to install atk-1.2.0, with the following simple sh script :
#! /bin/sh
PREFIX=/usr/local/gtk-2.2.1
export PREFIX
./configure \
--enable-static=yes \
--enable-shared=no \
--prefix=$PREFIX
atk configuration fails miserably, saying it can't find glib.
When I take a look at config.log, it says it can't find glib.h, ...
I can define CPPFLAGS, LDFLAGS to go a little furter, but it ends
failing to link.
I tried to recompile glib, with different compilers (gcc-3.0.2,
gcc-3.2.2, SunCC, ...) with and without dynamic libraries, and this
changes nothing.
Maybe someone have an idea ?
Thanks for your help.
Jose Marcio
--
---------------------------------------------------------------
Jose Marcio MARTINS DA CRUZ Tel. :(33) 01.40.51.93.41
Ecole Nationale Superieure des Mines de Paris
Centre de Calcul http://j-chkmail.ensmp.fr
60, bd Saint Michel http://www.ensmp.fr/~martins
75272 - PARIS CEDEX 06 mailto:Jose-Marcio Martins ensmp fr
---------------------------------------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]