V8 installation error

54 views
Skip to first unread message

jaison pj

unread,
Feb 7, 2015, 12:58:51 AM2/7/15
to v8-u...@googlegroups.com

I have followed the following steps to install v8 in ubuntu .No error occurred during the process

svn checkout http://v8.googlecode.com/svn/trunk/ ./v8
cd v8
make builddeps
make native

but when I am trying to run the hello world program with the following command I'm getting error

 g++ -Iv8/include hello_world.cpp -o hello_world.o
v8/out/native/obj.target/tools/gyp/libv8_base.a 

v8/out/native/obj.target/tools/gyp/libv8_snapshot.a -lpthread

The error is

g++: error: v8/out/native/obj.target/tools/gyp/libv8_base.a: No such file or directory
g++: error: v8/out/native/obj.target/tools/gyp/libv8_snapshot.a: No such file or directory

Jakob Kummerow

unread,
Feb 7, 2015, 7:33:02 AM2/7/15
to v8-u...@googlegroups.com
Why don't you follow the official instructions?


--
--
v8-users mailing list
v8-u...@googlegroups.com
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups "v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

jaison pj

unread,
Feb 9, 2015, 1:06:38 AM2/9/15
to v8-u...@googlegroups.com
When I am trying to execute Build instructions: make ia32.release (From :  https://code.google.com/p/v8-wiki/wiki/UsingGit )
I am encountering the following error 

clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [/home/jaison/jpj/v8/out/ia32.release/mksnapshot] Error 1
make[1]: Leaving directory `/home/jaison/jpj/v8/out'
make: *** [ia32.release] Error 2

You received this message because you are subscribed to a topic in the Google Groups "v8-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/v8-users/rztaZiVT1hY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to v8-users+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

Yours sincerely 
JaisoN

Louis Santillan

unread,
Feb 9, 2015, 1:17:50 AM2/9/15
to v8-u...@googlegroups.com
Output from `uname -a` would help. Also, you're using clang. Use the
clang instructions here [0].

[0] https://code.google.com/p/v8-wiki/wiki/BuildingWithGYP

Jakob Kummerow

unread,
Feb 9, 2015, 4:23:49 AM2/9/15
to v8-u...@googlegroups.com
On Mon, Feb 9, 2015 at 7:17 AM, Louis Santillan <lpsa...@gmail.com> wrote:
Output from `uname -a` would help.  Also, you're using clang.  Use the
clang instructions here [0].

Clang is the default these days, no special instructions necessary.

On Sun, Feb 8, 2015 at 10:06 PM, jaison pj <jais...@gmail.com> wrote:
> When I am trying to execute Build instructions: make ia32.release (From :
> https://code.google.com/p/v8-wiki/wiki/UsingGit )
> I am encountering the following error
>
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> make[1]: *** [/home/jaison/jpj/v8/out/ia32.release/mksnapshot] Error 1
> make[1]: Leaving directory `/home/jaison/jpj/v8/out'
> make: *** [ia32.release] Error 2

This is not enough information. What's the error output before? 
Reply all
Reply to author
Forward
0 new messages