How to install JailKit?












3















I want to install jailkit in ubuntu http://ubuntuforums.org/showthread.php?t=248724



so i have downloaded jailkit http://olivier.sessink.nl/jailkit/index.html#download



after downloading I did tar



then cd in to directory



./configure

make


(error)



How do i install it ?



Ii am installing (compile) it on Ubuntu server 11.10



UPDATE



I found out, how to start make:



(as root)



make

make[1]: Entering directory `/home/one/jailkit-2.14/src'

gcc -lpthread -o jk_socketd jk_socketd.o jk_lib.o utils.o iniparser.o

jk_socketd.o: In function `main':

/home/one/jailkit-2.14/src/jk_socketd.c:474: undefined reference to `pthread_create'

collect2: ld returned 1 exit status

make[1]: *** [jk_socketd] Error 1

make[1]: Leaving directory `/home/one/jailkit-2.14/src'

make: *** [all] Error 2

root@ubuntu:/home/one/jailkit-2.14#









share|improve this question

























  • We need to see the error from when you try to make

    – benwh
    Jan 5 '12 at 21:00


















3















I want to install jailkit in ubuntu http://ubuntuforums.org/showthread.php?t=248724



so i have downloaded jailkit http://olivier.sessink.nl/jailkit/index.html#download



after downloading I did tar



then cd in to directory



./configure

make


(error)



How do i install it ?



Ii am installing (compile) it on Ubuntu server 11.10



UPDATE



I found out, how to start make:



(as root)



make

make[1]: Entering directory `/home/one/jailkit-2.14/src'

gcc -lpthread -o jk_socketd jk_socketd.o jk_lib.o utils.o iniparser.o

jk_socketd.o: In function `main':

/home/one/jailkit-2.14/src/jk_socketd.c:474: undefined reference to `pthread_create'

collect2: ld returned 1 exit status

make[1]: *** [jk_socketd] Error 1

make[1]: Leaving directory `/home/one/jailkit-2.14/src'

make: *** [all] Error 2

root@ubuntu:/home/one/jailkit-2.14#









share|improve this question

























  • We need to see the error from when you try to make

    – benwh
    Jan 5 '12 at 21:00
















3












3








3


3






I want to install jailkit in ubuntu http://ubuntuforums.org/showthread.php?t=248724



so i have downloaded jailkit http://olivier.sessink.nl/jailkit/index.html#download



after downloading I did tar



then cd in to directory



./configure

make


(error)



How do i install it ?



Ii am installing (compile) it on Ubuntu server 11.10



UPDATE



I found out, how to start make:



(as root)



make

make[1]: Entering directory `/home/one/jailkit-2.14/src'

gcc -lpthread -o jk_socketd jk_socketd.o jk_lib.o utils.o iniparser.o

jk_socketd.o: In function `main':

/home/one/jailkit-2.14/src/jk_socketd.c:474: undefined reference to `pthread_create'

collect2: ld returned 1 exit status

make[1]: *** [jk_socketd] Error 1

make[1]: Leaving directory `/home/one/jailkit-2.14/src'

make: *** [all] Error 2

root@ubuntu:/home/one/jailkit-2.14#









share|improve this question
















I want to install jailkit in ubuntu http://ubuntuforums.org/showthread.php?t=248724



so i have downloaded jailkit http://olivier.sessink.nl/jailkit/index.html#download



after downloading I did tar



then cd in to directory



./configure

make


(error)



How do i install it ?



Ii am installing (compile) it on Ubuntu server 11.10



UPDATE



I found out, how to start make:



(as root)



make

make[1]: Entering directory `/home/one/jailkit-2.14/src'

gcc -lpthread -o jk_socketd jk_socketd.o jk_lib.o utils.o iniparser.o

jk_socketd.o: In function `main':

/home/one/jailkit-2.14/src/jk_socketd.c:474: undefined reference to `pthread_create'

collect2: ld returned 1 exit status

make[1]: *** [jk_socketd] Error 1

make[1]: Leaving directory `/home/one/jailkit-2.14/src'

make: *** [all] Error 2

root@ubuntu:/home/one/jailkit-2.14#






compiling jailkit






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 2 at 18:16









rubo77

14.7k2993198




14.7k2993198










asked Jan 4 '12 at 21:27









One ZeroOne Zero

17.2k2272106




17.2k2272106













  • We need to see the error from when you try to make

    – benwh
    Jan 5 '12 at 21:00





















  • We need to see the error from when you try to make

    – benwh
    Jan 5 '12 at 21:00



















We need to see the error from when you try to make

– benwh
Jan 5 '12 at 21:00







We need to see the error from when you try to make

– benwh
Jan 5 '12 at 21:00












3 Answers
3






active

oldest

votes


















3














Yep I just got exactly the same on mine. The linker isn't getting the correct flags.



make clean
export LDFLAGS="-pthread"
./configure && make





share|improve this answer
























  • ./configure && make > then make install ? or its installed ?

    – One Zero
    Jan 5 '12 at 21:13













  • Sorry, yes you'll need to do a (sudo) make install afterwards if you want to install it system-wide

    – benwh
    Jan 5 '12 at 21:17



















3














To avoid compilation errors, there is a PPA (ppa:jailkit/ppa) for jailkit available.



What are PPAs and how do I use them?






share|improve this answer

































    2














    Another way to install JailKit



    apt-get install build-essential autoconf automake libtool flex bison debhelper binutils-gold
    cd /tmp
    wget http://olivier.sessink.nl/jailkit/jailkit-2.20.tar.gz
    tar xvfz jailkit-2.20.tar.gz
    cd jailkit-2.20 ./debian/rules binary


    You can now install the Jailkit .deb package as follows:



    cd ..
    dpkg -i jailkit_2.20-1_*.deb


    Help " 19 Install Jailkit "






    share|improve this answer

























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "89"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f92856%2fhow-to-install-jailkit%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      3














      Yep I just got exactly the same on mine. The linker isn't getting the correct flags.



      make clean
      export LDFLAGS="-pthread"
      ./configure && make





      share|improve this answer
























      • ./configure && make > then make install ? or its installed ?

        – One Zero
        Jan 5 '12 at 21:13













      • Sorry, yes you'll need to do a (sudo) make install afterwards if you want to install it system-wide

        – benwh
        Jan 5 '12 at 21:17
















      3














      Yep I just got exactly the same on mine. The linker isn't getting the correct flags.



      make clean
      export LDFLAGS="-pthread"
      ./configure && make





      share|improve this answer
























      • ./configure && make > then make install ? or its installed ?

        – One Zero
        Jan 5 '12 at 21:13













      • Sorry, yes you'll need to do a (sudo) make install afterwards if you want to install it system-wide

        – benwh
        Jan 5 '12 at 21:17














      3












      3








      3







      Yep I just got exactly the same on mine. The linker isn't getting the correct flags.



      make clean
      export LDFLAGS="-pthread"
      ./configure && make





      share|improve this answer













      Yep I just got exactly the same on mine. The linker isn't getting the correct flags.



      make clean
      export LDFLAGS="-pthread"
      ./configure && make






      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Jan 5 '12 at 21:10









      benwhbenwh

      540312




      540312













      • ./configure && make > then make install ? or its installed ?

        – One Zero
        Jan 5 '12 at 21:13













      • Sorry, yes you'll need to do a (sudo) make install afterwards if you want to install it system-wide

        – benwh
        Jan 5 '12 at 21:17



















      • ./configure && make > then make install ? or its installed ?

        – One Zero
        Jan 5 '12 at 21:13













      • Sorry, yes you'll need to do a (sudo) make install afterwards if you want to install it system-wide

        – benwh
        Jan 5 '12 at 21:17

















      ./configure && make > then make install ? or its installed ?

      – One Zero
      Jan 5 '12 at 21:13







      ./configure && make > then make install ? or its installed ?

      – One Zero
      Jan 5 '12 at 21:13















      Sorry, yes you'll need to do a (sudo) make install afterwards if you want to install it system-wide

      – benwh
      Jan 5 '12 at 21:17





      Sorry, yes you'll need to do a (sudo) make install afterwards if you want to install it system-wide

      – benwh
      Jan 5 '12 at 21:17













      3














      To avoid compilation errors, there is a PPA (ppa:jailkit/ppa) for jailkit available.



      What are PPAs and how do I use them?






      share|improve this answer






























        3














        To avoid compilation errors, there is a PPA (ppa:jailkit/ppa) for jailkit available.



        What are PPAs and how do I use them?






        share|improve this answer




























          3












          3








          3







          To avoid compilation errors, there is a PPA (ppa:jailkit/ppa) for jailkit available.



          What are PPAs and how do I use them?






          share|improve this answer















          To avoid compilation errors, there is a PPA (ppa:jailkit/ppa) for jailkit available.



          What are PPAs and how do I use them?







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 13 '17 at 12:25









          Community

          1




          1










          answered Jan 5 '12 at 21:29









          Marco CeppiMarco Ceppi

          36.9k24153191




          36.9k24153191























              2














              Another way to install JailKit



              apt-get install build-essential autoconf automake libtool flex bison debhelper binutils-gold
              cd /tmp
              wget http://olivier.sessink.nl/jailkit/jailkit-2.20.tar.gz
              tar xvfz jailkit-2.20.tar.gz
              cd jailkit-2.20 ./debian/rules binary


              You can now install the Jailkit .deb package as follows:



              cd ..
              dpkg -i jailkit_2.20-1_*.deb


              Help " 19 Install Jailkit "






              share|improve this answer






























                2














                Another way to install JailKit



                apt-get install build-essential autoconf automake libtool flex bison debhelper binutils-gold
                cd /tmp
                wget http://olivier.sessink.nl/jailkit/jailkit-2.20.tar.gz
                tar xvfz jailkit-2.20.tar.gz
                cd jailkit-2.20 ./debian/rules binary


                You can now install the Jailkit .deb package as follows:



                cd ..
                dpkg -i jailkit_2.20-1_*.deb


                Help " 19 Install Jailkit "






                share|improve this answer




























                  2












                  2








                  2







                  Another way to install JailKit



                  apt-get install build-essential autoconf automake libtool flex bison debhelper binutils-gold
                  cd /tmp
                  wget http://olivier.sessink.nl/jailkit/jailkit-2.20.tar.gz
                  tar xvfz jailkit-2.20.tar.gz
                  cd jailkit-2.20 ./debian/rules binary


                  You can now install the Jailkit .deb package as follows:



                  cd ..
                  dpkg -i jailkit_2.20-1_*.deb


                  Help " 19 Install Jailkit "






                  share|improve this answer















                  Another way to install JailKit



                  apt-get install build-essential autoconf automake libtool flex bison debhelper binutils-gold
                  cd /tmp
                  wget http://olivier.sessink.nl/jailkit/jailkit-2.20.tar.gz
                  tar xvfz jailkit-2.20.tar.gz
                  cd jailkit-2.20 ./debian/rules binary


                  You can now install the Jailkit .deb package as follows:



                  cd ..
                  dpkg -i jailkit_2.20-1_*.deb


                  Help " 19 Install Jailkit "







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Jan 2 at 18:20









                  rubo77

                  14.7k2993198




                  14.7k2993198










                  answered Jun 4 '12 at 15:49









                  One ZeroOne Zero

                  17.2k2272106




                  17.2k2272106






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f92856%2fhow-to-install-jailkit%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                      Mangá

                      Eduardo VII do Reino Unido