ErkDog

Member
Jan 26, 2004
13
0
151
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
 

ErkDog

Member
Jan 26, 2004
13
0
151
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.
 

JonMarkGo

Active Member
Sep 14, 2005
25
0
151
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?
 

JonMarkGo

Active Member
Sep 14, 2005
25
0
151
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?