Gtk Hell!
Ok, this is the problem.
I downloaded all the necesary gtk files... glib, pango, atk, gtk, pkgconfig etc. I unzipped/gunzipped/bunzipped them all cd'd to glib-2.6.0 ./configure make make install mkdir /usr/include/glib cd glib cp *h /usr/include/glib cd .. <repeat for all the other header files> cd .. export PKG_CONFIG_PATH=/usr/local/src/glib-2.6.0:$PKG_CONFIG_PATH cd pango-x-x-x ./configure make After doing all that, it gives me errors. libtool: link: cannnot find library "..//usr/local/src/glib-2.6.0/<somelibrary>" The problems is in the makefiles or something. If you nano/pico/vi/whatever a makefile, GLIB_CFLAGS = -pthread -I$(top_builddir)//usr/local/src/glib-2.6.0/./gmodule -I$(top_builddir)//usr/local/src/glib-2.6.0 -I$($GLIB_GENMARSHAL = $(top_builddir)//usr/local/src/glib-2.6.0/gobject/glib-genmarshal GLIB_LIBS = $(top_builddir)//usr/local/src/glib-2.6.0/glib/libglib-2.0.la $(top_builddir)//usr/local/src/glib-2.6.0/gobject/l$GLIB_MKENUMS = $(top_builddir)//usr/local/src/glib-2.6.0/./gobject/glib-mkenums GOBJECT_QUERY = $(top_builddir)//usr/local/src/glib-2.6.0/gobject/gobject-query It has $(top_builddir) evaluating to ".." So it looks for the library ..//usr/local/src/glib-2.6.0/<somelibrary> and returns an error when it should be doing just /usr/local/src/glib-2.6.0/<somelibrary> and being happy with all its libraries. :-) I refuse to edit it, there are hundreds of makefiles I would have to edit for gtk and atk. I edited them all for pango and removed the $(top_builddir) and it worked so I know it is this. Any clues? Happy holidays. |
Quote:
|
No, its a problem. It didn't compile the library, and it stopped running the makefile... I don't think you read your error messages correctly if a library failed to build it would stop compiling and you would have problems.
|
hi this is a mistake i have seen people make before
when you do "make install" everything you need is installed including the header files libtool files .pc file etc just delete the build directory when you are done Quote:
the files are already installed in [prefix]/include/glib-2.0 and set PKG_CONFIG_PATH=[prefix]/lib/pkgconfig if you don't set --prefix= then default is /usr/local so you don't overwrite things in prefix=/usr |
I've tried the default, and /usr... neither worked... clues?
Btw, pango and friends look for header files in /usr/include/ Ex, /usr/include/glib.h Not /usr/include/glib-2.0/glib.h Odd... |
Quote:
|
All times are GMT -5. The time now is 12:11 AM. |