Re: how to build Workrave from Subversion?

Joe Wells <[email protected]>
Newsgroups gmane.comp.misc.workrave.user
Message-ID <[email protected]>
Rob Caelers <[email protected]> writes:

> Hello,
>
> I will answer you mails in one reply...
>
>> Running intltoolize...
>> Running libtoolize...
>> You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
>> Running aclocal  ...
>> aclocal: macro `AM_PROG_MKDIR_P' required but not defined
>> aclocal: macro `AM_PROG_MKDIR_P' required but not defined
>
> Try automake 1.10

Hmm.  This is not one of the package options in Ubuntu Dapper Drake.
The available packages are: automake1.4, automake1.5, automake1.6,
automake1.7, automake1.8, automake1.9.  So I would have to install it
by hand.

It is worth pointing out that automake1.7 is the one that was pulled
in by the Build-Depends debian/control line.  So that needs to be more
specific.

>  >  checking for gdome-config... no
>  >  configure: error: Need GDome2
>
> Workrave can use gconf (gnome) or xml for storing all configuration. You haver 
> gconf, try "--disable-xml" or install gdome2

I think the only problem here is that libgdome2-dev is not in the
Build-Depends.

>  > Checking for gdome-config... /usr/bin/gdome-config
>  > /usr/bin/gdome-config: line 86: --libs: command not found
>  > /usr/bin/gdome-config: line 87: --cflags: command not found
>  > /usr/bin/gdome-config: line 86: --libs: command not found
>  > /usr/bin/gdome-config: line 87: --cflags: command not found
>
> Stange... Perhaps a shell issue. Could you try 'bash ./configure <options>"

I'm ignoring these errors which are emitted by gdome-config because
the stdout appears to be correct.  These errors are what shows up on
stderr when you run “gdome-config --libs” and “gdome-config --cflags”.

>  > checking for GSTREAMER... no
>
> Gstreamer is optional, but recommended.

I'm building without it for now.  Actually, I went back to 1.8.5 and
succeeded in building it.  Workrave 1.8.5 appears to not use GStreamer
(or at least gives no error messages).

>  > I'm guessing Workrave wants libgstreamer0.10-dev.
>
> Probably yes. I need to update the minimum supported version of all 
> dependencies...

Unfortunately, libgstreamer0.10-dev (which is GStreamer 0.10.6 on my
machine) was not sufficient to yield a happy compilation.

>  > Which package do I need for this?  “dpkg --list '*dbus*dev*'” tells me
>  > these are the relevant packages:
>
>  >  libdbus-1-dev            (Already installed!)
>
> You also need one these:
>
>  >  libdbus-glib-1-dev
>  >  libdbus-glib-dev

As mentioned, I installed one of them ...

>  > Help?  What package do I need to convince configure that I have D-Bus?
>
> What versions of dbus are you using? Could you mail me (directly) config.log?

I've got these D-Bus related package versions installed:

  dbus                                0.60-6ubuntu8.1
  dbus-1-utils                        0.60-6ubuntu8.1
  libdbus-1-2                         0.60-6ubuntu8.1
  libdbus-1-dev                       0.60-6ubuntu8.1
  libdbus-glib-1-2                    0.60-6ubuntu8.1
  libdbus-glib-1-dev                  0.60-6ubuntu8.1
  libdbus-qt-1-1c2                    0.60-6ubuntu8.1
  python2.4-dbus                      0.60-6ubuntu8.1

I've attached below the result of “./configure --enable-dbus” in
Workrave 1.9.0.  (I'm now using 1.8.5, which I was able to build.)

Hmm.  It looks from config.log like it is actually finding D-Bus, but
it is older than it wants.  Another item to add to Build-Depends.

>  >  GstSoundPlayer.cc: In constructor ‘GstSoundPlayer::GstSoundPlayer()’:
>  >  GstSoundPlayer.cc:51: error: ‘gst_registry_fork_set_enabled’ was not declared in this scope
>
> Your gstreamer may be too old. Feel free to comment this line out. Workrave
> will work without.

Thanks, that is useful information.

>  >  In file included from GUI.cc:64:
>  >  StatusIcon.hh:30:30: error: gtkmm/statusicon.h: No such file or directory
>
> I guess Workrave needs a more recent gtkmm....

I've got these packages installed:

  libgtkmm-2.4-1c2a                   2.8.8-0ubuntu1
  libgtkmm-2.4-dev                    2.8.8-0ubuntu1

> The docs say at least 2.10

Which docs?

Anyway, another item for the Build-Depends.

Is there any way to build without this feature of libgtkmm?  Otherwise
I appear to have no way to use Workrave 1.9.0 and will have to stay at
1.8.5.

Thanks for your detailed replies!

-- 
Joe


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Workrave-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/workrave-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.