Re: [webkit-dev] webkit test suite help

2008-01-22 Thread syed mehdi
I got the qt3-dev-tools installed on my ubuntu machine and tried to build
webkit, but got following errors:
any clue

[EMAIL PROTECTED]:~/WebKit/code# dpkg -l | grep qt3
ii  libavahi-qt3-1 0.6.10-0ubuntu3.4Avahi QT3
integration library
ii  libqt3-mt  3.3.6-1ubuntu6.4Qt GUI
Library (Threaded runtime version), V
ii  qt3-dev-tools  3.3.6-1ubuntu6.4Qt3
development tools
[EMAIL PROTECTED]:~/WebKit/code# WebKitTools/Scripts/build-webkit --gtk
Calling 'qmake CONFIG+=gtk-port CONFIG-=qt -r
OUTPUT_DIR=/root/WebKit/code/WebKitBuild/Release
/root/WebKit/code/WebKit.pro CONFIG+=release CONFIG-=debug' in
/root/WebKit/code/WebKitBuild/Release

***Unknown option -r
Usage: qmake [mode] [options] [files]

   QMake has two modes, one mode for generating project files based on
some heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing project

Mode:
-project   Put qmake into project file generation mode
   In this mode qmake interprets files as files to
   be built,
   defaults to *.c; *.ui; *.y; *.l; *.ts; *.h; *.hpp;
*.hh; *.H; *.hxx; *.cpp; *.cc; *.cxx; *.C
-makefile  Put qmake into makefile generation mode (default)
   In this mode qmake interprets files as project files
to
   be processed, if skipped qmake will try to find a
project   file in your current working directory

Warnings Options:
-Wnone Turn off all warnings
-Wall  Turn on all warnings
-Wparser   Turn on parser warnings
-WlogicTurn on logic warnings

Options:
 * You can place any variable assignment in options and it will
be * * processed as if it was in [files]. These assignments will
be parsed * * before
[files]. *-o
fileWrite output to file
-unix  Run in unix mode
-win32 Run in win32 mode
-macx  Run in Mac OS X mode
-d Increase debug level
-t templ   Overrides TEMPLATE as templ
-tp prefix Overrides TEMPLATE so that prefix is prefixed into
the value
-help  This help
-v Version information
-after All variable assignments after this will be
   parsed after [files]
-cache fileUse file as cache   [makefile mode only]
-spec spec Use spec as QMAKESPEC   [makefile mode only]
-nocache   Don't use a cache file  [makefile mode only]
-nodepend  Don't generate dependencies [makefile mode only]
-nomoc Don't generate moc targets  [makefile mode only]
-nopwd Don't look for files in pwd [ project mode only]
-norecursive   Don't do a recursive search [ project mode only]
Failed to setup build environment using qmake!


Thanks  Regards
Syed

On Jan 17, 2008 11:07 AM, Mark Rowe [EMAIL PROTECTED] wrote:


 On 17/01/2008, at 16:36, syed mehdi wrote:

  I already tried executing ./WebKitTools/Scripts/run-webkit-tests --
  gtk but it gives usage info like:


 That's because you're not using the revision you claimed to be using!

 - Mark



___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] webkit test suite help

2008-01-16 Thread syed mehdi
We just integrated our code and now the revision is 29215 (earlier it was
27114). But i am still getting the same errors:
can't exec flex: no such file or directory at
/root/webkit/html/webkittools/scripts/webkitdirs.pm line 557.
can't exec bison: no such file or directory at
/root/webkit/html/webkittools/scripts/webkitdirs.pm line 557.
can't exec gperf: no such file or directory at
/root/webkit/html/webkittools/scripts/webkitdirs.pm line 557.
ERROR: flex, bison, gpref missing but required to build webkit.
compiling dumprender tree failed!

What is the problem now, is this revision also of before your dec end
changes or something else.

Thanks  Regards
Syed

On Jan 14, 2008 11:52 AM, Oliver Hunt [EMAIL PROTECTED] wrote:

 On Jan 13, 2008, at 9:49 PM, syed mehdi wrote:

  Thanks mark i got your point, sorry for seocnd mail but i was
  looking if someone else also have the same opinion or something
  different to say on this.
 Your local copy is out of date, there isn't any opinion involved --
 the revision you gave does not include the code required for DRT on
 WebKit/GTK.  That's all there is to it.

 WebKit development moves very fast, you have to actively maintain your
 repository or development on your branch will just become increasingly
 painful.

 --Oliver


___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] webkit test suite help

2008-01-16 Thread syed mehdi
I installed these three (flex, bison and gperf) so initial errors got
removed but still the error:

Building not defined for this platform!
compiling dumprender tree failed!

was coming.
Regards
Syed

On Jan 16, 2008 9:21 PM, Adam Roben [EMAIL PROTECTED] wrote:

 On Jan 16, 2008, at 5:19 AM, syed mehdi wrote:

 We just integrated our code and now the revision is 29215 (earlier it was
 27114). But i am still getting the same errors:
 can't exec flex: no such file or directory at
 /root/webkit/html/webkittools/scripts/webkitdirs.pm line 557.
 can't exec bison: no such file or directory at
 /root/webkit/html/webkittools/scripts/webkitdirs.pm line 557.
 can't exec gperf: no such file or directory at
 /root/webkit/html/webkittools/scripts/webkitdirs.pm line 557.
 ERROR: flex, bison, gpref missing but required to build webkit.
 compiling dumprender tree failed!

 What is the problem now, is this revision also of before your dec end
 changes or something else.


 Do you have flex, bison, and gperf installed?

 -Adam



 On Jan 14, 2008 11:52 AM, Oliver Hunt  [EMAIL PROTECTED] wrote:

  On Jan 13, 2008, at 9:49 PM, syed mehdi wrote:
 
   Thanks mark i got your point, sorry for seocnd mail but i was
   looking if someone else also have the same opinion or something
   different to say on this.
  Your local copy is out of date, there isn't any opinion involved --
  the revision you gave does not include the code required for DRT on
  WebKit/GTK.  That's all there is to it.
 
  WebKit development moves very fast, you have to actively maintain your
  repository or development on your branch will just become increasingly
  painful.
 
  --Oliver
 
 
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo/webkit-dev



___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] webkit test suite help

2008-01-13 Thread syed mehdi
Please anyone help me know, if we have any workaround for executing web kit
test suite on linux.

i made the default platform as gtk (in run-webkit-tests script) and on
execution it gives the error as:
can't exec flex: no such file or directory at
/root/webkit/html/webkittools/scripts/webkitdirs.pm line 557.
can't exec bison: no such file or directory at
/root/webkit/html/webkittools/scripts/webkitdirs.pm line 557.
can't exec gperf: no such file or directory at
/root/webkit/html/webkittools/scripts/webkitdirs.pm line 557.
ERROR: flex, bison, gpref missing but required to build webkit.
compiling dumprender tree failed!

though the same file webkitdirs.pm exists in the same directory.
the webkit revision is 27114, though upgrading the version will help but i
am looking for a quick workaround for the same version.

Thanks in advance

Regards
Syed


On 1/12/08, Mark Rowe [EMAIL PROTECTED] wrote:


 On 12/01/2008, at 21:52, syed mehdi wrote:

  I admit that latest revision will have lots of fixes and will be
  better, but our dev team have made a lot of changes in that/old
  revision and they
  might not get to new version quickly (may take a month or so for
  integration with latest). i need some solution in the meantime as
  possibly
  you people having lots of insight in it can tell me the solution
  quickly after looking at the problem/error messages.

 DumpRenderTree for Gtk did not even exist in the revision you are
 using (it was added at the start of December).  You'll need to
 backport it to your version if you want to run the layout tests.

 - Mark



___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


[webkit-dev] webkit test suite help

2008-01-12 Thread syed mehdi
Hi Guys,
I was trying to execute the webkit test suite after i received a webkit
build which have some local changes in it. I am working on linux (ubuntu
6.0.6).
While executing the test suite using WebKitTools/Scripts/run-webkit-tests
i got an error that WARNING: Your platform is not recognized.. Than i
made a few changes in run-webkit-tests perl script and defined the value of
$platform to gtk, qt and gcc (one by one), but all got failed with message
as Compiling DumpRenderTree failed!.
Please tell me what to do to execute the test suite on linux.
Thanks  Regards
Syed
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev