Post by spikyBuilding Webkit 2,20,1 I get an error fails to find
"/webkitgtk-2.20.1/Source/JavaScriptCore/JSContextRef.h"
This file is in
"/webkitgtk-2.20.1/Source/JavaScriptCore/API/JSContextRef.h"
it is read from the file
/webkitgtk-2.20.1/Source/JavaScriptCore/API/JSHeapFinalizerPrivate.h
(#ifndef JSHeapFinalizerPrivate_h
#define JSHeapFinalizerPrivate_h
#include <JavaScriptCore/JSContextRef.h>
#include <stdbool.h>)
How can I get round this error. Also is it going to be able to find
other files?
We need a little more info Spiky. What was the build instruction that
failed? It sounds like a missing -I parameter. As a workaround you
could try LIBRARY_PATH=/webkitgtk-2.20.1/Source/JavaScriptCore/
I did check and I do have that file, but I had no problem building
with the book's current instructions.
-- Bruce
This is where it fails on make
[ 23%] Generating
../../DerivedSources/ForwardingHeaders/JavaScriptCore/Scripts/builtins_generator.py
[ 23%] Generating
../../DerivedSources/ForwardingHeaders/JavaScriptCore/Scripts/builtins_model.py
[ 23%] Generating
../../DerivedSources/ForwardingHeaders/JavaScriptCore/Scripts/builtins_templates.py
[ 23%] Built target stageSharedScripts
[ 23%] Generating ../../DerivedSources/JavaScriptCore/Bytecodes.h,
../../DerivedSources/JavaScriptCore/InitBytecodes.asm,
../../DerivedSources/JavaScriptCore/BytecodeStructs.h
[ 23%] Generating ../../DerivedSources/JavaScriptCore/LLIntDesiredOffsets.h
Scanning dependencies of target LLIntOffsetsExtractor
[ 23%] Building CXX object
Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/llint/LLIntOffsetsExtractor.cpp.o
In file included from
/home/spiky/build/webkitgtk-2.20.1/Source/JavaScriptCore/heap/HeapFinalizerCallback.h:28:0,
from
/home/spiky/build/webkitgtk-2.20.1/Source/JavaScriptCore/heap/Heap.h:33,
from
/home/spiky/build/webkitgtk-2.20.1/Source/JavaScriptCore/heap/DeferGC.h:29,
from
/home/spiky/build/webkitgtk-2.20.1/Source/JavaScriptCore/runtime/ConcurrentJSLock.h:28,
from
/home/spiky/build/webkitgtk-2.20.1/Source/JavaScriptCore/bytecode/ArrayProfile.h:28,
from
/home/spiky/build/webkitgtk-2.20.1/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:28:
/home/spiky/build/webkitgtk-2.20.1/Source/JavaScriptCore/API/JSHeapFinalizerPrivate.h:29:10:
fatal error: JavaScriptCore/JSContextRef.h: No such file or directory
#include <JavaScriptCore/JSContextRef.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: ***
[Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/build.make:100:
Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/llint/LLIntOffsetsExtractor.cpp.o]
Error 1
make[1]: *** [CMakeFiles/Makefile2:444:
Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
If I have made a mistake I dont know where. This was a copy paste of the
book commands
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See th