Can not build from source: missing header libebook/e-book.h

Bug #130012 reported by Harrison Metzger
2
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-control-center

I have all the build dependiciences for gnome-control-center, but when I try to build it from source I can not. I got my source by doing:
apt-get source gnome-control-center

However I located the header file and its behind some directories. I added
-I/usr/include/evolution-data-server-1.10 to the default includes in the Makefile and it worked.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug. What version of Ubuntu do you use? What gnome-control-center source do you try to build and what error do you get exactly?

Changed in gnome-control-center:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Harrison Metzger (harrisonmetz) wrote :

I am using control-center-2.18.1-0ubuntu2.1 (from apt-get source gnome-control-center). I am using ubuntu 7.04.

When I do ./configure && make I get no error actually. However, it will build all the capplets except about-me. Its possible I get an error but it does not cause make to abort so its scrolled off my screen. Each of the capplets has been made and there is an executable binary in each directory accept in about-me. When I go into /capplets/about-me and run a make there I get:

[...]
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../capplets/common -DPNG_NO_MMX_CODE -DORBIT2=1 -pthread -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/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gnome-desktop-2.0 -I/usr/include/startup-notification-1.0 -I../../ -DG_LOG_DOMAIN="\"about-me-properties\"" -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 -DDATADIR="\"/usr/local/share\"" -DGNOMECC_DATA_DIR="\"/usr/local/share/control-center\"" -DGNOMECC_GLADE_DIR="\"/usr/local/share/control-center/glade\"" -DGNOMECC_PIXMAP_DIR="\"/usr/local/share/control-center/pixmaps\"" -DGNOMELOCALEDIR="\"/usr/local/share/locale\"" -g -O2 -Wall -MT gnome-about-me.o -MD -MP -MF .deps/gnome-about-me.Tpo -c -o gnome-about-me.o gnome-about-me.c
gnome-about-me.c:36:29: error: libebook/e-book.h: No such file or directory
gnome-about-me.c:47: error: expected specifier-qualifier-list before ‘EContact’
gnome-about-me.c:91: error: ‘E_CONTACT_EMAIL_1’ undeclared here (not in a function)
gnome-about-me.c:92: error: ‘E_CONTACT_EMAIL_2’ undeclared here (not in a function)
[...(and so on cause its missing symbols)]

Perhaps I'm not doing something right with ./configure but why would it build every other capplet accept about-me.

Revision history for this message
Sebastien Bacher (seb128) wrote :

do you have libebook1.2-dev installed? ./configure is the wrong way to build a package, you might want to read the wiki documentation

Revision history for this message
Harrison Metzger (harrisonmetz) wrote :

Yes I have that installed. The header is there. Either the c file needs to specify the full path name (off the the include) directory or the -I/usr/include/evolution-data-server-1.10 needs to be there so the compiler will know where to get the header. What is the correct way to build a package, when I want to make a deb I do dpkg-buildpackage, but lets say your making a small change, compiling, small change, compiling, whats the right way to do that? (could you link me the wiki page please, or tell me, lol)

Revision history for this message
Sebastien Bacher (seb128) wrote :

The bug tracker is used by maintainer to fix issue, you might want to use a support request for such questions

Changed in gnome-control-center:
status: Incomplete → Invalid
Revision history for this message
Harrison Metzger (harrisonmetz) wrote :

I know how to use the bug system. Looking at ./configure in more depth, the about-me capplet is not enabled by default. I need to do: ./configure --enable-aboutme. After that it builds fine (the non-ubuntu/debian way). Sorta odd that about-me is not enabled by default, but all others are. Sorry for your time.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.