Geany fails to build even though it is enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Zeitgeist Data-Sources |
Medium
|
Manish Sinha (मनीष सिन्हा) |
Bug Description
I just installed geany and when running autogen.sh over the code. I get
configure: ** bzr plugin enabled
configure: ** chrome plugin enabled
configure: ** eog plugin enabled
configure: firefox-libzg plugin disabled
configure: ** geany plugin enabled
configure: ** gedit plugin enabled
configure: ** rhythmbox plugin enabled
configure: totem-libzg plugin disabled
configure: ** vim plugin enabled
configure: ** emacs plugin enabled
configure: ** tomboy plugin enabled
configure: ** telepathy plugin enabled
configure: ** xchat plugin enabled
Which says that geany is enabled
When I run make, I get an error
Making all in geany
make[1]: Entering directory `/home/
CC zeitgeist_
zeitgeist_
compilation terminated.
make[1]: *** [zeitgeist_
make[1]: Leaving directory `/home/
make: *** [all-recursive] Error 1
There is something wrong in the way build-script runs
Related branches
Changed in zeitgeist-dataproviders: | |
assignee: | nobody → Manish Sinha (मनीष सिन्हा) (manishsinha) |
importance: | Undecided → Medium |
milestone: | none → 0.2.0 |
status: | New → Confirmed |
I think I found the reason why it fails. It needs gtk development headers for working
$ pkg-config --cflags geany
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gtk+-2.0', required by 'Geany', not found
After installing libgtk2.0-dev on Ubuntu, it worked
This means that a check has to be made for gtk-dev
Added a check for GTK in geany section
if test "x$HAVE_GTK" = "xno"; then
plugin_
continue
and now ./autogen.sh gives
checking for ZEITGEIST... yes
checking for GTK... no
no
checking for LIBXUL... no
configure: WARNING: libxul not found (disabling plugin)
configure: WARNING: You need to install gtk development headers (disabling plugin)
configure: WARNING: gtk+-2.0 not found (disabling plugin)
checking for emacs... no
checking for xemacs... no
checking where .elc files should go... ${datadir}
checking for ZEITGEIST_SHARP... yes
checking for TOMBOY_ADDINS... yes
checking for GTK_SHARP... yes
checking for tomboy... /usr/bin/tomboy
checking which plugins to compile... bzr chrome eog gedit rhythmbox vim emacs tomboy telepathy xchat
configure: Zeitgeist-
configure: ** bzr plugin enabled
configure: ** chrome plugin enabled
configure: ** eog plugin enabled
configure: firefox-libzg plugin disabled
configure: geany plugin disabled
configure: ** gedit plugin enabled
configure: ** rhythmbox plugin enabled
configure: totem-libzg plugin disabled
configure: ** vim plugin enabled
configure: ** emacs plugin enabled
configure: ** tomboy plugin enabled
configure: ** telepathy plugin enabled
configure: ** xchat plugin enabled
geany gets disabled
Done. This issue is faced only when you are building from source. Most of the build systems solve this by explicitly specifying the build-deps
Changed in zeitgeist-dataproviders: | |
status: | Confirmed → Fix Committed |
Assigning it to myself.
After done this, check LP Bug #690355 at https:/ /bugs.launchpad .net/zeitgeist- dataproviders/ +bug/690355