Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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,
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.
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:
cp *h /usr/include/glib
i don't know what prefix you used for install ?
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
Last edited by foo_bar_foo; 12-23-2004 at 09:55 PM.
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...
Originally posted by Kane635 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.
I'm well aware of what an error message looks like. It would help if we could see yours. Copy and paste the few lines before it says "error", as well as the error message itself.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.