hey experts!
It's been 9 years since posting! wow, it is good to finally be back in the world of Linux - so much fun!
I've got a question. I really did try searching on this and I even tried learning how to make a makefile so I would understand what the error I'm getting is, but I've hit a roadblock. I have downloaded pgl-2.1.3 and have installed the dependencies (or at least I think I have). However, I'm still running into an error when running the make command in the primary directory for this program install. Here's the code that is generated when running 'make'.
Code:
make -C pgld all
make[1]: Entering directory `/home/arench/Downloads/pgl-2.1.3/pgld'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/arench/Downloads/pgl-2.1.3/pgld'
make -C pglcmd all
make[1]: Entering directory `/home/arench/Downloads/pgl-2.1.3/pglcmd'
cat pglcmd.defaults | \
sed "s|^PATH=.*|PATH=\"/usr/bin:/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin\"|" | \
sed "s|^BINDIR=.*|BINDIR=\"/usr/bin\"|" | \
sed "s|^SBINDIR=.*|SBINDIR=\"/usr/sbin\"|" | \
sed "s|^PIDDIR=.*|PIDDIR=\"/var/run\"|" | \
sed "s|^LOGDIR=.*|LOGDIR=\"/var/log/pgl\"|" | \
sed "s|^CONFDIR=.*|CONFDIR=\"/etc/pgl\"|" | \
sed "s|^LIBDIR=.*|LIBDIR=\"/usr/lib/pgl\"|" | \
sed "s|^TMPDIR=.*|TMPDIR=\"/tmp\"|" | \
sed "s|^BLOCKLISTS_DIR=.*|BLOCKLISTS_DIR=\"/var/spool/pgl\"|" | \
sed "s|^LOCAL_BLOCKLIST_DIR=.*|LOCAL_BLOCKLIST_DIR=\"/etc/pgl/blocklists.local\"|" | \
sed "s|^MASTER_BLOCKLIST_DIR=.*|MASTER_BLOCKLIST_DIR=\"/var/lib/pgl\"|" | \
sed "s|^LSB=.*|LSB=\"\"|" > pglcmd.defaults.install.tmp
cat pglcmd.defaults.install.tmp | \
sed "s|^DBUS=.*|DBUS=\"1\"|" > pglcmd.defaults.install
rm pglcmd.defaults.install.tmp
cat pglcmd.main | \
sed "s|^CMD_DEFAULTS=.*|CMD_DEFAULTS=\"/usr/lib/pgl/pglcmd.defaults\"|" > pglcmd.main.install
for FILE in blockcontrol2pglcmd.sh pglcmd pglcmd.wd cron.daily init ../debian/pglcmd.postinst if-up ; do \
cat $FILE | \
sed "s|^CONTROL_MAIN=.*|CONTROL_MAIN=\"/usr/lib/pgl/pglcmd.main\"|" > $FILE.install ; \
done
# Not clean because the original file is changed here. The debian/pglcmd.postinst should be handled by the debian/rules file.
# Just doing this here to avoid to forget this. Normally this file shouldn't change anyway.
make[1]: Leaving directory `/home/arench/Downloads/pgl-2.1.3/pglcmd'
make -C pgl-gui all
make[1]: Entering directory `/home/arench/Downloads/pgl-2.1.3/pgl-gui'
g++ \
-pipe -g -D_REENTRANT -Wall -W -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED \
-I/usr/share/qt4/include -I/usr/share/qt4/include/QtCore -I/usr/share/qt4/include/QtGui -I/usr/share/qt4/include/QtDBus -I. -Isrc -Iui \
-c src/main.cpp \
-o src/main.o
src/main.cpp:22:24: fatal error: QApplication: No such file or directory
compilation terminated.
make[1]: *** [src/main.o] Error 1
make[1]: Leaving directory `/home/arench/Downloads/pgl-2.1.3/pgl-gui'
make: *** [pgl-gui_all] Error 2
I saw that the 'fatal error' came on the line that said something about QApplication. I checked the dependencies on this program and one is QT4. I did verify that I've installed this using the RPM Yast installer.
I'm on OpenSuse 12.1 on a 32bit system.
Can anyone figure out why I'm erroring here?