Skip to content

Instantly share code, notes, and snippets.

@czwen
Created September 25, 2020 03:13

Revisions

  1. czwen created this gist Sep 25, 2020.
    34 changes: 34 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,34 @@
    First you need to install pkg-config


    brew install pkg-config
    The official guide tell you that:


    Installation in /usr/local:

    ./autogen.sh
    make
    (as root) make install
    (as root) make desktop-install

    Installation in $HOME:

    ./autogen.sh
    ./configure --prefix=$HOME
    make
    make install
    make home-desktop-install
    However, first you need to install dependencies:

    No package ‘gtk±2.0’ found
    No package ‘libgnomecanvas-2.0’ found
    No package ‘poppler-glib’ found
    No package ‘pangoft2’ found


    brew install gtk+
    brew install libgnomecanvas
    brew install poppler
    brew install pango
    After this, you can go ahead to follow the official guide installation instructions. Good luck.