Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Howto: Compile Conky 1.4.0 from source

  1. #1
    Join Date
    Oct 2005
    Beans
    1,887

    Wink Howto: Compile Conky 1.4.0 from source

    = Howto Install Conky 1.4.0 from source code =

    Conky is a very nice system monitor and it works better for me than gdesklets. This my second ever compile, and it was extremely easy, thanks to the nice notifications by its developer.

    First things first:
    Code:
    cd
    cp .conkyrc conkyrcbackup
    sudo apt-get update
    sudo apt-get remove conky
    sudo apt-get install linux-headers-`uname -r` checkinstall build-essential libdbus-1-dev libdbus-glib-1-dev libxext-dev
    Go to http://conky.sourceforge.net/ and download conky-1.4.0.tar.gz to your Desktop

    Now compile and install:
    Code:
    cd
    mkdir temp
    cp /path/to/conky-1.4.0.tar.gz ./
    tar -xvf conky-1.4.0.tar.gz
    cd conky-1.4.0
    ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-xft --enable-seti --enable-double-buffer --enable-own-window --enable-proc-uptime --enable-mpd --enable-mldonkey --enable-x11 --enable-portmon --enable-xmms --enable-bmp --enable-audacious --enable-infopipe
    make
    sudo checkinstall
    Notes (read):
    *man conky will tell you all about variables and configurations pP (bc I'm not a master of conky )
    *cp .conkyrc conkyrcbackup will work if you used conky before [backing up your conky configuration].
    *sudo apt-get remove conky was necessary for checkinstall to work
    *I used /home/user/temp as a temporary folder. You can delete it afterwords.
    *If you never used conky, you may want to search the forums on how to set up your .conkyrc configuration file. This compilation does not support bmpx (I don't know what it is) because I couldn't find it in the package manager (it's a dependency).
    *Let me know in this thread if you prefer me to include descriptions of the commands I used.
    *Some relevant forum threads to check out:
    http://www.ubuntuforums.org/search.php?searchid=4111292 will search conky in titles in the forum.
    http://www.ubuntuforums.org/showthread.php?t=110535 which has screenshots and sample configuration files that you can study and use.
    https://wiki.ubuntu.com/HowtoConky140 wiki link, just for the sake of it.

    To Uninstall:
    Open Synaptic, search for conky, and remove it
    Last edited by towsonu2003; April 13th, 2006 at 02:34 AM.

  2. #2
    Join Date
    Mar 2005
    Location
    Providence, RI
    Beans
    60
    Distro
    Xubuntu

    Re: Howto: Compile Conky 1.4.0 from source

    checking arpa/inet.h presence... yes
    checking for arpa/inet.h... yes
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ANSI C... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking for X... no
    checking for XdbeQueryExtension in -lXext... no
    configure: error: something went wrong when checking for Xdbe (double buffer extension)

    suggestions?

    Load "dbe" is in my xorg.conf

  3. #3
    Join Date
    Oct 2005
    Beans
    1,887

    Re: Howto: Compile Conky 1.4.0 from source

    Quote Originally Posted by b3nw
    checking arpa/inet.h presence... yes
    checking for arpa/inet.h... yes
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ANSI C... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking for X... no
    checking for XdbeQueryExtension in -lXext... no
    configure: error: something went wrong when checking for Xdbe (double buffer extension)

    suggestions?

    Load "dbe" is in my xorg.conf
    I am not sure but try after doing these:
    Code:
    sudo apt-get update
    sudo apt-get install libxext-dev
    let me know if it works so I fix the howto

    bf starting to recompile (again), after going to your /home/username/temp/conky-1.4.0, do
    Code:
    make clean
    just in case. Than you'll do the usual stuff of
    Code:
    ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-xft --enable-seti --enable-double-buffer --enable-own-window --enable-proc-uptime --enable-mpd --enable-mldonkey --enable-x11 --enable-portmon --enable-xmms --enable-bmp --enable-audacious --enable-infopipe
    make
    sudo checkinstall
    Last edited by towsonu2003; April 11th, 2006 at 02:23 PM.

  4. #4
    Join Date
    Mar 2005
    Location
    localhost.de
    Beans
    496
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Howto: Compile Conky 1.4.0 from source

    Quote Originally Posted by towsonu2003
    Now compile and install:
    Code:
    cd
    mkdir temp
    cd Desktop
    cp conky-1.4.0.tar.gz temp
    cd temp
    ...
    Hmm either create `temp' under `Desktop' or copy and cd to `~/temp'.

  5. #5
    Join Date
    Oct 2005
    Beans
    1,887

    Re: Howto: Compile Conky 1.4.0 from source

    Quote Originally Posted by ranf
    Hmm either create `temp' under `Desktop' or copy and cd to `~/temp'.
    fixed, thanks
    it's ~/temp

  6. #6
    Join Date
    Aug 2005
    Location
    Canada
    Beans
    1,081

    Re: Howto: Compile Conky 1.4.0 from source

    Thanks for posting this!

    One small problem though, I cannot get xft fonts to work.
    Code:
    Conky: Xft not enabled
    I do have it enabled in my .conkyrc though
    Code:
    use_xft yes
    I followed the How To's suggestions, so the Xft support should have been enabled on conky's side of things.

    Any ideas?

    If it helps: Breezy running a standard install + xubuntu-desktop with a 686 kernel (anything else I could add that would be of help?).
    Last edited by 5-HT; April 24th, 2006 at 11:58 AM.

  7. #7
    Join Date
    Oct 2005
    Beans
    1,887

    Re: Howto: Compile Conky 1.4.0 from source

    Quote Originally Posted by 5-HT
    One small problem though, I cannot get xft fonts to work.
    Code:
    Conky: Xft not enabled
    I do have it enabled in my .conkyrc though
    Code:
    use_xft yes
    uhm, sorry I don't know. did the compilation exited without errors? xft support was compiled to conky, but don't know why it wouldn't enable it...

  8. #8
    Join Date
    Oct 2005
    Beans
    1,887

    Re: Howto: Compile Conky 1.4.0 from source

    for those whose conky flickers (blinks on every refresh), I filed a bug report here as well as the workaround (which was also posted by the 2nd replier of this thread) of loading dbe. please comment to it if you have any feedback.
    thanks

    Quote Originally Posted by 5-HT
    One small problem though, I cannot get xft fonts to work.
    Code:

    Conky: Xft not enabled
    I just realized that I don't have xft enabled in my conkyrc. but when enable it, it works. as I mentioned, the compiled conky (as well as breezy's and dapper's conky) have xft enabled during compilation. sorry I couldn't help.

  9. #9
    Join Date
    Aug 2005
    Location
    Canada
    Beans
    1,081

    Re: Howto: Compile Conky 1.4.0 from source

    Quote Originally Posted by towsonu2003
    I just realized that I don't have xft enabled in my conkyrc. but when enable it, it works. as I mentioned, the compiled conky (as well as breezy's and dapper's conky) have xft enabled during compilation. sorry I couldn't help.
    No worries. I'm not going to bother looking into this anymore as playing around with xfontsel got me a nice looking font. Thanks again for the HOW TO.

  10. #10
    Join Date
    Nov 2005
    Beans
    170

    Re: Howto: Compile Conky 1.4.0 from source

    Where can I find the default conkyrc file? I installed conky 1.4.1 from source and started it before a .conkyrc file was created in my home folder and it wasn't using the sample config file either. I have posted some screen shots of what I mean. Thanks for the help.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	defaultconkyrc.png 
Views:	128 
Size:	11.4 KB 
ID:	9217   Click image for larger version. 

Name:	sampleconkyrc.png 
Views:	89 
Size:	65.5 KB 
ID:	9218  

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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