No subject


Sun Dec 8 17:39:16 PST 2013


Did you run the Tools/gtk/install-dependencies script? It will install all
the additional packages required to build the GTK port of WebKit.

Also, you'll probably require a compiler of more recent version. For 12.04,
I'd recommend getting GCC 4.8 from this PPA:
https://launchpad.net/~ubuntu-toolchain-r/+archive/test

Cheers,
Zan


On Sun, Mar 2, 2014 at 7:47 AM, Patrick Chkoreff <patrick at rayservers.net>wrote:

> Hello everyone.  I've spent many hours over the last couple of days
> trying to compile WebKit from source on my Ubuntu machine, which looks
> like this:
>
> $ uname -a
> Linux laptop 3.2.0-59-generic #90-Ubuntu SMP Tue Jan 7 22:43:51 UTC 2014
> x86_64 x86_64 x86_64 GNU/Linux
>
>
> I acquired the WebKit source code this way:
>
> $ cd ~/install
> $ svn checkout http://svn.webkit.org/repository/webkit/trunk WebKit
>
>
> Here's how I tried to do the build:
>
> ###[
> $ cd WebKit
> $ Tools/Scripts/build-webkit --gtk
>
> Calling autogen.sh in /home/patrick/install/WebKit/WebKitBuild/Release
>
> autoreconf: Entering directory `.'
> autoreconf: configure.ac: not using Gettext
> autoreconf: running: aclocal -I Source/autotools
> autoreconf: configure.ac: tracing
> autoreconf: configure.ac: not using Libtool
> autoreconf: running: /usr/local/bin/autoconf --include=Source/autotools
> configure:5340: error: possibly undefined macro: AC_DISABLE_STATIC
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.
> configure:5341: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
> configure:5342: error: possibly undefined macro: AC_PROG_LIBTOOL
> configure:6469: error: possibly undefined macro: AC_CHECK_LIB
> configure:6470: error: possibly undefined macro: AC_MSG_ERROR
> configure:6593: error: possibly undefined macro: AC_MSG_WARN
> autoreconf: /usr/local/bin/autoconf failed with exit status: 1
> Calling autogen.sh failed!
> ###]
>
>
> Now, I have to tell you, I have tried a LOT of things over the last
> couple of days, using duckduckgo.com as my friend.  There's a lot of
> folklore out there.
>
> For example, I have heard that I should run "aclocal" before trying the
> build.  So here goes:
>
> ###[
> $ aclocal
> $ Tools/Scripts/build-webkit --gtk
> Calling autogen.sh in /home/patrick/install/WebKit/WebKitBuild/Release
>
> autoreconf: Entering directory `.'
> autoreconf: configure.ac: not using Gettext
> autoreconf: running: aclocal -I Source/autotools
> autoreconf: configure.ac: tracing
> autoreconf: configure.ac: not using Libtool
> autoreconf: running: /usr/local/bin/autoconf --include=Source/autotools
> autoreconf: running: /usr/local/bin/autoheader --include=Source/autotools
> autoreconf: running: automake --add-missing --copy --no-force
> Source/autotools/CheckSystemAndBasicDependencies.m4:81: installing
> 'Source/autotools/compile'
> Source/autotools/CheckSystemAndBasicDependencies.m4:1: installing
> 'Source/autotools/config.guess'
> Source/autotools/CheckSystemAndBasicDependencies.m4:1: installing
> 'Source/autotools/config.sub'
> Source/autotools/CheckSystemAndBasicDependencies.m4:83: installing
> 'Source/autotools/install-sh'
> configure.ac:35: installing 'Source/autotools/missing'
> Source/WebKit2/GNUmakefile.am:650: error: Libtool library used but
> 'LIBTOOL' is undefined
> Source/WebKit2/GNUmakefile.am:650:   The usual way to define 'LIBTOOL'
> is to add 'LT_INIT'
> Source/WebKit2/GNUmakefile.am:650:   to 'configure.ac' and run 'aclocal'
> and 'autoconf' again.
> Source/WebKit2/GNUmakefile.am:650:   If 'LT_INIT' is in 'configure.ac',
> make sure
> Source/WebKit2/GNUmakefile.am:650:   its definition is in aclocal's
> search path.
> GNUmakefile.am:220:   'Source/WebKit2/GNUmakefile.am' included from here
> GNUmakefile.am: installing 'Source/autotools/depcomp'
> autoreconf: automake failed with exit status: 1
> Calling autogen.sh failed!
> ###]
>
>
>
> Now that's some visible progress.  So I'm thinking yes, by all means run
> aclocal first.  (Forgive me for sounding like a cargo cult guy here, but
> I really don't understand this stuff yet.)
>
> So what's the next error here?  The error message suggests that I should
> add LT_INIT to configure.ac.  OK, here goes.
>
> ###[
> $ vi configure.ac
> ... insert LT_INIT as the second line, just below the "AC_PREREQ(2.60)" ...
> $ Tools/Scripts/build-webkit --gtk
> Calling autogen.sh in /home/patrick/install/WebKit/WebKitBuild/Release
>
> autoreconf: Entering directory `.'
> autoreconf: configure.ac: not using Gettext
> autoreconf: running: aclocal -I Source/autotools
> autoreconf: configure.ac: tracing
> autoreconf: configure.ac: not using Libtool
> autoreconf: running: /usr/local/bin/autoconf --include=Source/autotools
> configure:5340: error: possibly undefined macro: AC_DISABLE_STATIC
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.
> configure:5341: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
> configure:5342: error: possibly undefined macro: AC_PROG_LIBTOOL
> configure:6469: error: possibly undefined macro: AC_CHECK_LIB
> configure:6470: error: possibly undefined macro: AC_MSG_ERROR
> configure:6593: error: possibly undefined macro: AC_MSG_WARN
> autoreconf: /usr/local/bin/autoconf failed with exit status: 1
> Calling autogen.sh failed!
> ###]
>
>
> Great, something did change, however, we're right back to the original
> error message.
>
>
> OK, I've included enough here in this email to suggest the sort of bind
> I'm in.  Believe me, I've done a *lot* more experimentation with this
> than I'm suggesting here.  I've instrumented the Perl in webkitdirs.pm,
> installed autoconf 2.69 from source, researched the m4_pattern_allow
> thing in vain, etc.
>
> This morning I realized that I was failing very badly, and I really
> needed to join the webkit list and talk with some people who know what
> they're doing!
>
>
> Thanks in advance,
> Patrick
> _______________________________________________
> webkit-help mailing list
> webkit-help at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-help
>

--001a113352fe69582d04f3a2f72e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">From the kernel version I assume you&#39;re using Ubuntu 1=
2.04.<div><br></div><div>Did you run the Tools/gtk/install-dependencies scr=
ipt? It will install all the additional packages required to build the GTK =
port of WebKit.</div>
<div><br></div><div>Also, you&#39;ll probably require a compiler of more re=
cent version. For 12.04, I&#39;d recommend getting GCC 4.8 from this PPA:</=
div><div><a href=3D"https://launchpad.net/~ubuntu-toolchain-r/+archive/test=
">https://launchpad.net/~ubuntu-toolchain-r/+archive/test</a></div>
<div><br></div><div>Cheers,</div><div>Zan</div></div><div class=3D"gmail_ex=
tra"><br><br><div class=3D"gmail_quote">On Sun, Mar 2, 2014 at 7:47 AM, Pat=
rick Chkoreff <span dir=3D"ltr">&lt;<a href=3D"mailto:patrick at rayservers.ne=
t" target=3D"_blank">patrick at rayservers.net</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Hello everyone. =A0I&#39;ve spent many hours=
 over the last couple of days<br>
trying to compile WebKit from source on my Ubuntu machine, which looks<br>
like this:<br>
<br>
$ uname -a<br>
Linux laptop 3.2.0-59-generic #90-Ubuntu SMP Tue Jan 7 22:43:51 UTC 2014<br=
>
x86_64 x86_64 x86_64 GNU/Linux<br>
<br>
<br>
I acquired the WebKit source code this way:<br>
<br>
$ cd ~/install<br>
$ svn checkout <a href=3D"http://svn.webkit.org/repository/webkit/trunk" ta=
rget=3D"_blank">http://svn.webkit.org/repository/webkit/trunk</a> WebKit<br=
>
<br>
<br>
Here&#39;s how I tried to do the build:<br>
<br>
###[<br>
$ cd WebKit<br>
$ Tools/Scripts/build-webkit --gtk<br>
<br>
Calling autogen.sh in /home/patrick/install/WebKit/WebKitBuild/Release<br>
<br>
autoreconf: Entering directory `.&#39;<br>
autoreconf: <a href=3D"http://configure.ac" target=3D"_blank">configure.ac<=
/a>: not using Gettext<br>
autoreconf: running: aclocal -I Source/autotools<br>
autoreconf: <a href=3D"http://configure.ac" target=3D"_blank">configure.ac<=
/a>: tracing<br>
autoreconf: <a href=3D"http://configure.ac" target=3D"_blank">configure.ac<=
/a>: not using Libtool<br>
autoreconf: running: /usr/local/bin/autoconf --include=3DSource/autotools<b=
r>
configure:5340: error: possibly undefined macro: AC_DISABLE_STATIC<br>
=A0 =A0 =A0 If this token and others are legitimate, please use m4_pattern_=
allow.<br>
=A0 =A0 =A0 See the Autoconf documentation.<br>
configure:5341: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL<br>
configure:5342: error: possibly undefined macro: AC_PROG_LIBTOOL<br>
configure:6469: error: possibly undefined macro: AC_CHECK_LIB<br>
configure:6470: error: possibly undefined macro: AC_MSG_ERROR<br>
configure:6593: error: possibly undefined macro: AC_MSG_WARN<br>
autoreconf: /usr/local/bin/autoconf failed with exit status: 1<br>
Calling autogen.sh failed!<br>
###]<br>
<br>
<br>
Now, I have to tell you, I have tried a LOT of things over the last<br>
couple of days, using <a href=3D"http://duckduckgo.com" target=3D"_blank">d=
uckduckgo.com</a> as my friend. =A0There&#39;s a lot of<br>
folklore out there.<br>
<br>
For example, I have heard that I should run &quot;aclocal&quot; before tryi=
ng the<br>
build. =A0So here goes:<br>
<br>
###[<br>
$ aclocal<br>
$ Tools/Scripts/build-webkit --gtk<br>
Calling autogen.sh in /home/patrick/install/WebKit/WebKitBuild/Release<br>
<br>
autoreconf: Entering directory `.&#39;<br>
autoreconf: <a href=3D"http://configure.ac" target=3D"_blank">configure.ac<=
/a>: not using Gettext<br>
autoreconf: running: aclocal -I Source/autotools<br>
autoreconf: <a href=3D"http://configure.ac" target=3D"_blank">configure.ac<=
/a>: tracing<br>
autoreconf: <a href=3D"http://configure.ac" target=3D"_blank">configure.ac<=
/a>: not using Libtool<br>
autoreconf: running: /usr/local/bin/autoconf --include=3DSource/autotools<b=
r>
autoreconf: running: /usr/local/bin/autoheader --include=3DSource/autotools=
<br>
autoreconf: running: automake --add-missing --copy --no-force<br>
Source/autotools/CheckSystemAndBasicDependencies.m4:81: installing<br>
&#39;Source/autotools/compile&#39;<br>
Source/autotools/CheckSystemAndBasicDependencies.m4:1: installing<br>
&#39;Source/autotools/config.guess&#39;<br>
Source/autotools/CheckSystemAndBasicDependencies.m4:1: installing<br>
&#39;Source/autotools/config.sub&#39;<br>
Source/autotools/CheckSystemAndBasicDependencies.m4:83: installing<br>
&#39;Source/autotools/install-sh&#39;<br>
<a href=3D"http://configure.ac:35" target=3D"_blank">configure.ac:35</a>: i=
nstalling &#39;Source/autotools/missing&#39;<br>
Source/WebKit2/GNUmakefile.am:650: error: Libtool library used but<br>
&#39;LIBTOOL&#39; is undefined<br>
Source/WebKit2/GNUmakefile.am:650: =A0 The usual way to define &#39;LIBTOOL=
&#39;<br>
is to add &#39;LT_INIT&#39;<br>
Source/WebKit2/GNUmakefile.am:650: =A0 to &#39;<a href=3D"http://configure.=
ac" target=3D"_blank">configure.ac</a>&#39; and run &#39;aclocal&#39;<br>
and &#39;autoconf&#39; again.<br>
Source/WebKit2/GNUmakefile.am:650: =A0 If &#39;LT_INIT&#39; is in &#39;<a h=
ref=3D"http://configure.ac" target=3D"_blank">configure.ac</a>&#39;,<br>
make sure<br>
Source/WebKit2/GNUmakefile.am:650: =A0 its definition is in aclocal&#39;s<b=
r>
search path.<br>
GNUmakefile.am:220: =A0 &#39;Source/WebKit2/GNUmakefile.am&#39; included fr=
om here<br>
GNUmakefile.am: installing &#39;Source/autotools/depcomp&#39;<br>
autoreconf: automake failed with exit status: 1<br>
Calling autogen.sh failed!<br>
###]<br>
<br>
<br>
<br>
Now that&#39;s some visible progress. =A0So I&#39;m thinking yes, by all me=
ans run<br>
aclocal first. =A0(Forgive me for sounding like a cargo cult guy here, but<=
br>
I really don&#39;t understand this stuff yet.)<br>
<br>
So what&#39;s the next error here? =A0The error message suggests that I sho=
uld<br>
add LT_INIT to <a href=3D"http://configure.ac" target=3D"_blank">configure.=
ac</a>. =A0OK, here goes.<br>
<br>
###[<br>
$ vi <a href=3D"http://configure.ac" target=3D"_blank">configure.ac</a><br>
... insert LT_INIT as the second line, just below the &quot;AC_PREREQ(2.60)=
&quot; ...<br>
$ Tools/Scripts/build-webkit --gtk<br>
Calling autogen.sh in /home/patrick/install/WebKit/WebKitBuild/Release<br>
<br>
autoreconf: Entering directory `.&#39;<br>
autoreconf: <a href=3D"http://configure.ac" target=3D"_blank">configure.ac<=
/a>: not using Gettext<br>
autoreconf: running: aclocal -I Source/autotools<br>
autoreconf: <a href=3D"http://configure.ac" target=3D"_blank">configure.ac<=
/a>: tracing<br>
autoreconf: <a href=3D"http://configure.ac" target=3D"_blank">configure.ac<=
/a>: not using Libtool<br>
autoreconf: running: /usr/local/bin/autoconf --include=3DSource/autotools<b=
r>
configure:5340: error: possibly undefined macro: AC_DISABLE_STATIC<br>
=A0 =A0 =A0 If this token and others are legitimate, please use m4_pattern_=
allow.<br>
=A0 =A0 =A0 See the Autoconf documentation.<br>
configure:5341: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL<br>
configure:5342: error: possibly undefined macro: AC_PROG_LIBTOOL<br>
configure:6469: error: possibly undefined macro: AC_CHECK_LIB<br>
configure:6470: error: possibly undefined macro: AC_MSG_ERROR<br>
configure:6593: error: possibly undefined macro: AC_MSG_WARN<br>
autoreconf: /usr/local/bin/autoconf failed with exit status: 1<br>
Calling autogen.sh failed!<br>
###]<br>
<br>
<br>
Great, something did change, however, we&#39;re right back to the original<=
br>
error message.<br>
<br>
<br>
OK, I&#39;ve included enough here in this email to suggest the sort of bind=
<br>
I&#39;m in. =A0Believe me, I&#39;ve done a *lot* more experimentation with =
this<br>
than I&#39;m suggesting here. =A0I&#39;ve instrumented the Perl in <a href=
=3D"http://webkitdirs.pm" target=3D"_blank">webkitdirs.pm</a>,<br>
installed autoconf 2.69 from source, researched the m4_pattern_allow<br>
thing in vain, etc.<br>
<br>
This morning I realized that I was failing very badly, and I really<br>
needed to join the webkit list and talk with some people who know what<br>
they&#39;re doing!<br>
<br>
<br>
Thanks in advance,<br>
Patrick<br>
_______________________________________________<br>
webkit-help mailing list<br>
<a href=3D"mailto:webkit-help at lists.webkit.org">webkit-help at lists.webkit.or=
g</a><br>
<a href=3D"https://lists.webkit.org/mailman/listinfo/webkit-help" target=3D=
"_blank">https://lists.webkit.org/mailman/listinfo/webkit-help</a><br>
</blockquote></div><br></div>

--001a113352fe69582d04f3a2f72e--


More information about the webkit-help mailing list