I’m trying to install the diary manager Lifeograph (Lifeograph: welcome to lifeograph wiki) on my system (openSUSE 11.1, KDE 4.3). Have no clue really how to do that, so it would be great it someone could help me out …
(1) I suppose the first question is really: What command do I use? I have no idea in what language Lifeograph is written, so don’t know which command would be appropriate.
(2) … That beind said, I tried ‘make’ (because it seems to work for a lot of applications), and this is the error output I get:
@linux-chameleon:~/To be filed/Computer and software/lifeograph-0.5.4> ls
AUTHORS bin icons lifeograph.desktop NEWS po src
backgrounds COPYING lifeograph.1 makefile obj README
@linux-chameleon:~/To be filed/Computer and software/lifeograph-0.5.4> make
if does not work, please try under src folder!
cd src && make all
make[1]: Entering directory `/home//To be filed/Computer and software/lifeograph-0.5.4/src'
if ! -d ../obj ]; then \
mkdir ../obj; \
fi; \
if ! -d ../bin ]; then \
mkdir ../bin; \
fi
g++ -c main.cpp -Wall `pkg-config gtkmm-2.4 gconfmm-2.6 gtkspell-2.0 --cflags` -O2 -o ../obj/main.o
Package gtkmm-2.4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtkmm-2.4.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtkmm-2.4' found
Package gconfmm-2.6 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gconfmm-2.6.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gconfmm-2.6' found
Package gtkspell-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtkspell-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtkspell-2.0' found
/bin/sh: g++: command not found
make[1]: *** ../obj/main.o] Error 127
make[1]: Leaving directory `/home//To be filed/Computer and software/lifeograph-0.5.4/src'
make: *** [all] Error 2
@linux-chameleon:~/To be filed/Computer and software/lifeograph-0.5.4>
I did check whether I got everything installed I need, according to: Lifeograph: Requirements, and I do have the following (so should be fine, no?):
S | Name | Type | Version | Arch | Repository
–±-------±--------±-----------±-----±------------
i | gtkmm2 | package | 2.16.0-3.1 | i586 | Extra-hujq-1
i | gconfmm | package | 2.24.0-1.31 | i586 | openSUSE-11.1-Oss
i | libgcrypt11 | package | 1.4.1-4.1 | i586 | openSUSE-11.1-Oss
i | gtkspell | package | 2.0.14-17.38 | i586 | openSUSE-11.1-Oss
You might have to install the “-devel” version of these packages to be able to compile Lifeograph. It should have the same package name with a “-devel” suffix.
thanks for the comments! i’ve installed all the respective -devel packages, but i’m still getting error messages:
homoludens@linux-chameleon:~/To be filed/Computer and software/lifeograph-0.5.4> sudo make
if does not work, please try under src folder!
cd src && make all
make[1]: Entering directory `/home/homoludens/To be filed/Computer and software/lifeograph-0.5.4/src'
if ! -d ../obj ]; then \
mkdir ../obj; \
fi; \
if ! -d ../bin ]; then \
mkdir ../bin; \
fi
g++ -c main.cpp -Wall `pkg-config gtkmm-2.4 gconfmm-2.6 gtkspell-2.0 --cflags` -O2 -o ../obj/main.o
/bin/sh: g++: command not found
make[1]: *** ../obj/main.o] Error 127
make[1]: Leaving directory `/home/homoludens/To be filed/Computer and software/lifeograph-0.5.4/src'
make: *** [all] Error 2
homoludens@linux-chameleon:~/To be filed/Computer and software/lifeograph-0.5.4> make test
make: *** No rule to make target `test'. Stop.
homoludens@linux-chameleon:~/To be filed/Computer and software/lifeograph-0.5.4> make install
if does not work, please try under src folder!
cd src && make install
make[1]: Entering directory `/home/homoludens/To be filed/Computer and software/lifeograph-0.5.4/src'
g++ -c main.cpp -Wall `pkg-config gtkmm-2.4 gconfmm-2.6 gtkspell-2.0 --cflags` -O2 -o ../obj/main.o
/bin/sh: g++: command not found
make[1]: *** ../obj/main.o] Error 127
make[1]: Leaving directory `/home/homoludens/To be filed/Computer and software/lifeograph-0.5.4/src'
make: *** [install] Error 2
homoludens@linux-chameleon:~/To be filed/Computer and software/lifeograph-0.5.4> sudo make install
if does not work, please try under src folder!
cd src && make install
make[1]: Entering directory `/home/homoludens/To be filed/Computer and software/lifeograph-0.5.4/src'
g++ -c main.cpp -Wall `pkg-config gtkmm-2.4 gconfmm-2.6 gtkspell-2.0 --cflags` -O2 -o ../obj/main.o
/bin/sh: g++: command not found
make[1]: *** ../obj/main.o] Error 127
make[1]: Leaving directory `/home/homoludensTo be filed/Computer and software/lifeograph-0.5.4/src'
make: *** [install] Error 2
ok, i’ve installed gcc-c++. i’m still left with one error message; how do i go about that one?
homoludens@linux-chameleon:~/To be filed/Computer and software/lifeograph-0.5.4> make install
if does not work, please try under src folder!
cd src && make install
make[1]: Entering directory `/home/homoludens/To be filed/Computer and software/lifeograph-0.5.4/src'
g++ -c main.cpp -Wall `pkg-config gtkmm-2.4 gconfmm-2.6 gtkspell-2.0 --cflags` -O2 -o ../obj/main.o
In file included from main.cpp:25:
lifeograph.hpp:245: error: ‘Gtk::EntryIconPosition’ has not been declared
make[1]: *** ../obj/main.o] Error 1
make[1]: Leaving directory `/home/homoludens/To be filed/Computer and software/lifeograph-0.5.4/src'
make: *** [install] Error 2
Do you have gtk2-devel installed ?
Maybe you can also try installing “gtk-devel” and “gtk1-compat-devel”.
Cool, it seems that lifeograph is the kind of software I was looking for. It’s a good coincidence.
Next week I will try to create a RPM package for it in OBS. That will be more convenient to install in the future.
thanks for the tip. gtk2-devel was already installed, so I tried compiling Lifeograph after installing the other two (had to take turns since they conflict and I could only install one at a time). Hasn’t worked, though, I’m still stuck with the same error message.
Glad that I could interest you in this application! I haven’t been able to take a close look yet, but what I’ve read sounds promising. I don’t think there is a good journaling / diary application yet in the opensuse repositories, so if you could build and add it, that would be fantastic indeed!
… also, it will spare me the trouble of having to figure out what I’m doing wrong with compiling it!
I have packaged lifeograph 0.4.1. It should appear in my home repository tomorrow after OBS has built it.
You’ll then be able to find it using the webpin search or Software.openSUSE.org and use the one-click install if you wish so.
Later I’ll publish it to an official repository, after I find the appropriate one.
I have quickly tried lifeograph locally, and this software doesn’t seem so impressive. The diary/journal feature is already present in korganizer, but I’m not sure whether korganizer can encrypt it with a password like lifeograph does.
Also, the version I tried is 0.4.1, so maybe it has improved much in the latest version.
Thanks for the spec, malcolmlewis, but I already finished the package before seeing your message. Also, I had to do some additional changes to make the package conform to the OBS policies.
Your spec and diff might work for a local rpmbuild though.
Yes I know, but I’m not sure whether we can (by convention) mix versions in OBS, like build the package with version X for openSUSE 11.1 and a version Y for openSUSE factory.
i get the same error message as above. it’s a bit shorter, though, because the line "make[1]: Entering directory `/home/homoludens/To be filed/Computer and software/lifeograph-0.5.4/src’
" is missing …