Building QtWebKit2.2.0 on OS X 7.3 (Beginner)
-
I have successfully built QT5 (I think) and am now trying to build QtWebKit-2.2.0, which fails shortly out of the gate.
It couldn't find xcode, so I ran this which fixed it:
sudo xcode-select -switch /Applications/Xcode.app/Contents/DeveloperHere is what I am doing:
$ cd ../QtWebKit-2.2.0/Tools/Scripts
$ ./build-webkit --qtIt runs several perl scripts which run fine.
It then fails here: ( the file it is looking for, mathtags.in, exists at that path )perl -I/Users/svenyonson/Developer/platform/QtWebKit-2.2.0/Source/WebCore/bindings/scripts /Users/svenyonson/Developer/platform/QtWebKit-2.2.0/Source/WebCore/dom/make_names.pl --tags /Users/svenyonson/Developer/platform/QtWebKit-2.2.0/Source/WebCore/mathml/mathtags.in --attrs /Users/svenyonson/Developer/platform/QtWebKit-2.2.0/Source/WebCore/mathml/mathattrs.in --extraDefines "ENABLE_XSLT=0 ENABLE_WEB_TIMING=0 ENABLE_JAVASCRIPT_DEBUGGER=1 ENABLE_DATABASE=1 ENABLE_EVENTSOURCE=1 ENABLE_OFFLINE_WEB_APPLICATIONS=1 ENABLE_DOM_STORAGE=1 ENABLE_ICONDATABASE=1 ENABLE_CHANNEL_MESSAGING=1 ENABLE_DIRECTORY_UPLOAD=0 ENABLE_FILE_SYSTEM=0 ENABLE_QUOTA=0 ENABLE_SQLITE=1 ENABLE_DASHBOARD_SUPPORT=0 ENABLE_FILTERS=1 ENABLE_XPATH=1 ENABLE_WCSS=0 ENABLE_SHARED_WORKERS=1 ENABLE_WORKERS=1 ENABLE_XHTMLMP=0 ENABLE_DETAILS=1 ENABLE_METER_TAG=1 ENABLE_PROGRESS_TAG=1 ENABLE_BLOB=1 ENABLE_NOTIFICATIONS=1 ENABLE_INPUT_SPEECH=0 ENABLE_INSPECTOR=1 ENABLE_3D_RENDERING=1 ENABLE_WEB_AUDIO=0 ENABLE_WEBGL=0 ENABLE_MEDIA_STATISTICS=0 ENABLE_VIDEO_TRACK=0 ENABLE_TOUCH_ICON_LOADING=0 ENABLE_ANIMATION_API=0 ENABLE_SVG=1 ENABLE_SVG_FONTS=1 ENABLE_SVG_FOREIGN_OBJECT=1 ENABLE_SVG_ANIMATION=1 ENABLE_SVG_AS_IMAGE=1 ENABLE_SVG_USE=1 ENABLE_DATALIST=1 ENABLE_TILED_BACKING_STORE=1 ENABLE_NETSCAPE_PLUGIN_API=1 ENABLE_WEB_SOCKETS=1 ENABLE_TOUCH_EVENTS=1 ENABLE_VIDEO=1 WTF_USE_QTKIT=1" --preprocessor " -E" --factory --wrapperFactory --outputDir generated
Can't exec "-E": No such file or directory at /Users/svenyonson/Developer/platform/QtWebKit-2.2.0/Source/WebCore/dom/make_names.pl line 228.
Failed to open file: /Users/svenyonson/Developer/platform/QtWebKit-2.2.0/Source/WebCore/mathml/mathtags.in at /Users/svenyonson/Developer/platform/QtWebKit-2.2.0/Source/WebCore/dom/make_names.pl line 228.
make: *** [generated/MathMLNames.cpp] Error 2
Failed to generate WebCore's derived sources!Any help greatly appreciated!!