Bug 37865
Summary: | error: RenderMathMLMath.h: No such file or directory | ||
---|---|---|---|
Product: | WebKit | Reporter: | gil <puntogil> |
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | sausset |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | Linux |
gil
hello
I added options to configure --enable-mathml got this error due to lack of files in subdirectories WebCore/mathml
CXX WebCore/mathml/libwebkit_1_0_la-MathMLElement.lo
CXX WebCore/mathml/libwebkit_1_0_la-MathMLInlineContainerElement.lo
WebCore/mathml/MathMLInlineContainerElement.cpp:34:30: error: RenderMathMLMath.h: No such file or directory
WebCore/mathml/MathMLInlineContainerElement.cpp:35:29: error: RenderMathMLRow.h: No such file or directory
WebCore/mathml/MathMLInlineContainerElement.cpp: In member function 'virtual WebCore::RenderObject* WebCore::MathMLInlineContainerElement::createRenderer(WebCore::RenderArena*, WebCore::RenderStyle*)':
WebCore/mathml/MathMLInlineContainerElement.cpp:57: error: expected type-specifier before 'RenderMathMLRow'
WebCore/mathml/MathMLInlineContainerElement.cpp:57: error: cannot convert 'int*' to 'WebCore::RenderObject*' in assignment
WebCore/mathml/MathMLInlineContainerElement.cpp:57: error: expected `;' before 'RenderMathMLRow'
WebCore/mathml/MathMLInlineContainerElement.cpp:59: error: expected type-specifier before 'RenderMathMLMath'
WebCore/mathml/MathMLInlineContainerElement.cpp:59: error: cannot convert 'int*' to 'WebCore::RenderObject*' in assignment
WebCore/mathml/MathMLInlineContainerElement.cpp:59: error: expected `;' before 'RenderMathMLMath'
make[1]: *** [WebCore/mathml/libwebkit_1_0_la-MathMLInlineContainerElement.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/usr/src/RPM/BUILD/webkit-1.2.0'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.34527 (%build)
this file not exist in http://www.webkitgtk.org/webkit-1.2.0.tar.gz
thanks
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
François Sausset
Did you try with the last trunk version?
The missing files exist in the last trunk version.
gil
hello
I'm sorry I take it from here
http://www.webkitgtk.org/webkit-1.1.90.tar.gz ?
or http://svn.webkit.org/repository/webkit/trunk ?
for the second choice would have a bit of trouble with hard drive space ...
thanks
François Sausset
The files should be in the trunk (second one). For the first one, I don't exactly now what GTK people have done: which version of the trunk it is? Do they select only GTK related files?
The best is to try.
Thanks for testing the MathML implementation.
François Sausset
This bug should be closed as MathML is now enabled by default and webkit trunk is building fine on GTK bots.
So GTK development tree has not this problem anymore.
For the stable version of WebKitGTK (1.2.4), I cannot test, but it is only a matter of time.
gil
I tried to compile the latest version but I have this problem
thanks for everything
+ make
GEN stamp-webkitenumtypes.h
/usr/bin/bison -d -p jscyy ./JavaScriptCore/parser/Grammar.y -o DerivedSources/Grammar.cpp > bison_out.txt 2>&1
/usr/bin/perl -p -e 'END { if ($conflict) { unlink "Grammar.cpp"; die; } } $conflict ||= /conflict/' < bison_out.txt
cat ./DerivedSources/Grammar.hpp > ./DerivedSources/Grammar.h
rm -f ./DerivedSources/Grammar.hpp bison_out.txt
/usr/bin/perl JavaScriptCore/create_hash_table JavaScriptCore/parser/Keywords.table > DerivedSources/Lexer.lut.h
Creating hashtable for JavaScriptCore/parser/Keywords.table
/usr/bin/perl JavaScriptCore/create_hash_table JavaScriptCore/runtime/ArrayPrototype.cpp -i > JavaScriptCore/runtime/ArrayPrototype.lut.h
Creating hashtable for JavaScriptCore/runtime/ArrayPrototype.cpp
/usr/bin/perl JavaScriptCore/create_hash_table JavaScriptCore/runtime/DatePrototype.cpp -i > JavaScriptCore/runtime/DatePrototype.lut.h
Creating hashtable for JavaScriptCore/runtime/DatePrototype.cpp
/usr/bin/perl JavaScriptCore/create_hash_table JavaScriptCore/runtime/JSONObject.cpp -i > JavaScriptCore/runtime/JSONObject.lut.h
Creating hashtable for JavaScriptCore/runtime/JSONObject.cpp
/usr/bin/perl JavaScriptCore/create_hash_table JavaScriptCore/runtime/MathObject.cpp -i > JavaScriptCore/runtime/MathObject.lut.h
Creating hashtable for JavaScriptCore/runtime/MathObject.cpp
/usr/bin/perl JavaScriptCore/create_hash_table JavaScriptCore/runtime/NumberConstructor.cpp -i > JavaScriptCore/runtime/NumberConstructor.lut.h
Creating hashtable for JavaScriptCore/runtime/NumberConstructor.cpp
/usr/bin/perl JavaScriptCore/create_hash_table JavaScriptCore/runtime/RegExpConstructor.cpp -i > JavaScriptCore/runtime/RegExpConstructor.lut.h
Creating hashtable for JavaScriptCore/runtime/RegExpConstructor.cpp
/usr/bin/perl JavaScriptCore/create_hash_table JavaScriptCore/runtime/RegExpObject.cpp -i > JavaScriptCore/runtime/RegExpObject.lut.h
Creating hashtable for JavaScriptCore/runtime/RegExpObject.cpp
/usr/bin/perl JavaScriptCore/create_hash_table JavaScriptCore/runtime/StringPrototype.cpp -i > JavaScriptCore/runtime/StringPrototype.lut.h
Creating hashtable for JavaScriptCore/runtime/StringPrototype.cpp
/usr/bin/perl JavaScriptCore/pcre/dftables JavaScriptCore/pcre/chartables.c
rm -f ./DerivedSources/CSSGrammar.cpp.h ./DerivedSources/CSSGrammar.hpp
/usr/bin/bison -d -p cssyy WebCore/css/CSSGrammar.y -o ./DerivedSources/CSSGrammar.cpp
touch ./DerivedSources/CSSGrammar.cpp.h ./DerivedSources/CSSGrammar.hpp
echo '#ifndef CSSGrammar_h' > ./DerivedSources/CSSGrammar.h
echo '#define CSSGrammar_h' >> ./DerivedSources/CSSGrammar.h
cat ./DerivedSources/CSSGrammar.cpp.h ./DerivedSources/CSSGrammar.hpp >> ./DerivedSources/CSSGrammar.h
echo '#endif' >> ./DerivedSources/CSSGrammar.h
rm -f ./DerivedSources/CSSGrammar.cpp.h ./DerivedSources/CSSGrammar.hpp
if sort ./WebCore/css/CSSPropertyNames.in ./WebCore/css/SVGCSSPropertyNames.in | uniq -d | grep -E '^[^#]'; then echo 'Duplicate value!'; exit 1; fi
cat ./WebCore/css/CSSPropertyNames.in ./WebCore/css/SVGCSSPropertyNames.in > CSSPropertyNames.in
/usr/bin/perl "./WebCore/css/makeprop.pl"
mv CSSPropertyNames.* ./DerivedSources
/usr/bin/perl -ne 'print lc' ./WebCore/css/CSSValueKeywords.in ./WebCore/css/SVGCSSValueKeywords.in > CSSValueKeywords.in
if sort CSSValueKeywords.in | uniq -d | grep -E '^[^#]'; then echo 'Duplicate value!'; exit 1; fi
/usr/bin/perl "./WebCore/css/makevalues.pl"
mv CSSValueKeywords.* ./DerivedSources
GEN DerivedSources/HTMLElementFactory.cpp
GEN DerivedSources/HTMLEntityNames.c
GEN DerivedSources/HTMLNames.cpp
GEN DerivedSources/UserAgentStyleSheets.h
Name "Config::Config" used only once: possible typo at WebCore/css/make-css-file-arrays.pl line 33.
GEN DerivedSources/XMLNSNames.cpp
GEN DerivedSources/XMLNames.cpp
rm -f ./DerivedSources/XPathGrammar.cpp.h ./DerivedSources/XPathGrammar.hpp
/usr/bin/bison -d -p xpathyy WebCore/xml/XPathGrammar.y -o ./DerivedSources/XPathGrammar.cpp
touch ./DerivedSources/XPathGrammar.cpp.h ./DerivedSources/XPathGrammar.hpp
echo '#ifndef XPathGrammar_h' > ./DerivedSources/XPathGrammar.h
echo '#define XPathGrammar_h' >> ./DerivedSources/XPathGrammar.h
cat ./DerivedSources/XPathGrammar.cpp.h ./DerivedSources/XPathGrammar.hpp >> ./DerivedSources/XPathGrammar.h
echo '#endif' >> ./DerivedSources/XPathGrammar.h
rm -f ./DerivedSources/XPathGrammar.cpp.h ./DerivedSources/XPathGrammar.hpp
make: *** No rule to make target `WebCore/mathml/mathattrs.in', needed by `DerivedSources/MathMLElementFactory.cpp'. Stop.
error: Bad exit status from /var/tmp/rpm-tmp.33064 (%build)
François Sausset
You should perhaps edit the bug title as the problem changed and add "[GTK]" at the beginning to show that it is a GTK related bug.
You should also give the exact version with which you tried.
François Sausset
You should also switch the "Component" flag to "WebKit GTK".
gil
sorry
i just open a new bug # 45668
I was trying with this version 1.2.4. the problem occurs if I add - enable-MathML options to configure
thanks
François Sausset
(In reply to comment #8)
> sorry
> i just open a new bug # 45668
> I was trying with this version 1.2.4. the problem occurs if I add - enable-MathML options to configure
> thanks
You can thus close this bug by switching the "Status" flag to "closed resolved".
For the new bug, I suspect it has been corrected in the unstable version, but I cannot test.
gil
Closed