install prob.



I would like to get gtk+-2.4.3 working on my Fedora Core 1 system in ~/lib
so I can link with it when compiling gamp. However, I get errors when
trying to ./configure.

Since FC1 uses glib 2.2.3 and gtk+-2.4.3 requires a newer version, I first
compiled glib-2.4.2 and installed it in ~/lib. I then set vars:
export PKG_CONFIG_PATH="/home/ebryer/lib/lib/pkgconfig"
export LDFLAGS="-L/home/ebryer/lib/lib"
export CPPFLAGS="-I /home/ebryer/lib/include"
export CFLAGS="-I /home/ebryer/lib/include"

However, it appears gtk+-2.4.3 configure was then unsuccessful in linking
gtk+-2.4.3 with glib-2.4.2. Reported to stderr:

Requested 'glib-2.0 >= 2.4.0' but version of GLib is 2.2.3
configure: error: Library requirements (glib-2.0 >= 2.4.0    atk >= 1.0.1
   pango >= 1.4.0) not met; consider adjusting the PKG_CONFIG_PATH
environment variable if your libraries are in a nonstandard prefix so
pkg-config can find them.

The config.log shows the error is at:

configure:2882: gcc -c -I /home/ebryer/lib/include -I
/home/ebryer/lib/include conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:2888: $? = 1

I can't find "conftest.c". I tried to search the gtk-list archives for
help, but got a webserver error.

TIA for help installing this,

Erik



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