WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
127309
Webkit GTK 2.2.3 build fails if configured with --prefix command
https://bugs.webkit.org/show_bug.cgi?id=127309
Summary
Webkit GTK 2.2.3 build fails if configured with --prefix command
Niranjan Rao
Reported
2014-01-20 14:27:30 PST
I want to install the build at $HOME/webkitbuild, so I ran configure as follows from the exploded tar ball directory. ./configure --prefix=$FP_BUILD_ROOT --enable-gtk-doc=no --enable-gtk-doc-html=no --enable-gtk-doc-pdf=no --enable-webkit1=no --enable-credential-storage=no --enable-debug-symbols=full Configure command runs successfully. When running make command it fails with error Make command says Source/autotools/FindDependencies.m4:95: warning: macro 'AM_PATH_GLIB_2_0' not found in library. When configure is executed without --prefix parameter, everything is successful, but it wants to install where I need root permissions. I have built other 2.2.3 dependencies with --prefix flags e.g. gtk+-3.6.4 and gstreamer-1.0.3. And it has worked correctly for those builds. It only fails for webkit-2.2.3 build. A quick inspection reveals that it fails when make command tries to execute another configure command. Current workaround is to run configure without --prefix parameter, build once and then run configure again with --prefix parameter and then run make install.
Attachments
Add attachment
proposed patch, testcase, etc.
Zan Dobersek
Comment 1
2014-01-20 23:26:25 PST
I'm assuming glib is not installed in the prefix you're using. Because of that, aclocal can't find the glib autoconf macros, so this error occurs. Can you try exporting ACLOCAL_FLAGS='-I /glib/prefix' and then running configure?
Niranjan Rao
Comment 2
2014-01-21 09:51:11 PST
(In reply to
comment #1
)
> I'm assuming glib is not installed in the prefix you're using. Because of that, aclocal can't find the glib autoconf macros, so this error occurs. > > Can you try exporting ACLOCAL_FLAGS='-I /glib/prefix' and then running configure?
I'll try that and post over here. However larger issue still remains. Configure help says ================================== --prefix=PREFIX install architecture-independent files in PREFIX By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. ================================== If we go by above logic, that means I need to have all my libs $HOME. Please suggest alternative way to install webkit build to different location, but still able to build from standard paths - which is what configure command without prefix flag does. I have built other webkit dependencies with --prefix command and only webkit compilation is affected by this flag. It looks like all others treat it as just output location.
Martin Robinson
Comment 3
2014-03-25 15:28:55 PDT
We no longer use autotools, but please create a new bug if you have issues with the CMake build.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug