Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#4 Error make

closed
nobody
None
5
2009-06-17
2009-06-12
Jleuleu
No

I tried to compile and install the version 2.2.11 but i had a problem during the make process :

Making all in src
make[1]: Entering directory `/home/jleuleu/download/gnubiff-2.2.11/src'
Compiling gnubiff.cc... if g++ -DHAVE_CONFIG_H -I. -I. -I../config -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -DORBIT2=1 -pthread -I/usr/include/panel-2.0 -I/usr/include/gconf/2 -I/usr/include/gtk-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/libbonobo-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -DGNUBIFF_LOCALEDIR=\""/usr/share/locale"\" -DGNUBIFF_DATADIR=\""/usr/share/gnubiff"\" -DGNUBIFF_ICONDIR=\""/usr/share/pixmaps"\" -DGNUBIFF_UIDIR=\""/usr/share/gnome-2.0/ui"\" -DREAL_DATADIR=\""/usr/share"\" -D_GNU_SOURCE -Wall -ansi -pedantic -g -O2 -MT gnubiff.o -MD -MP -MF ".deps/gnubiff.Tpo" -c -o gnubiff.o gnubiff.cc; \ then mv -f ".deps/gnubiff.Tpo" ".deps/gnubiff.Po"; else rm -f ".deps/gnubiff.Tpo"; exit 1; fi
In file included from support.h:36,
from gnubiff.cc:30:
nls.h:42:23: error: gnome.h: No such file or directory
gnubiff.cc: In function ‘int mainGNOME(int, char**)’:
gnubiff.cc:196: error: ‘LIBGNOMEUI_MODULE’ was not declared in this scope
gnubiff.cc:197: error: ‘GNOME_PARAM_NONE’ was not declared in this scope
gnubiff.cc:197: error: ‘gnome_program_init’ was not declared in this scope
make[1]: *** [gnubiff.o] Error 1
make[1]: Leaving directory `/home/jleuleu/download/gnubiff-2.2.11/src'
make: *** [all-recursive] Error 1

The configure step worked properly (./configure --prefix=/usr --with-password --with-password-string="qwert")

I'm using Fedora 11 x86_64

Thanks for help.

Discussion

  • Robert Sowada
    Robert Sowada
    2009-06-14

    Hi,

    probably a gnome development packag of Fedora is missing because the file "gnome.h" seems to be missing:
    nls.h:42:23: error: gnome.h: No such file or directory
    In ubuntu "gnome.h" is in the package "libgnomeui-dev", so check for this package.

    If you don't want to have gnome support, you can call configure with the "--disable-gnome" option.

    CU Robert :-)

     
  • Jleuleu
    Jleuleu
    2009-06-14

    thanks for the answer

    Finally I succeeded by modifying the Makefile.
    Here is what I did :

    Configure step : ./configure --prefix=/usr --with-password --with-password-string="blabla"

    And now, modify the file src/Makefile :
    add "-I/usr/include/libgnomeui-2.0" at the end of the line GNOME_PANEL_DEP_CFLAGS
    add "-lgnomeui-2" at the end of the line GNOME_PANEL_DEP_LIBS

    Then the make process :
    make
    make install

    Now, it works great!

     
  • Robert Sowada
    Robert Sowada
    2009-06-17

    • status: open --> closed