You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Building from source is failing on ubuntu 15.04 #21
geanypy-uiutils.c: In function 'UiUtils_combo_box_add_to_history':
geanypy-uiutils.c:126:26: error: 'GTK_TYPE_COMBO_BOX_ENTRY' undeclared (first use in this function)
GOB_TYPE_CHECK(widget, GTK_TYPE_COMBO_BOX_ENTRY, 1);
^
geanypy-uiutils.c:17:44: note: in definition of macro 'GOB_TYPE_CHECK'
!g_type_is_a(G_TYPE_FROM_INSTANCE(gob), gob_type)) \
^
geanypy-uiutils.c:126:26: note: each undeclared identifier is reported only once for each function it appears in
GOB_TYPE_CHECK(widget, GTK_TYPE_COMBO_BOX_ENTRY, 1);
^
geanypy-uiutils.c:17:44: note: in definition of macro 'GOB_TYPE_CHECK'
!g_type_is_a(G_TYPE_FROM_INSTANCE(gob), gob_type)) \
^
geanypy-uiutils.c:127:31: warning: passing argument 1 of 'ui_combo_box_add_to_history' makes pointer from integer without a cast
ui_combo_box_add_to_history(GTK_COMBO_BOX_ENTRY(widget), text, hist_len);
^
In file included from /usr/local/include/geany/geanyplugin.h:61:0,
from geanypy.h:94,
from geanypy-uiutils.c:1:
/usr/local/include/geany/ui_utils.h:137:6: note: expected 'struct GtkComboBoxText *' but argument is of type 'int'
void ui_combo_box_add_to_history(GtkComboBoxText *combo_entry,
^
Makefile:681: recipe for target 'geanypy_la-geanypy-uiutils.lo' failed
make[2]: *** [geanypy_la-geanypy-uiutils.lo] Error 1
make[2]: Leaving directory '/opt/geany/geanypy/src'
Makefile:379: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/opt/geany/geanypy/src'
Makefile:389: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
It think geany plugins will build against the system Geany unless specified otherwise, so if you didn't install geany before building the plugins it will probably find the wrong one.
Note that to build plugins for a non-standard geany you need to specify --with-geany-libdir as well as --prefix.
@elextr I don't think GeanyPy has a --with-geany-libdir argument to configure, it's controlled by the pkg-config file you find it (ex. by setting PKG_CONFIG_PATH=/geany/prefix/lib/pkgconfig).
@olymk2 It almost sounds like you're trying to build against GTK+ 3 or a GTK+ 3 build of Geany.
@elextrhttps://github.com/elextr I don't think GeanyPy has a
--with-geany-libdir argument to configure, it's controlled by the
pkg-config file you find it (ex. by setting
PKG_CONFIG_PATH=/geany/prefix/lib/pkgconfig).
Oops didn't notice this was codebrainz/geanypy not geany-plugins/geanypy
:)
Activity
elextr commentedon Jun 24, 2015
Geanypy uses GTK2 and I doubt that API is going to change any more. What versions of Geany, Geanypy and GTK are you compiling with?
olymk2 commentedon Jun 24, 2015
latest geany and geanypy from git as of this message, i am not specifying any params.
on second thought i do have a version from my package manager could it be trying to build against that ?
anyway i am using the below for geany and geanypy.
./autogen.sh
./configure
make
elextr commentedon Jun 24, 2015
It think geany plugins will build against the system Geany unless specified otherwise, so if you didn't install geany before building the plugins it will probably find the wrong one.
Note that to build plugins for a non-standard geany you need to specify --with-geany-libdir as well as --prefix.
codebrainz commentedon Jun 24, 2015
@elextr I don't think GeanyPy has a
--with-geany-libdirargument to configure, it's controlled by the pkg-config file you find it (ex. by settingPKG_CONFIG_PATH=/geany/prefix/lib/pkgconfig).@olymk2 It almost sounds like you're trying to build against GTK+ 3 or a GTK+ 3 build of Geany.
elextr commentedon Jun 25, 2015
On 25 June 2015 at 00:23, Matthew Brush notifications@github.com wrote:
olymk2 commentedon Jun 25, 2015
spot on, i just removed the apt-get version and it all builds fine.
Nice work guys oi like the new document reload dialog and there are some great new plugins :)