View Single Post
deeteroderdas's Avatar
Posts: 274 | Thanked: 62 times | Joined on Jul 2007 @ Helotes, TX
#2
Originally Posted by azureice View Post
Hi, I a trying to manually install an application on my N910. Specifcally, I am installing a newer version of m4 so that I can install autoconf so tha I can install automake so that I can install librfid.

Anyways, I did a ./configure for m4, and when I do a make, it starts compiling but always gets to "gccc [...] regex.o regex.c"
"fatal error: error writing to /tmp/ccRku69z.s: No space left on device. compliation terminated"

I have 47MB left of memory, plus plenty of space on both of the memory cards. I tried running apt-get clean as recommended in another thread, but that didn't do much.

Any ideas?
Well, first of all, it doesn't matter how much space is on the memory cards if you are not using them.

In this case, the compiler is using /tmp as a "scratchpad". (tmp means temporary). I would guess that, somewere in the compile process, you are using up all of that 47 MB of memory.

You could try something like:

mkdir /media/mmc1/tmp
mount /media/mmc1/tmp /tmp

This would map the /tmp directory to /media/mmc1/tmp. Might be worth trying. It certainly shouldn't hurt anything.

Remember: if you reboot, the mount reverts back to the Flash.
__________________
Mitch Thompson, Helotes, TX USA
N800|2x 16GB SDHC|PDAir case|i737 BT GPS

"There are two major products that come out of Berkeley: LSD and BSD. We don't believe this to be a coincidence. " - Jeremy S. Anderson
 

The Following User Says Thank You to deeteroderdas For This Useful Post: