Bug 37865 - error: RenderMathMLMath.h: No such file or directory
Summary: error: RenderMathMLMath.h: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-20 09:25 PDT by gil
Modified: 2010-09-13 07:45 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gil 2010-04-20 09:25:12 PDT
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
Comment 1 François Sausset 2010-04-21 09:00:33 PDT
Did you try with the last trunk version?
The missing files exist in the last trunk version.
Comment 2 gil 2010-04-22 22:11:42 PDT
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
Comment 3 François Sausset 2010-04-28 01:40:37 PDT
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.
Comment 4 François Sausset 2010-09-09 11:37:48 PDT
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.
Comment 5 gil 2010-09-13 05:35:53 PDT
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)
Comment 6 François Sausset 2010-09-13 06:06:22 PDT
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.
Comment 7 François Sausset 2010-09-13 06:10:55 PDT
You should also switch the "Component" flag to "WebKit GTK".
Comment 8 gil 2010-09-13 07:22:33 PDT
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
Comment 9 François Sausset 2010-09-13 07:34:33 PDT
(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.
Comment 10 gil 2010-09-13 07:45:19 PDT
Closed