The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

unable to compile in jailshell

Discussion in 'General Discussion' started by ErkDog, Oct 27, 2006.

  1. ErkDog

    ErkDog Member

    Joined:
    Jan 26, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    and yes I have enable compiler support.

    The problem specifically is this.

    Checking for sockets... test_sockets.c:1:23: sys/types.h: No such file or directory

    This isn't even a compile yet, this is thrown back at me when I run ./configure for the particular application.

    Basically, types.h exists in /usr/include

    but for whatever reason /usr/include is not included in the /home/virtfs structure, so things won't configure and compile right.

    None of the /usr/include directory is even included, which is required to configure and compile most anything!!

    Please advise.

    Thanks,
    Matt
     
  2. ErkDog

    ErkDog Member

    Joined:
    Jan 26, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    I believe this sheds some light on the subject

    Code:
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/root              20G  3.3G   16G  18% /lib
    df: `/usr/include': No such file or directory
    /dev/root              20G  3.3G   16G  18% /usr/lib
    /dev/root              20G  3.3G   16G  18% /usr/sbin
    /dev/root              20G  3.3G   16G  18% /usr/share
    /dev/root              20G  3.3G   16G  18% /usr/bin
    /dev/root              20G  3.3G   16G  18% /usr/X11R6
    /dev/root              20G  3.3G   16G  18% /usr/local/bin
    /dev/root              20G  3.3G   16G  18% /usr/local/lib
    df: `/usr/local/share': No such file or directory
    /dev/root              20G  3.3G   16G  18% /usr/kerberos
    /dev/root              20G  3.3G   16G  18% /usr/libexec
    /dev/root              20G  3.3G   16G  18% /usr/man
    /dev/root              20G  3.3G   16G  18% /var/log
    /dev/root              20G  3.3G   16G  18% /var/spool
    /dev/root              20G  3.3G   16G  18% /var/lib
    /dev/root              20G  3.3G   16G  18% /var/run
    /dev/root            1012M   99M  862M  11% /tmp
    /dev/root            1013M  168K 1013M   1% /dev
    /dev/root              20G  3.3G   16G  18% /bin
    /dev/root              51G  3.5G   45G   8% /home/quevedo
    
    so it's trying to map that in the virtfs, but it's breaking for some reason.

    Please advise.
     
  3. JonMarkGo

    JonMarkGo Active Member

    Joined:
    Sep 14, 2005
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    I'm having the same problem. I tried doing a ln -s /usr/include include in the user's virtual usr directory as root but then when i compiled i got this error:
    Too many levels of symbolic links
    Any suggestions?
     
  4. JonMarkGo

    JonMarkGo Active Member

    Joined:
    Sep 14, 2005
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    I did a cp -r /usr/include include in their virtual usr directory but I really don't like doing this way, could anyone think of a way to link out of jailshell?
     
Loading...

Share This Page