After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 571790 - gnome-client.h: No such file or directory
gnome-client.h: No such file or directory
Status: RESOLVED FIXED
Product: gwget
Classification: Deprecated
Component: general
1.00
Other All
: Normal normal
: ---
Assigned To: David Sedeño Fernández
David Sedeño Fernández
Depends on:
Blocks:
 
 
Reported: 2009-02-14 23:55 UTC by Christoph Wickert
Modified: 2009-02-15 15:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christoph Wickert 2009-02-14 23:55:09 UTC
Please describe the problem:
After patching gwget 1.00 with the patch from bug # 571789 I'm still not able to build the epiphany extension because gnome-client.h is not found

$ rpm -q libgnomeui-devel
libgnomeui-devel-2.24.0-2.fc10.i386
$ rpm -ql libgnomeui-devel | grep gnome-client
/usr/include/libgnomeui-2.0/libgnomeui/gnome-client.h

$ make
...
Making all in epiphany-extension
make[2]: Entering directory `/home/chris/fedora/rpmbuild/BUILD/gwget-1.00/epiphany-extension'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/epiphany/2.24 -I/usr/include/libxml2   -DSHARE_DIR=\"/usr/share/gwget\" -DEPHY_EXTENSIONS_LOCALEDIR=\"/usr/share/locale\" -I../src -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I../include 		    -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT ephy-gwget.lo -MD -MP -MF .deps/ephy-gwget.Tpo -c -o ephy-gwget.lo ephy-gwget.c
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/epiphany/2.24 -I/usr/include/libxml2   -DSHARE_DIR=\"/usr/share/gwget\" -DEPHY_EXTENSIONS_LOCALEDIR=\"/usr/share/locale\" -I../src -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I../include 		    -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT ephy-gwget-extension.lo -MD -MP -MF .deps/ephy-gwget-extension.Tpo -c -o ephy-gwget-extension.lo ephy-gwget-extension.c
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/epiphany/2.24 -I/usr/include/libxml2   -DSHARE_DIR=\"/usr/share/gwget\" -DEPHY_EXTENSIONS_LOCALEDIR=\"/usr/share/locale\" -I../src -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I../include 		    -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT gwget-application.lo -MD -MP -MF .deps/gwget-application.Tpo -c -o gwget-application.lo `test -f '../src/gwget-application.c' || echo './'`../src/gwget-application.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/epiphany/2.24 -I/usr/include/libxml2 -DSHARE_DIR=\"/usr/share/gwget\" -DEPHY_EXTENSIONS_LOCALEDIR=\"/usr/share/locale\" -I../src -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT gwget-application.lo -MD -MP -MF .deps/gwget-application.Tpo -c ../src/gwget-application.c  -fPIC -DPIC -o .libs/gwget-application.o
 gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/epiphany/2.24 -I/usr/include/libxml2 -DSHARE_DIR=\"/usr/share/gwget\" -DEPHY_EXTENSIONS_LOCALEDIR=\"/usr/share/locale\" -I../src -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT ephy-gwget-extension.lo -MD -MP -MF .deps/ephy-gwget-extension.Tpo -c ephy-gwget-extension.c  -fPIC -DPIC -o .libs/ephy-gwget-extension.o
 gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/epiphany/2.24 -I/usr/include/libxml2 -DSHARE_DIR=\"/usr/share/gwget\" -DEPHY_EXTENSIONS_LOCALEDIR=\"/usr/share/locale\" -I../src -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT ephy-gwget.lo -MD -MP -MF .deps/ephy-gwget.Tpo -c ephy-gwget.c  -fPIC -DPIC -o .libs/ephy-gwget.o
mv -f .deps/ephy-gwget.Tpo .deps/ephy-gwget.Plo
mv -f .deps/ephy-gwget-extension.Tpo .deps/ephy-gwget-extension.Plo
../src/gwget-application.c:24:37: error: libgnomeui/gnome-client.h: No such file or directory
../src/gwget-application.c:103: error: expected ')' before '*' token
../src/gwget-application.c:117: error: expected ')' before '*' token
../src/gwget-application.c: In function 'init_session':
../src/gwget-application.c:125: error: 'GnomeClient' undeclared (first use in this function)
../src/gwget-application.c:125: error: (Each undeclared identifier is reported only once
../src/gwget-application.c:125: error: for each function it appears in.)
../src/gwget-application.c:125: error: 'client' undeclared (first use in this function)
../src/gwget-application.c:127: warning: implicit declaration of function 'gnome_master_client'
../src/gwget-application.c:129: error: 'save_session' undeclared (first use in this function)
../src/gwget-application.c:131: error: 'removed_from_session' undeclared (first use in this function)
../src/gwget-application.c: In function 'gwget_application_open_uri':
../src/gwget-application.c:156: warning: implicit declaration of function 'strlen'
../src/gwget-application.c:156: warning: incompatible implicit declaration of built-in function 'strlen'
make[2]: *** [gwget-application.lo] Error 1
make[2]: Leaving directory `/home/chris/fedora/rpmbuild/BUILD/gwget-1.00/epiphany-extension'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/chris/fedora/rpmbuild/BUILD/gwget-1.00'
make: *** [all] Error 2


Steps to reproduce:



Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Christoph Wickert 2009-02-15 13:58:20 UTC
Even if I manually include /usr/include/libgnomeui-2.0 I get another error: 

In file included from ../src/gwget-application.c:24:
/usr/include/libgnomeui-2.0/libgnomeui/gnome-client.h:33:36: error: libgnome/gnome-program.h: No such file or directory

So obviously /usr/include/libgnome-2.0 also needs to be included
Comment 2 David Sedeño Fernández 2009-02-15 15:06:58 UTC
This is because it doesn't find the directory of the include. I have fixed it including GNOME_CFLAGS in the Makefile.am. 

With this, the build works. Thanks for the report.