I'm currently build my LFS in a Slackware as a host.
I keep getting an error,
Code:
cannot create temp file for here-document: No space left on device
I tried restarting and deleting the files in /tmp but the error stills exists.
When this error occurred sometime back, I increased the size of the partition but it starts showing again.
This keeps me deterring from building my system. Please help ASAP. Thanks.
Full error message.
Code:
lfs:/mnt/lfs/sources/binutils-2.29/build$ ../configure --prefix=/tools --with-sysroot=$LFS --with-lib-path=/tools/lib --target=$LFS_TGT --disable-nls --disable-werror
../configure: line 1887: cannot create temp file for here-document: No space left on device
../configure: line 1899: cannot create temp file for here-document: No space left on device
../configure: line 1934: cannot create temp file for here-document: No space left on device
../configure: line 2104: cannot create temp file for here-document: No space left on device
../configure: line 2108: cannot create temp file for here-document: No space left on device
../configure: line 2112: cannot create temp file for here-document: No space left on device
../configure: line 2116: cannot create temp file for here-document: No space left on device
../configure: line 2120: cannot create temp file for here-document: No space left on device
../configure: line 2124: cannot create temp file for here-document: No space left on device
checking build system type... mkdir: cannot create directory '/tmp/cg2310-22864': No such file or directory
mkdir: cannot create directory '/tmp/cg-2310': No such file or directory
config.guess: cannot create a temporary directory in /tmp
configure: error: cannot guess build type; you must specify one
../configure: line 6: cannot create temp file for here-document: No space left on device
../configure: line 44: cannot create temp file for here-document: No space left on device
../configure: line 61: cannot create temp file for here-document: No space left on device
../configure: line 79: cannot create temp file for here-document: No space left on device
Code:
asdasd:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 12G 12G 0 100% /
devtmpfs 2.0G 0 2.0G 0% /dev
tmpfs 2.0G 808K 2.0G 1% /run
tmpfs 2.0G 164K 2.0G 1% /dev/shm
cgroup_root 2.0G 0 2.0G 0% /sys/fs/cgroup
cgmfs 100K 0 100K 0% /run/cgmanager/fs
/dev/sda2 7.8G 2.2G 5.2G 30% /mnt/lfs
Code:
asdasd:~# ls /tmp/
kde-root ksocket-root
asdasd:~# df /tmp/
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 12254384 11609360 0 100% /
Output of
fdisk -l
Code:
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 25167871 25165824 12G 83 Linux
/dev/sda2 25167872 41943039 16775168 8G 83 Linux