Menu

Installation - Archlinux

Help
Isum
2010-05-04
2013-05-20
  • Isum

    Isum - 2010-05-04

    Attempting to install via the AUR pkgbuild results in this error:

    http://pastebin.ca/1871398

    Deps were installed no problem. Any ideas?

     
  • uljanow

    uljanow - 2010-05-04

    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

    ?

     
  • Isum

    Isum - 2010-05-04

    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.

     
  • Isum

    Isum - 2010-05-06

    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.

     
  • thfr

    thfr - 2010-06-07

    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 ?

     
  • uljanow

    uljanow - 2010-06-07

    Could you try inserting the following in iplist.cc at line 37:

    #include <sys/types.h>
    #include <sys/stat.h>

     
  • thfr

    thfr - 2010-06-12

    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
    

    With your solution from ealier:

    bool range::range_cmp::operator()(const ::range::range& lhs, const ::range::range& rhs) const
    

    … it finally worked ;)

    Thanks.

     
  • uljanow

    uljanow - 2010-06-12

    Good to know. I will add the changes to the next version 0.29.

    Regards,
    Serkan

     

Log in to post a comment.