Ok, that worked. But now when I call ipblock -g it does nothing.
I'm going to update the AUR package and try reinstalling with pkgbuild.
Thanks for help, uljanow.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
patching file / tmp/yaourt-tmp-thomas/aur-iplist/src/iplist-0.28/src/range.cc
g + +-O2-Wall-Wextra-std = c + +98-D_REENTRANT-DNDEBUG-I include-c src / iplist.cc
src / iplist.cc: IPList In constructor ':: process:: process () ":
src / iplist.cc: 107:44: error: 'mkfifo' was not declared in this scope
src / iplist.cc: In member function `void IPList:: process:: daemonize ()":
src / iplist.cc: 129:10: error: 'umask' was not declared in this scope
make: *** Error 1
(translated by google from german)
Original error message:
$ make
g++ -O2 -Wall -Wextra -std=c++98 -D_REENTRANT -DNDEBUG -I include -c src/list.cc
g++ -O2 -Wall -Wextra -std=c++98 -D_REENTRANT -DNDEBUG -I include -c src/main.cc
g++ -O2 -Wall -Wextra -std=c++98 -D_REENTRANT -DNDEBUG -I include -c src/nfq.cc
g++ -O2 -Wall -Wextra -std=c++98 -D_REENTRANT -DNDEBUG -I include -c src/iplist.cc
src/iplist.cc: In constructor »iplist::process::process()«:
src/iplist.cc:107:44: Fehler: »mkfifo« wurde in diesem Gültigkeitsbereich nicht definiert
src/iplist.cc: In Elementfunktion »void iplist::process::daemonize()«:
src/iplist.cc:129:10: Fehler: »umask« wurde in diesem Gültigkeitsbereich nicht definiert
make: *** Fehler 1
Something wrong with mkfifo on arch x86_64 ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After inserting the include paths I've got the next error msg:
g + +-O2-Wall-Wextra-std = c + +98-D_REENTRANT-DNDEBUG-I include-c src / list.cc
g + +-O2-Wall-Wextra-std = c + +98-D_REENTRANT-DNDEBUG-I include-c src / main.cc
+ +-g-O2-Wall-std = c + Wextra +98-D_REENTRANT-DNDEBUG-I include-c src / nfq.cc
g + +-O2-Wall-Wextra-std = c + +98-D_REENTRANT-DNDEBUG-I include-c src / iplist.cc
g + +-O2-Wall-Wextra-std = c + +98-D_REENTRANT-DNDEBUG-I include-c src / log.cc
g + +-O2-Wall-Wextra-std = c + +98-D_REENTRANT-DNDEBUG-I include-c src / range.cc
src / range.cc: 54:41: error range ": range:: range 'names the constructor, not the type
src / range.cc: 54:55: error: ISO C + + forbids declaration of 'lhs' with no type
src / range.cc: 54:66: error range ": range:: range 'names the constructor, not the type
src / range.cc: 54:80: error: ISO C + + forbids declaration of `rhs' with no type
src / range.cc: 54:6: error: prototype for `bool range:: range_cmp:: operator () (const int &, const int &) const 'does not match any in class range:: range_cmp"
include / range.h: 57:9: error: candidate is: bool range:: range_cmp:: operator () range (const:: range &, const range:: range &) const
make: *** [range.o] Error 1
Attempting to install via the AUR pkgbuild results in this error:
http://pastebin.ca/1871398
Deps were installed no problem. Any ideas?
Which version of gcc are you using ?
Does it work if you change line 54 in src/range.cc to:
bool range::range_cmp::operator()(const ::range::range& lhs, const ::range::range& rhs) const
?
Yes, thank you. Making that change worked for install. But I still can't get the GUI started.
Running ipblock -g gives:
/usr/sbin/ipblock: line 420: LOG_IPTABLES: unbound variable
openjdk6 and netbeans are installed.
That error message is due to a missing or old configuration file /etc/ipblock.conf.
http://iplist.git.sourceforge.net/git/gitweb.cgi?p=iplist/iplist;a=blob_plain;f=ipblock.conf
Ok, that worked. But now when I call ipblock -g it does nothing.
I'm going to update the AUR package and try reinstalling with pkgbuild.
Thanks for help, uljanow.
I'm getting following error (on archx86_64):
patching file / tmp/yaourt-tmp-thomas/aur-iplist/src/iplist-0.28/src/range.cc
g + +-O2-Wall-Wextra-std = c + +98-D_REENTRANT-DNDEBUG-I include-c src / iplist.cc
src / iplist.cc: IPList In constructor ':: process:: process () ":
src / iplist.cc: 107:44: error: 'mkfifo' was not declared in this scope
src / iplist.cc: In member function `void IPList:: process:: daemonize ()":
src / iplist.cc: 129:10: error: 'umask' was not declared in this scope
make: *** Error 1
(translated by google from german)
Original error message:
$ make
g++ -O2 -Wall -Wextra -std=c++98 -D_REENTRANT -DNDEBUG -I include -c src/list.cc
g++ -O2 -Wall -Wextra -std=c++98 -D_REENTRANT -DNDEBUG -I include -c src/main.cc
g++ -O2 -Wall -Wextra -std=c++98 -D_REENTRANT -DNDEBUG -I include -c src/nfq.cc
g++ -O2 -Wall -Wextra -std=c++98 -D_REENTRANT -DNDEBUG -I include -c src/iplist.cc
src/iplist.cc: In constructor »iplist::process::process()«:
src/iplist.cc:107:44: Fehler: »mkfifo« wurde in diesem Gültigkeitsbereich nicht definiert
src/iplist.cc: In Elementfunktion »void iplist::process::daemonize()«:
src/iplist.cc:129:10: Fehler: »umask« wurde in diesem Gültigkeitsbereich nicht definiert
make: *** Fehler 1
Something wrong with mkfifo on arch x86_64 ?
Could you try inserting the following in iplist.cc at line 37:
#include <sys/types.h>
#include <sys/stat.h>
After inserting the include paths I've got the next error msg:
With your solution from ealier:
… it finally worked ;)
Thanks.
Good to know. I will add the changes to the next version 0.29.
Regards,
Serkan