Hi,
I have tried to compile git version and within make on 64 bit oneric got errors:
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:150: undefined reference to `dlopen'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:152: undefined reference to `dlerror'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:155: undefined reference to `dlerror'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:157: undefined reference to `dlerror'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:157: undefined reference to `dlsym'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:157: undefined reference to `dlerror'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:158: undefined reference to `dlerror'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:158: undefined reference to `dlsym'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:158: undefined reference to `dlerror'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:163: undefined reference to `dlclose'
src/pgld.o: In function `close_dbus':
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:175: undefined reference to `dlclose'
src/pgld.o: In function `nfqueue_unbind':
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:258: undefined reference to `nfq_destroy_queue'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:259: undefined reference to `nfq_unbind_pf'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:262: undefined reference to `nfq_close'
src/pgld.o: In function `nfqueue_cb':
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:414: undefined reference to `nfq_get_msg_packet_hdr'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:417: undefined reference to `nfq_get_payload'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:423: undefined reference to `nfq_set_verdict'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:434: undefined reference to `nfq_set_verdict_mark'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:437: undefined reference to `nfq_set_verdict'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:447: undefined reference to `nfq_set_verdict_mark'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:449: undefined reference to `nfq_set_verdict'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:475: undefined reference to `nfq_set_verdict_mark'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:478: undefined reference to `nfq_set_verdict'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:490: undefined reference to `nfq_set_verdict_mark'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:492: undefined reference to `nfq_set_verdict'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:505: undefined reference to `nfq_set_verdict_mark'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:508: undefined reference to `nfq_set_verdict'
src/pgld.o: In function `nfqueue_bind':
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:523: undefined reference to `nfq_open'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:529: undefined reference to `nfq_unbind_pf'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:531: undefined reference to `nfq_close'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:535: undefined reference to `nfq_bind_pf'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:537: undefined reference to `nfq_close'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:548: undefined reference to `nfq_create_queue'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:551: undefined reference to `nfq_close'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:555: undefined reference to `nfq_set_mode'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:557: undefined reference to `nfq_destroy_queue'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:558: undefined reference to `nfq_close'
src/pgld.o: In function `nfqueue_loop':
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:575: undefined reference to `nfq_nfnlh'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:576: undefined reference to `nfnl_fd'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:579: undefined reference to `nfq_handle_packet'
/home/u1/Downloads/peerguardian/pgl/pgld/src/pgld.c:585: undefined reference to `nfq_close'
src/stream.o: In function `stream_open':
/home/u1/Downloads/peerguardian/pgl/pgld/src/stream.c:47: undefined reference to `inflateInit2_'
src/stream.o: In function `stream_close':
/home/u1/Downloads/peerguardian/pgl/pgld/src/stream.c:73: undefined reference to `inflateEnd'
src/stream.o: In function `stream_getline':
/home/u1/Downloads/peerguardian/pgl/pgld/src/stream.c:101: undefined reference to `inflateEnd'
/home/u1/Downloads/peerguardian/pgl/pgld/src/stream.c:107: undefined reference to `inflate'
/home/u1/Downloads/peerguardian/pgl/pgld/src/stream.c:111: undefined reference to `inflateEnd'
/home/u1/Downloads/peerguardian/pgl/pgld/src/stream.c:119: undefined reference to `inflateEnd'
I went through README file and all "*-dev" files but did not find which one could be missing ?
Thank you for clue,
Regards,
M.
jre-phoenix
2012-03-01
Try
sudo apt-get build-dep pgl
to install all needed development headers.
*If* no new packages are installed then, there is some other problem, e.g. with the new multiarch support in Ubuntu/Debian.
Please report your results.
martin
2012-03-01
There is nothing to install.
Tried to clone from git with the same errors.
If you can please help me to find the problem I really much apprecite that. I have been using this software for all my computers under the windows within last 7 years. When I change the OS to linux I would like to use it as well :-)
Thank you for helping me out.
Regards,
Martin
Carlos
2012-04-01
I had the same problem. Pull again, there were some changes that fix this issue.
martin
2012-04-02
Hi,
within ./configure I have got:
./configure: line 17043: QT4DBUS_CFLAGS: command not found
./configure: line 17044: C: command not found
./configure: line 17045: QT4DBUS_LIBS: command not found
./configure: line 17046: linker: command not found
checking for QT4DBUS... yes
checking for bool... yes
./configure: line 17232: QT_CFLAGS: command not found
./configure: line 17233: QT_LIBS: command not found
checking for QT... yes
checking for moc... moc
checking for uic... uic
checking for rcc... rcc
checking for lupdate... lupdate
checking for lrelease... lrelease
checking for qmake... qmake
./configure: line 17595: QT4_CFLAGS: command not found
./configure: line 17596: QT4_LIBS: command not found
Is it something serious ?
Regards,
M.
Carlos
2012-04-23
Hello,
Sorry for the long delay. It seems Qt4 libraries are missing.
Are you sure you installed these libraries?
* libqt4-core (>=4.3.0)
* libqt4-gui (>=4.3.0)
* libqt4-dev (>=4.3.0)
hasufell
2012-05-02
this could be related to dbus being disabled
it should be fixed by this commit: http://peerguardian.git.sourceforge.net/git/gitweb.cgi?p=peerguardian/peerguardian;a=commitdiff;h=1796dd445bf2edca17eb7daa1527492bf1ee7e7d
jre-phoenix
2012-06-09
I guess this is fixed now in git, please confirm.
martin
2012-06-10
Hi,
I cannot confirm because I have got into errors within ./configure:
------- warnings from autogen:
./autogen.sh
/usr/share/aclocal/log4c.m4:7: warning: underquoted definition of AM_PATH_LOG4C
/usr/share/aclocal/log4c.m4:7: run info '(automake)Extending aclocal'
/usr/share/aclocal/log4c.m4:7: or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
/usr/share/aclocal/log4c.m4:7: warning: underquoted definition of AM_PATH_LOG4C
/usr/share/aclocal/log4c.m4:7: run info '(automake)Extending aclocal'
/usr/share/aclocal/log4c.m4:7: or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
pgld/Makefile.am: installing `./depcomp'
pglgui/Makefile.am:65: `%'-style pattern rules are a GNU make extension
pglgui/Makefile.am:81: `%'-style pattern rules are a GNU make extension
----
./configure
...
...
...
checking for QT4... no
configure: error: Package requirements (QtCore QtGui polkit-qt-1) were not met:
No package 'polkit-qt-1' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables QT4_CFLAGS
and QT4_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
--------- installed packages:
sudo dpkg -l|grep polkit-qt-1
ii libpolkit-qt-1-1 0.103.0-1 PolicyKit-qt-1 library
sudo dpkg -l|grep -i QtCore
ii libqtcore4 4:4.8.1-0ubuntu4.1 Qt 4 core module
ii libqtcore4:i386 4:4.8.1-0ubuntu4.1 Qt 4 core module
ii libqtcore4-perl 4:4.8.2-0ubuntu2 perl bindings for the Qt Core library
ii libsmokeqtcore4-3 4:4.8.3-0ubuntu0.1 Qt Core SMOKE library
sudo dpkg -l |grep -i QtGui
ii libqtgui4 4:4.8.1-0ubuntu4.1 Qt 4 GUI module
ii libqtgui4:i386 4:4.8.1-0ubuntu4.1 Qt 4 GUI module
ii libqtgui4-perl 4:4.8.2-0ubuntu2 perl bindings for the Qt Gui library
ii libsmokeqtgui4-3 4:4.8.3-0ubuntu0.1
Could you please , please help me how to setup
QT4_CFLAGS
QT4_LIBS
I have no experience in QT4 and man pkg-config is for me "Spanish village".
Thank you,
Kind Regards,
Martin
hasufell
2012-06-10
You are missing libpolkit-qt-1-dev.
The INSTALL file says "- Qt4 development files including Qt4 dbus (optional, required for the GUI)".
For more specific information on debian/ubuntu see the control file:
http://peerguardian.git.sourceforge.net/git/gitweb.cgi?p=peerguardian/peerguardian;a=blob_plain;f=pgl/debian/control;hb=8fc480c0e441b7116acc5d9e793f367090ede755
martin
2012-06-10
Hi,
Thanks a lot for helping me out.
(I have completely overlook that missing dev library)
Compilation succeeded.
but I did not install it yet because I have in my source.list repository ppa:jre-phoenix/ppa and new version has been installed recently - release "2.2.0~pre23-1~precise".
Is it the same version from "ppa:jre-phoenix/ppa" as from
git://peerguardian.git.sourceforge.net/gitroot/peerguardian/peerguardian
at this moment ?
How can I in a future to find out that something new is in git repository comparing to compiled package in "ppa:jre-phoenix/ppa" repository ?
Thanks in advance,
Kind Regards,
M.