|
|||
|
Hi
I purchased plan Link-1. I am trying to install Mplayer http://www.mplayerhq.hu/ and i have a problem. When put "make" the system print this: ----------------------------------------------------------- cc -I../libvo -I../../libvo -fno-PIC -O4 -march=prescott -mtune=prescott -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_AV_CONFIG_H -I.. -I/home/plugins/MPlayer-1.0pre8/libavutil -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o mpegvideo.o mpegvideo.c virtual memory exhausted: Cannot allocate memory make[1]: *** [mpegvideo.o] Error 1 ----------------------------------------------------------- I am searching at google. Some people with the same problem, resolved this, with making a swap partition. This is the code (for 256MB): ----------------------- dd if=/dev/zero of=/swap bs=1M count=256 mkswap /swap swapon /swap set -o noclobber # make absolutely sure you don't clobber fstab echo "/swap swap swap defaults,noatime 0 0" >> /etc/fstab ------------------------- This problem is with "swapon /swap" The system says: swapon: /swap: Operation not permitted What is wrong? Thanks
|
|
|||
|
Hello,
There is no SWAP partition in a virtualized environment. You won't be able to use swapon to compile your software. You can use this information to try to limit the amount of memory required during compilation, but generally speaking a level 1 account is a little weak to compile softwares. |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|