Page 1 of 1

[DONE] Peer Guardian anyone?

PostPosted: Dec 3rd, '13, 00:03
by giorgos67
Hi! :)

Does someone using Peer Guardian? Was he able?

I can't find it at repositories and trying to compile it, giving me this error:

I gave at konsole:
Code: Select all
./configure --sysconfdir=/etc
, but I received: "No package 'QtDBus' found", although I have installed these packages:
lib64qtdbus4 - QT Dbus Library​
qt4-qtdbus - Qt4 Dbus Binary​
qttools5-qtdbus - Qt5 Dbus Binary.

Re: Peer Guardian anyone?

PostPosted: Dec 3rd, '13, 13:29
by doktor5000
You probably want to install the -devel package as that's required when compiling software.
Look for qt5dbus-devel

Re: Peer Guardian anyone?

PostPosted: Dec 3rd, '13, 22:59
by giorgos67
THANKS doktor for your help!!!

Installing them, didn't solved the problem.

Re: Peer Guardian anyone?

PostPosted: Dec 3rd, '13, 23:23
by doktor5000
Works fine here, configure completes without errors. You're probably missing some qt or dbus devel packages.

Can you please show the output of
Code: Select all
grep -i qt4dbus config.log
grep -i qt4dbus config.status
inside the directory where you extracted peerguardian and after you ran configure?

This is what ot looks like here:

Code: Select all
[doktor5000@Mageia3 pgl-2.2.3]$ grep -i qt4dbus config.log
configure:17562: checking for QT4DBUS
ac_cv_env_QT4DBUS_CFLAGS_set=
ac_cv_env_QT4DBUS_CFLAGS_value=
ac_cv_env_QT4DBUS_LIBS_set=
ac_cv_env_QT4DBUS_LIBS_value=
pkg_cv_QT4DBUS_CFLAGS='-DQT_SHARED -I/usr/include/QtDBus -I/usr/include/QtCore -I/usr/include/QtXml  '
pkg_cv_QT4DBUS_LIBS='-lQtDBus -lQtXml -lQtCore  '
QT4DBUS_CFLAGS='-DQT_SHARED -I/usr/include/QtDBus -I/usr/include/QtCore -I/usr/include/QtXml  '
QT4DBUS_LIBS='-lQtDBus -lQtXml -lQtCore  '
 
[doktor5000@Mageia3 pgl-2.2.3]$ grep -i qt4dbus config.status
S["QT4DBUS_LIBS"]="-lQtDBus -lQtXml -lQtCore  "
S["QT4DBUS_CFLAGS"]="-DQT_SHARED -I/usr/include/QtDBus -I/usr/include/QtCore -I/usr/include/QtXml  "

Re: Peer Guardian anyone?

PostPosted: Dec 4th, '13, 16:11
by giorgos67
Oh, now you mentioned it, I realized that I've installed QT v.5 only (while pgl asks for QT4).

Code: Select all
[giorgos@localhost pgl-2.2.3]$ grep -i qt4dbus config.log
configure:17562: checking for QT4DBUS
Alternatively, you may set the environment variables QT4DBUS_CFLAGS
and QT4DBUS_LIBS to avoid the need to call pkg-config.
ac_cv_env_QT4DBUS_CFLAGS_set=
ac_cv_env_QT4DBUS_CFLAGS_value=
ac_cv_env_QT4DBUS_LIBS_set=
ac_cv_env_QT4DBUS_LIBS_value=
QT4DBUS_CFLAGS=''
QT4DBUS_LIBS=''
[giorgos@localhost pgl-2.2.3]$ grep -i qt4dbus config.status
grep: config.status: Δεν υπάρχει τέτοιο αρχείο ή κατάλογος
[giorgos@localhost pgl-2.2.3]$

Re: Peer Guardian anyone?

PostPosted: Dec 4th, '13, 17:33
by doktor5000
For reference, this is what I've got installed related to qt devel packages:

Code: Select all
[doktor5000@Mageia3 ~]$ rpm -qa | grep qt | grep devel | sort
lib64dbusmenu-qt-devel-0.9.2-2.mga3
lib64qt4-devel-4.8.5-1.2.mga3
lib64qt5base5-devel-5.0.2-1.mga3
lib64qt5bootstrap-devel-5.0.2-1.mga3
lib64qt5concurrent-devel-5.0.2-1.mga3
lib64qt5core-devel-5.0.2-1.mga3
lib64qt5dbus-devel-5.0.2-1.mga3
lib64qt5gui-devel-5.0.2-1.mga3
lib64qt5help-devel-5.0.2-1.mga3
lib64qt5network-devel-5.0.2-1.mga3
lib64qt5opengl-devel-5.0.2-1.mga3
lib64qt5printsupport-devel-5.0.2-1.mga3
lib64qt5qml-devel-5.0.2-1.mga3
lib64qt5quick-devel-5.0.2-1.mga3
lib64qt5sql-devel-5.0.2-1.mga3
lib64qt5test-devel-5.0.2-1.mga3
lib64qt5webkit-devel-5.0.2-1.mga3
lib64qt5webkitwidgets-devel-5.0.2-1.mga3
lib64qt5widgets-devel-5.0.2-1.mga3
lib64qt5xml-devel-5.0.2-1.mga3
lib64qt-mobility-devel-1.2.0-10.mga3
lib64qtwebkit2.2-devel-2.3.2-1.1.mga3
polkit-qt-1-devel-0.103.0-2.mga3
qtbase5-common-devel-5.0.2-1.mga3


Probably you don't need all of those, but at least qt4-devel qt5core-devel qt5dbus-devel and qt5xml-devel

If you're a little more patient, I can whip up an rpm package of peerguardian and see what it requires when rebuilding it in a minimal installation.

Re: Peer Guardian anyone?

PostPosted: Dec 4th, '13, 23:29
by doktor5000
Update: Got the package ready for x86_64, can upload it somewhere if you want.

Rebuild in clean chroot not possible currently due to mirror hiccups :/

Re: Peer Guardian anyone?

PostPosted: Dec 5th, '13, 01:26
by giorgos67
thanks! :D

I finally compiled it.
Now when it starts, it complaints for not finding gksu.
Is it targeted, to gnome only desktops?

Re: Peer Guardian anyone?

PostPosted: Dec 5th, '13, 11:36
by doktor5000
You obviously should ask that question with the developers of peerguardian ...

But what's your problem, simply install gksu and use it ...

Re: Peer Guardian anyone?

PostPosted: Dec 6th, '13, 09:42
by giorgos67
THANKS! :D

I'll do that.
At this moment, Peer Guardian is installed, but apparently is broken and in not functional condition.
I'll fill a support ticket at it's project page (at Sourceforge).

Meanwhile, I filed a feature request, at Bugzilla.
Let's hope that is will be added at the repositories, at future versions.

THANKS AGAIN!!! :D
G.

Re: Peer Guardian anyone?

PostPosted: Dec 6th, '13, 12:43
by doktor5000
Had already been reported as https://bugs.mageia.org/show_bug.cgi?id=8502 - by you.

Also, what exactly do you mean by that it's apparently broken and in no functional condition? Any error messages?
Did you check the readme? http://sourceforge.net/projects/peergua ... E/download

Re: Peer Guardian anyone?

PostPosted: Dec 6th, '13, 12:55
by giorgos67
doktor5000 wrote:Had already been reported as https://bugs.mageia.org/show_bug.cgi?id=8502 - by you.

Yes. Actually it wasn't exactly the same.
I just added a comment, explaining the reason for the new report.
https://bugs.mageia.org/show_bug.cgi?id=8502

doktor5000 wrote:Also, what exactly do you mean by that it's apparently broken and in no functional condition? Any error messages?
Did you check the readme? http://sourceforge.net/projects/peergua ... E/download

Yes, of course.
I filed a ticket at pgl's tracker: https://sourceforge.net/p/peerguardian/support-requests/47/

Re: Peer Guardian anyone?

PostPosted: Dec 6th, '13, 13:30
by doktor5000
giorgos67 wrote:
doktor5000 wrote:Had already been reported as https://bugs.mageia.org/show_bug.cgi?id=8502 - by you.

Yes. Actually it wasn't exactly the same.
I just added a comment, explaining the reason for the new report.
https://bugs.mageia.org/show_bug.cgi?id=8502

They are the same, you've requested peerguardian and moblock, now that peerguardian has its own GUI moblock is not required anymore.
Next time better edit the existing report, instead of creating a new one. If you haven't seen it yet, i've closed the newer report as duplicate.

Re: Peer Guardian anyone?

PostPosted: Dec 6th, '13, 13:39
by giorgos67
No this isn't the original report.
This is the edited one (by the tracker admins I suppose).
I originally filled 2 different reports.
1 for MoBlock and 1 for IPBlock.
None for PeerGuardian.

Re: Peer Guardian anyone?

PostPosted: Dec 6th, '13, 16:00
by doktor5000
As mentioned, I've edited it. In the first post, you're asking for moblock, which is pretty useless alone if we don't have peerguardian.
You even supplied the link to peerguardian in the description. So there's no use opening another request for peerguardian alone,
when the first should have been updated.

EDIT:
For your issue with peerguardian, that's just a path problem. It works fine here, check your compilation flags and the paths/prefix you used.
Code: Select all
[doktor5000@Mageia3 x86_64]$ /usr/bin/gksudo /usr/bin/pglcmd update
Updating blocklists and reloading PeerGuardian Linux: pgld

Or you may first have to click on the start button before trying to update.
Check the log via menu View -> View pglcmd's log for more information what really happened.

Anyways, for me the topic is DONE. Please mark the thread accordingly by editing the topic of the first post and prefix it by [DONE], thanks

Re: Peer Guardian anyone?

PostPosted: Dec 7th, '13, 07:09
by giorgos67
Right now, pgl is working for me.
I can start - stop - update (from konsole).
Pglgui, is not.
Neither it's main window buttons, nor the tray icon.

I think I'll pass for the time being and I'll wait for the official Mageia package, to be released.
THANKS AGAIN for your help!!! :D