LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   glade.h - In wich package? (https://www.linuxquestions.org/questions/debian-26/glade-h-in-wich-package-180343/)

EcceVery 05-11-2004 12:13 PM

glade.h - In which package?
 
when compiling a ftp program I get an error msg saying it misses the glade.h file. The configure return no errors. I've been looking for the glade.h file, but can't find it in any glade or gnome packages so far.

Am I doing something wrong or where do I get it? Here's the exact msg:

clipboard.c:25:25: glade/glade.h: No such file or directory
make[2]: *** [clipboard.o] Error 1
make[2]: Leaving directory `/home/merlin/deadftp-0.1.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/merlin/deadftp-0.1.3'
make: *** [all-recursive-am] Error 2

Wandering_Dru 05-11-2004 02:36 PM

Code:

# apt-get install libglade0-dev
One of the easiest ways of finding this type of info is to hit http://packages.debian.org/ and use the very good search function.

comp12345 05-11-2004 03:20 PM

It could also be libglade2-dev

EcceVery 05-12-2004 02:59 PM

I have tried those two, still no glade.h file... does anyone have the full path to where it should be located?

Wandering_Dru 05-12-2004 05:34 PM

I just attempted to compile deadftp. If you don't have gdk-pixbuf-dev installed, config won't barf but there is a rather strong warning in the configure log.

Code:

# apt-get install libglade-gnome-dev gdk-pixbuf-dev
Try compiling after that and see what you get. I should probably tell you that I did this on a sarge box.

[edit]I also thought I should tell you that it compiled and ran without a hitch(though I prefer gftp). To answer your last question, glade.h is located(at least on my system) at /usr/include/libglade-1.0/glade/glade.h
[/edit]

comp12345 05-12-2004 08:56 PM

There are some alternate ways of finding out how to get missing files.

You could use apt-file find out what package the file belongs to. Run "apt-file update" and then

Code:

apt-file search glade.h
Another way is to use auto-apt. This will try and fetch any packages you are missing because of dependency issues. So let's say you are compiling deadftp, you could compile it with the following command:
Code:

auto-apt run make
and whatever files you have missing, auto-apt will try to fetch and install them. I have experienced freezes using this, so this solution is not perfect.

You need to have sudo installed and run these commands before auto-apt becomes usable.
Code:

auto-apt update
auto-apt updatedb
auto-apt update-local



All times are GMT -5. The time now is 11:19 PM.