|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
how to build Workrave from Subversion?Can someone please give me the instructions for how to build Workrave
from Subversion? The released version comes with a nice “INSTALL” file with instructions, but those instructions don't work for the version in Subversion because the “configure” program has not been generated yet. I will be grateful for any help! -- Thanks, Joe P.S. The workrave-devel mailing list seems to have been abandoned to the spammers. Am I right to send this message to workrave-user? ------------------------------------------------------------------------- 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 Workrave-user@... https://lists.sourceforge.net/lists/listinfo/workrave-user |
|
|
Re: how to build Workrave from Subversion?> Can someone please give me the instructions for how to build Workrave
> from Subversion? You have to run 'autogen.sh' first. This will generate the configure script. Groetjes, Rob ------------------------------------------------------------------------- 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 Workrave-user@... https://lists.sourceforge.net/lists/listinfo/workrave-user |
|
|
Re: how to build Workrave from Subversion?Rob Caelers <robc@...> writes:
>> Can someone please give me the instructions for how to build >> Workrave from Subversion? > > You have to run 'autogen.sh' first. This will generate the > configure script. Thanks! I've run “apt-get build-dep workrave” and checked that all packages listed on the “Build-Depends” line in debian/control are installed. I get this result when I run “./autogen.sh”: ---------------------------------------------------------------------- **Warning**: I am going to run `configure' with no arguments. If you wish to pass any to it, please specify them on the `./autogen.sh' command line. 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 **Error**: aclocal failed. This may mean that you have not installed all of the packages you need, or you may need to set ACLOCAL_FLAGS to include "-I $prefix/share/aclocal" for the prefix where you installed the packages whose macros were not found ---------------------------------------------------------------------- I've checked with the command find /usr/share/aclocal* -type f -print0 | xargs -0 grep PROG_MKDIR and found no installed files defining (or even mentioning) the AM_PROG_MKDIR_P macro. Can someone tell me what file on their system defines this macro? I'm running Ubuntu Dapper Drake with all updates applied. Thanks for any help! -- Joe P.S. I am trying to build from Subversion because I expect to be writing patches over the next few months and I think it will be better if I can generate patches from the latest files in Subversion. ------------------------------------------------------------------------- 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 Workrave-user@... https://lists.sourceforge.net/lists/listinfo/workrave-user |
|
|
Re: how to build Workrave from Subversion?Joe Wells <jbwells@...> writes:
> Running aclocal ... > aclocal: macro `AM_PROG_MKDIR_P' required but not defined > aclocal: macro `AM_PROG_MKDIR_P' required but not defined > I've checked with the command > > find /usr/share/aclocal* -type f -print0 | xargs -0 grep PROG_MKDIR > > and found no installed files defining (or even mentioning) the > AM_PROG_MKDIR_P macro. > > Can someone tell me what file on their system defines this macro? Some more information. Running find . -type f -print0 | xargs -0 grep PROG_MKDIR tells me that the only references in Workrave to this macro are these: ./m4/intl.m4: AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake ./m4/po.m4: AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake Both of these lines claim the macro is defined by automake. I have automake version 1.7.9 installed (Ubuntu Dapper Drake package automake1.7 version 1.7.9-7). None of the files supplied by this package seem to define this macro, as revealed by this command: dpkg --listfiles automake1.7 | xargs grep MKDIR Workrave's autogen.sh claims that automake version 1.7.1 is okay. Since I have 1.7.9, I think I should be okay here. Can anyone give any hints? Thanks for any help! -- 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 Workrave-user@... https://lists.sourceforge.net/lists/listinfo/workrave-user |
|
|
Re: how to build Workrave from Subversion?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 > 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 > 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>" > checking for GSTREAMER... no Gstreamer is optional, but recommended. > I'm guessing Workrave wants libgstreamer0.10-dev. Probably yes. I need to update the minimum supported version of all dependencies... > 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 > 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? > 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. > 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.... The docs say at least 2.10 Groetjes, Rob ------------------------------------------------------------------------- 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 Workrave-user@... https://lists.sourceforge.net/lists/listinfo/workrave-user |
|
|
Re: how to build Workrave from Subversion?Rob Caelers <robc@...> 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 Workrave-user@... https://lists.sourceforge.net/lists/listinfo/workrave-user |
|
|
Re: how to build Workrave from Subversion?Joe Wells wrote:
> 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. I should remove the debian stuff. It obsolete. It created those files when Workrave wasn't an offcial debiab package. >> 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 0.60 is probably too old... > 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? The gtkmm documentation say that a function used by Workrave requires 2.10 > 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. You could remove all code that used the status icon... It's quite isolated. Groetjes, Rob ------------------------------------------------------------------------- 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 Workrave-user@... https://lists.sourceforge.net/lists/listinfo/workrave-user |
|
|
Re: how to build Workrave from Subversion?Rob Caelers <robc@...> writes:
> Joe Wells wrote: >> 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. > > I should remove the debian stuff. It obsolete. It created those > files when Workrave wasn't an offcial debiab package. So instead, to determine which packages I need, I should go find the corresponding official Debian package, right? >>> What versions of dbus are you using? Could you mail me (directly) config.log? >> >> I've got these D-Bus related package versions installed: > > 0.60 is probably too old... What things in Workrave depend on later D-Bus versions? I'm facing the choice of completely leaving out D-Bus support, patching out the stuff that depends on later versions, or building by hand the later D-Bus (and all its dependencies). >> 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? > > The gtkmm documentation say that a function used by Workrave requires 2.10 > >> 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. > > You could remove all code that used the status icon... It's quite isolated. Which file is this in? And which gtkmm function is the one that requires 2.10 (that will give me a better hint where to start)? (I would add a configure option to omit the relevant functionality. (Or I need to figure out how to build by hand the recent-enough gtkmm and all its dependencies.)) -- Thanks, 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 Workrave-user@... https://lists.sourceforge.net/lists/listinfo/workrave-user |
|
|
Re: how to build Workrave from Subversion?Hi,
> So instead, to determine which packages I need, I should go find the > corresponding official Debian package, right? Yes. > What things in Workrave depend on later D-Bus versions? I'm facing Good question. I really don't know. I never tested anything < 1.0 >> You could remove all code that used the status icon... It's quite isolated. > > Which file is this in? And which gtkmm function is the one that > requires 2.10 (that will give me a better hint where to start)? (I > would add a configure option to omit the relevant functionality. (Or > I need to figure out how to build by hand the recent-enough gtkmm and > all its dependencies.)) The Gtk::StatusIcon class is not available in < 2.10 In directory frontend/gtkmm/src: GUI.cc, GUI.hh: comment out references to StatusIcon and status_icon Makefile.am: Remove StatusIcon.cc Feel free to submit a patch that leaves out the statusicon if gtkmm version < 2.10 :-) Groetjes, Rob ------------------------------------------------------------------------- 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 Workrave-user@... https://lists.sourceforge.net/lists/listinfo/workrave-user |
| Free embeddable forum powered by Nabble | Forum Help |