Release PND management suite


I've redone the instructions given on this thread.


Maybe you can resume them as you do yourself ? (Note that i do all directly on OP).
 
Plz ?


#!/bin/sh


#grab sources


#patch ?


export CFLAGS="-DPANDORA -O2 -pipe -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp"


export CXXFLAGS="-DPANDORA -O2 -pipe -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp"


#./configure


#make
 
Last edited by a moderator:
I think he wants to get it running in slackware natively without being in a pnd.
 
I use it occasionally when I need a more complete system, but I don't want to further derail this thread.


Maybe open a new one, if you want to know.
 
Off the top of my head



Code:
git clone https://github.com/bzar/panorama.git

cd panorama

git submodule update --init --recursive

mkdir target

cd target

cmake ..

make
 
Thanks.


Cmake gives me an error.


deps/jansson/ only contains CMakeFiles/ include/


cmake ..


-- The C compiler identification is GNU 4.7.1


-- The CXX compiler identification is GNU 4.7.1


-- Check for working C compiler: /usr/bin/gcc


-- Check for working C compiler: /usr/bin/gcc -- works


-- Detecting C compiler ABI info


-- Detecting C compiler ABI info - done


-- Check for working CXX compiler: /usr/bin/c++


-- Check for working CXX compiler: /usr/bin/c++ -- works


-- Detecting CXX compiler ABI info


-- Detecting CXX compiler ABI info - done


-- Compiling and packaging for the Linux Desktop


CMake Error at deps/jansson/CMakeLists.txt:27 (FILE):


file COPY cannot find


"/home/me/panorama/deps/jansson/src/src/jansson_config.h".


-- Found CURL: /usr/lib/libcurl.so (found version "7.27.0")


-- Found OpenSSL: /usr/lib/libssl.so;/usr/lib/libcrypto.so (found version "1.0.1c")


-- Found EXPAT: /usr/lib/libexpat.so (found version "2.0.1")


-- Looking for Q_WS_X11


-- Looking for Q_WS_X11 - found


-- Looking for Q_WS_WIN


-- Looking for Q_WS_WIN - not found.


-- Looking for Q_WS_QWS


-- Looking for Q_WS_QWS - not found.


-- Looking for Q_WS_MAC


-- Looking for Q_WS_MAC - not found.


-- Found Qt4: /usr/bin/qmake (found version "4.8.2")


-- Found Freetype: /usr/lib/libfreetype.so (found version "2.4.10")


-- Found GTK2_GTK: /usr/lib/libgtk-x11-2.0.so


-- Configuring incomplete, errors occurred!
 
Last edited by a moderator:
Oh, right. those. jansson and libpndman need a couple of files generated before they actually contain everything they need and I never got around to adding generating them in the cmake files. Do "make version" in libpndman's directory and (if I remember correclty) "autoreconf -i" in jansson's. At work now so can't verify.
 
cmake ..


-- Compiling and packaging for the Linux Desktop


CMake Error at deps/jansson/CMakeLists.txt:27 (FILE):


file COPY cannot find


"/home/me/panorama/deps/jansson/src/src/jansson_config.h".


-- Configuring incomplete, errors occurred!


$ ls ../deps/jansson/src/src/


Makefile.am hashtable.h load.c utf.c


Makefile.in jansson.h memory.c utf.h


dump.c jansson_config.h.in pack_unpack.c value.c


error.c jansson_config.h.win32 strbuffer.c


hashtable.c jansson_private.h strbuffer.h
 
Last edited by a moderator:
Try to run ./configure after autoreconf -i in the jansson directory.


Then cmake again for pndmanager.
 
Last edited by a moderator:
Seems to work :) , compiling now !


How do i enable --prefix=/usr for the whole program ?
 
For now:



Code:
cd /root

git clone https://github.com/bzar/panorama.git

cd panorama

git submodule update --init --recursive


cd /root/panorama/deps/pndman/src/

make version


cd /root/panorama/deps/jansson/src/

autoreconf -i

./configure


cd /root/panorama

mkdir target

cd target

cmake ..

make
 
Last edited by a moderator:
For cmake there should be a define that you can set at configurestep like -DPREFIX=/usr for configure you can set --prefix=/usr


You can also have a look into the makefiles or CMakeLists to see where the prefix is set to and change that.
 
Mmm seems nothing has been defined.


What if i do a:


export DPREFIX=/usr


before the cmake .. ?


Btw, this build is memory-greedy ^^. Because of Qt ?


$ free


total used free shared buffers cached


Mem: 240500 238492 2008 0 372 14492


-/+ buffers/cache: 223628 16872


Swap: 589816 295524 294292
 
Last edited by a moderator:
Ok, compile finished, installed.


When running, i just have a black windows.


The error is:


/usr/local/bin/interfaces/PNDManager/ui.qml: File not found


$ locate ui.qml


/usr/local/share/panorama/interfaces/Colors/ui.qml


/usr/local/share/panorama/interfaces/Consolidation/ui.qml


/usr/local/share/panorama/interfaces/Magma/ui.qml


/usr/local/share/panorama/interfaces/PNDManager/ui.qml


/usr/local/share/panorama/interfaces/Simplicity/ui.qml


/usr/local/share/panorama/interfaces/Tabbed/ui.qml


/usr/local/share/panorama/interfaces/Test/ui.qml


/usr/local/share/panorama/interfaces/TestSuite/ui.qml
 
Seems that -DCMAKE_INSTALL_PREFIX=/usr/ cleaned up the mess.


Now i have a working windowed (why ?) interface.


But i can't update, tcpdump reports packets send to kronos.dragonbox.de, but nothing comes back...
 
Ok, working now :) , seems it was a server problem.


I'm not sure if i want to do it, but how do i launch panorama in fullscreen.
 
Back
Top