LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-25-2012, 10:34 PM   #1
Culbert
Member
 
Registered: Mar 2003
Location: Chicago, IL
Distribution: Libranet 2.8.1
Posts: 133

Rep: Reputation: 15
errors installing peerguardian linux from tarball


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?
 
Old 01-25-2012, 11:05 PM   #2
Culbert
Member
 
Registered: Mar 2003
Location: Chicago, IL
Distribution: Libranet 2.8.1
Posts: 133

Original Poster
Rep: Reputation: 15
Actually, I think I found that I installed QT3 and not QT4. I'm searching for QT4 now. I'll post in a bit if I get to install this.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
peerguardian linux equivalent? bashyow Linux - Software 3 07-26-2008 07:20 AM
Peerguardian for linux ?? Cyrix Linux - Software 3 10-19-2005 11:43 AM
Installing From a tarball in Fedora Linux sxa Linux - Software 2 01-20-2004 07:46 AM
PeerGuardian for linux?? bling bling Linux - Software 3 11-01-2003 08:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration