SliTaz SliTaz Forum

You are not logged in.

#1 2015-08-06 20:59:27

new_u
Member
Registered: 2014-03-30
Posts: 93

sanity check

I'm trying to compile subtitleeditor and it can't find libglademm.h - I have already installed libglademm-dev.

So

tux@slitaz:/usr/include$ ls libglade*

libglademm    libglademm.h

tux@slitaz:/usr/include$ ls libglade* -la

total 24

drwxr-xr-x    3 root     root          4096 Aug  6 17:29 .

drwxr-xr-x  116 root     root         12288 Aug  6 17:30 ..

drwxr-xr-x    3 root     root          4096 Aug  6 17:29 libglademm

-rw-r--r--    1 root     root          1145 Feb 26  2012 libglademm.h

tux@slitaz:/usr/include$ cd libglademm

/bin/sh: cd: can't cd to libglademm

What the hell?? ls says the directory exists, but in reality it doesn't exist. Is there something wrong my filesystem?

TIA!

Offline

#2 2015-08-06 21:15:56

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: sanity check

http://pkgs.slitaz.org/search.sh?file=libglademm.h

/usr/include/libglademm-2.4/libglademm.h

Offline

#3 2015-08-06 21:51:06

new_u
Member
Registered: 2014-03-30
Posts: 93

Re: sanity check

Thanks mojo. Yes, I installed libglademm-2.4

The thing is, that package puts the files in

/usr/include/libglademm-2.4/libglademm.h

/usr/include/libglademm-2.4/libglademm/***

but subtitleeditor's source says

#include <libglademm.h>

so as far as I can tell, subtitleeditor expects the library includes  to be at

/usr/include/libglademm.h

/usr/include/libglademm/***

I first put a couple of symlinks

/usr/include/libglademm.h  -- > /usr/include/libglademm-2.4/libglademm.h

but that didnt work so I directly moved the stuff from

/usr/include/libglademm-2.4/***

to

/usr/include/***

And that worked. Sort of. Now, Im getting lots of these two errors

subtitleeditor-application.o: In function `Statusbar* Gnome::Glade::Xml::get_widget_derived<Statusbar>(Glib::ustring const&, Statusbar*&)':

/usr/include/libglademm/xml.h:279: undefined reference to `Gnome::Glade::Xml::get_cwidget(Glib::ustring const&)'

subtitleeditor-application.o: In function `Gtk::VBox* Gnome::Glade::Xml::get_widget<Gtk::VBox>(Glib::ustring const&, Gtk::VBox*&)':

/usr/include/libglademm/xml.h:246: undefined reference to `Gnome::Glade::Xml::get_widget_checked(Glib::ustring const&, unsigned long)'

Offline

#4 2015-08-06 21:58:30

new_u
Member
Registered: 2014-03-30
Posts: 93

Re: sanity check

(Im going to try some "hello world" tutorial for glade to learn how it's supposed to be compiled)

Offline

#5 2015-08-06 22:57:17

new_u
Member
Registered: 2014-03-30
Posts: 93

Re: sanity check

Well, I was missing libglade-dev although the configure script (subtitleeditor's configure) didn't complain...Going to try compilation again.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]