Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Help compiling Lifeograph

  1. #1

    Default Help compiling Lifeograph

    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:

    Code:
    @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
    Last edited by homoludens1000; 16-Sep-2009 at 23:31. Reason: Additions

  2. #2
    Join Date
    Apr 2009
    Location
    Stuttgart, Germany
    Posts
    113

    Default Re: Help compiling Lifeograph

    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.

  3. #3
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,042
    Blog Entries
    14

    Default Re: Help compiling Lifeograph

    You need the -devel packages for items mentioned to be installed.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  4. #4

    Default Re: Help compiling Lifeograph

    thanks for the comments! i've installed all the respective -devel packages, but i'm still getting error messages:

    Code:
    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

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,211
    Blog Entries
    15

    Default Re: Help compiling Lifeograph

    Quote Originally Posted by homoludens1000
    thanks for the comments! i've installed all the respective -devel
    packages, but i'm still getting error messages:
    <snip>
    /bin/sh: g++: command not found
    Hi
    But your still missing this package
    Code:
    sudo zypper in gcc-c++
    It actually installs gcc43-c++ as well as gcc-c++ is just softlinks to
    g++-4.3

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
    up 1 day 12:41, 2 users, load average: 0.30, 0.12, 0.07
    GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18


  6. #6

    Default Re: Help compiling Lifeograph

    ok, i've installed gcc-c++. i'm still left with one error message; how do i go about that one?

    Code:
    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

  7. #7
    Join Date
    Apr 2009
    Location
    Stuttgart, Germany
    Posts
    113

    Default Re: Help compiling Lifeograph

    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.

  8. #8

    Default Re: Help compiling Lifeograph

    PVince,

    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!

  9. #9

    Default Re: Help compiling Lifeograph

    What happens if you follow it's recommendation to try doing 'make install' under the src subdirectory? i.e.

    Code:
    > cd ~/To be filed/Computer and software/lifeograph-0.5.4/src 
    > make install

  10. #10
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,211
    Blog Entries
    15

    Default Re: Help compiling Lifeograph

    Quote Originally Posted by homoludens1000
    PVince,

    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!
    Hi
    Looks like it needs a later version of gtkmm2 (which will create
    dependency hell on 11.1), just built on 11.2 M7 32bit without
    problems.

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
    up 20:24, 2 users, load average: 0.41, 0.62, 0.62
    GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18


Page 1 of 3 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •