Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

the thing is on ports and cant be maked, keeps saying

make
===>  License check disabled, port has not defined LICENSE
===>  Found saved configuration for v8-3.10.4
===>  Extracting for v8-3.10.4
=> SHA256 Checksum OK for v8-3.10.4.tar.xz.
===>  Patching for v8-3.10.4
===>  Applying FreeBSD patches for v8-3.10.4
===>   v8-3.10.4 depends on file: /usr/local/bin/scons - found
===>   v8-3.10.4 depends on shared library: execinfo.1 - found
===>  Configuring for v8-3.10.4
===>  Building for v8-3.10.4
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
c++ -O2 -pipe -fno-strict-aliasing -o obj/release/accessors.o -c -fno-rtti -fno-exceptions -Wall -Werror -W -Wno-unused-parameter -Woverloaded-virtual -Wnon-virtual-dtor -m64 -O3 -fomit-frame-pointer -fdata-sections -ffunction-sections -ansi -DV8_TARGET_ARCH_X64 -DENABLE_DEBUGGER_SUPPORT -Isrc -I/usr/local/include -Isrc src/accessors.cc
c++ -O2 -pipe -fno-strict-aliasing -o obj/release/allocation.o -c -fno-rtti -fno-exceptions -Wall -Werror -W -Wno-unused-parameter -Woverloaded-virtual -Wnon-virtual-dtor -m64 -O3 -fomit-frame-pointer -fdata-sections -ffunction-sections -ansi -DV8_TARGET_ARCH_X64 -DENABLE_DEBUGGER_SUPPORT -Isrc -I/usr/local/include -Isrc src/allocation.cc
c++ -O2 -pipe -fno-strict-aliasing -o obj/release/api.o -c -fno-rtti -fno-exceptions -Wall -Werror -W -Wno-unused-parameter -Woverloaded-virtual -Wnon-virtual-dtor -m64 -O3 -fomit-frame-pointer -fdata-sections -ffunction-sections -ansi -DV8_TARGET_ARCH_X64 -DENABLE_DEBUGGER_SUPPORT -Isrc -I/usr/local/include -Isrc src/api.cc
virtual memory exhausted: Cannot allocate memory
scons: *** [obj/release/api.o] Error 1
scons: building terminated because of errors.
*** Error code 2

Stop in /usr/ports/lang/v8.
*** Error code 1

Stop in /usr/ports/lang/v8.

vps has 256mb, which is quite small, but from what ive googled, people have it running even on smaller amount of ram
any tips?

share|improve this question
1  
People have it running with smaller amounts of RAM. Compiling, however, can require much more. – grawity May 11 '12 at 11:50
    
seems legit, but how would u run it without compiling it first? – Arseny May 11 '12 at 12:03
2  
By installing v8 as a compiled package, of course. – grawity May 11 '12 at 12:04

I'm not sure if this is best practice, but you can install it like this:

curl -O ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/lang/v8-3.12.9.tbz && pkg_add -n v8-3.12.9.tbz

Manually go the the ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/lang/ to check the latest filename.

There are easier methods to install packages. Search in ports/sysutils or wait for the pkgng coming in fBSD 9.1

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .