Skip to content

Instantly share code, notes, and snippets.

@lucasw
Last active December 16, 2019 15:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucasw/596aee00aa6c2c15ac1537b79a72a6b4 to your computer and use it in GitHub Desktop.
Save lucasw/596aee00aa6c2c15ac1537b79a72a6b4 to your computer and use it in GitHub Desktop.
gephex

Now doing all gephex development in https://github.com/lucasw/gephex, that supersedes everything below.

git clone https://github.com/ChristianFrisson/gephex.git
cd gephex 
./bootstrap.sh
cd ..
mkdir
../gephex/configure --prefix=$HOME/other/install --with-qt-libdir=/usr/share/qt4/lib --with-qt-bindir=/usr/share/qt4/bin --with-qt-incdir=/usr/share/qt4/include
config.status: executing libtool commands
configure: WARNING: No QT support found.
*** The GUI (graphical user interface) will not be built!
*** Note: most linux distributions split qt into two packages:
*** one containing only the libraries needed to run binary qt
*** applications and one containing all the headers and tools
*** needed to compile qt applications from source.
*** Obviously, you need *both* packages in that case.
*** If you know you have qt installed, try to run configure
*** again with the "--with-qt-(lib|bin|inc)dir=<YOUR QT DIRS>" flags.
*** For details see "./configure --help".
@lucasw
Copy link
Author

lucasw commented May 28, 2018

/usr/lib/x86_64-linux-gnu/qt4?

../gephex/configure --prefix=$HOME/other/install --with-qt-libdir=/usr/lib/x86_64-linux-gnu --with-qt-bindir=/usr/share/qt4/bin --with-qt-incdir=/usr/share/qt4/include
configure:17041: checking for Qt ......
configure:17099: checking include path
configure:17105: result: specified as /usr/share/qt4/include
configure:17138: checking library path
configure:17143: result: specified as /usr/lib/x86_64-linux-gnu
configure:17187: checking binary directory
configure:17192: result: specified as /usr/share/qt4/bin
configure:17221: result: Can't find library

Added hardcoded qt_ld_flag to configure line 17215:

qt_ld_flag="-lQtCore -lQtGui"

@lucasw
Copy link
Author

lucasw commented May 28, 2018

../gephex/configure --prefix=$HOME/other/install --with-qt-libdir=/usr/lib/x86_64-linux-gnu --with-qt-bindir=/usr/share/qt4/bin --with-qt-incdir=/usr/share/qt4/include --without-FFMPEG

@lucasw
Copy link
Author

lucasw commented May 28, 2018

libtool: link: gcc -fpic -g -O2 -fpic -o chromakeymodule.so chromakeymodule-chromakeymodule_auto.o chromakeymodule-chromakeymodule.o 
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'

@lucasw
Copy link
Author

lucasw commented May 28, 2018

build_gephex$ ./engine/src/engine/gephex-engine-real 
                  welcome to...
       ---             _           ---
    ----              | |            ----
  ----   __ _ ___ _ __| |  ___ _  __  ----
 -----  / _' | - \ '_ \ |_/ - \ \/ /  -----
------ | (_| | --/ |_) |  \ --/>  <   ------
 -----  \__. | \_| .__/ |' |\_/ /\ \  -----
  ----   ._' |\__/ |  |_||_|__//  \_| ----
   ----  |__/    |_|                 ----
      ---                          ---

[version:    "0.4.5"]
[build time: "May 28 2018 - 08:29:29"]
catched known exception: error while processing '/home/lucasw/.gephex/0.4/gephex.conf':
Section not found

Forgot to make install then run gephex.

@lucasw
Copy link
Author

lucasw commented May 28, 2018

Had to manually create directories that didn't exist and hand edit the example gephex.conf into this:

common {
    media_path           = [/home/lucasw/other/install/share/gephex]
}

engine {
    type_path            = [/home/lucasw/Desktop/gephex/types/;/home/lucasw/other/install/lib/gephex-0.4/types/]
    module_path          = [/home/lucasw/Desktop/gephex/modules/;/home/lucasw/other/install/lib/gephex-0.4/modules/]
    frei0r_path          = [/home/lucasw/.frei0r-1/lib/;/usr/local/lib/frei0r-1/;/usr/lib/frei0r-1/]
    graph_path           = [/home/lucasw/Desktop/gephex/graphs/]
    ipc_unix_node_prefix = [/tmp/gephex_socket_]
    ipc_type             = [inet]
    ipc_port             = [6666]
    renderer_interval    = [40]
    net_interval         = [40]
}

gui {
    ipc_type             = [inet]
    ipc_inet_hostname    = [localhost]
    ipc_port             = [6666]
    ipc_unix_node_prefix = [/tmp/gephex_socket_]
    engine_binary        = [/home/lucasw/other/install/bin/gephex-engine]
}

Then put the gephex.conf into ~/.gephex/0.4

@lucasw
Copy link
Author

lucasw commented Dec 16, 2019

Now doing all gephex development in https://github.com/lucasw/gephex, that supersedes everything above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment