LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-11-2004, 12:13 PM   #1
EcceVery
Member
 
Registered: Apr 2004
Location: Sweden
Distribution: Gentoo, Debian, CentOS
Posts: 61

Rep: Reputation: 15
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

Last edited by EcceVery; 05-11-2004 at 12:14 PM.
 
Old 05-11-2004, 02:36 PM   #2
Wandering_Dru
Member
 
Registered: May 2004
Posts: 32

Rep: Reputation: 15
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.
 
Old 05-11-2004, 03:20 PM   #3
comp12345
Member
 
Registered: Feb 2004
Posts: 467

Rep: Reputation: 30
It could also be libglade2-dev
 
Old 05-12-2004, 02:59 PM   #4
EcceVery
Member
 
Registered: Apr 2004
Location: Sweden
Distribution: Gentoo, Debian, CentOS
Posts: 61

Original Poster
Rep: Reputation: 15
I have tried those two, still no glade.h file... does anyone have the full path to where it should be located?
 
Old 05-12-2004, 05:34 PM   #5
Wandering_Dru
Member
 
Registered: May 2004
Posts: 32

Rep: Reputation: 15
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]

Last edited by Wandering_Dru; 05-12-2004 at 06:45 PM.
 
Old 05-12-2004, 08:56 PM   #6
comp12345
Member
 
Registered: Feb 2004
Posts: 467

Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Glade 2.5.0 and Perl-Glade-Two - a little help please Lake-end Programming 1 03-07-2005 04:47 AM
How to use Glade skie_knite007 Programming 2 02-13-2005 05:44 AM
glade/qt/c captain-cat Programming 2 07-09-2004 04:46 PM
Wich one????? SERGIOMZB Linux - Newbie 4 07-14-2003 09:00 PM
Glade KevStA Linux - General 1 05-25-2002 03:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration