I am trying to build webkit-1.8.3 and I am having some troubles.
I usually have trouble, but this one is baffling.
I have installed gettext, first in /usr/local and then in /. I have built webkit before and it worked alright, but I had troubles with libpng12 so I upgraded that to libpng15 and removed libpng12. This fixed my png issues, but requires me to build lots of things again (such as webkit). Another thing I want to do it remove everything in local, I made sure that everything I had installed in local was also properly installed in /. Then, I moved local to local.old so that it is out of everybody's search path. I compiled most packages with no problem, however, webkit is behaving odd.
The behavior is as follows.
I run
Code:
make clean distclean
to make sure I get a clean start. On top of that, I am building out of tree to eliminate any kind of stuff leftover from previous builds.
configure runs fine and detects everything fine, including gettext. I configure with the following line:
Code:
../configure --prefix= --disable-geolocation --with-gtk=2.0 --with-accelerated-compositing=cairo
I then run make and it runs for some time and then finally errors out with the following line:
Code:
CXXLD libjavascriptcoregtk-1.0.la
libtool: link: cannot find the library `/usr/local/lib/libintl.la' or unhandled argument `/usr/local/lib/libintl.la'
This, I cannot understand. gettext is simply not installed in /usr/local, it is installed in /. How is it possible that webkit could be looking for it in /usr/local? is /usr/local somehow hardcoded into the webkit build process? I doubt that. Is something somehow left over? I moved local so that nobody can find it. How does webkit find where gettext should be?
Edit:
Insanely, the gettext package itself does the exact same thing:
Code:
grep: /usr/local/lib/libintl.la: No such file or directory
sed: /usr/local/lib/libintl.la: No such file or directory
libtool: link: `/usr/local/lib/libintl.la' is not a valid libtool archive
make[4]: *** [libgettextlib.la] Error 1
make[4]: Leaving directory `/root/Sandbox/gettext-0.18.2.1/gettext-tools/gnulib-lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/root/Sandbox/gettext-0.18.2.1/gettext-tools/gnulib-lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/Sandbox/gettext-0.18.2.1/gettext-tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/Sandbox/gettext-0.18.2.1/gettext-tools'