Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: kagashe on June 09, 2009, 06:29:26 AM

Title: Trying to compile webkit-gtk -- configure error icu-config
Post by: kagashe on June 09, 2009, 06:29:26 AM
Hi,

I have made following .tce and loaded them to meet the dependencies of webkit:
enchant and its dependencies aspell hunspell
icu
libsoup

I have loaded all extensions to compile and ./configure script of webkit is able to find them, however, it says:
Code: [Select]
configure error: Cannot find icu-config. The ICU library is needed.
icu-config is available in /usr/local/bin

I tried 'sudo ln -s /usr/local/bin/icu-config /usr/local/lib/icu-config' but it does not work.

kagashe
Title: Re: Trying to compile webkit-gtk -- configure error icu-config
Post by: curaga on June 09, 2009, 06:48:08 AM
Is it executable? Busybox install sometimes copies files with wrong permissions
Title: Re: Trying to compile webkit-gtk -- configure error icu-config
Post by: Juanito on June 09, 2009, 06:53:57 AM
You might try a symlink /usr/local/bin/icu-config -> /usr/bin/icu-config
Title: Re: Trying to compile webkit-gtk -- configure error icu-config
Post by: kagashe on June 09, 2009, 07:28:38 AM
Is it executable? Busybox install sometimes copies files with wrong permissions
Did 'chmod +x' and it works.

Now it is not finding libxslt, although, it is loaded.

kagashe
Title: Re: Trying to compile webkit-gtk -- configure error icu-config
Post by: Juanito on June 09, 2009, 07:33:09 AM
The dev files are in the libxslt extension - did you set PKG_CONFIG_PATH?
Title: Re: Trying to compile webkit-gtk -- configure error icu-config
Post by: kagashe on June 09, 2009, 07:57:24 AM
The dev files are in the libxslt extension - did you set PKG_CONFIG_PATH?
libxslt extension is loaded. PKG_CONFIG_PATH is set and the configure script is able to find libxml, libsoup etc which are also there in /usr/local/lib

kagashe
Title: Re: Trying to compile webkit-gtk -- configure error icu-config
Post by: kagashe on June 09, 2009, 08:54:48 AM
The dev files are in the libxslt extension - did you set PKG_CONFIG_PATH?
Please note that the ./configure script says:
Package requirement (libxslt >= 1.1.7) were not met.

Although our libxslt package is > 1.1.7, it is not getting refelected in the files in /usr/local/lib

e.g. there is one file libsoup-2.4.so.1.2.0 which says that package is 2.4

Just my 2 cents please don't mind.

kagashe
Title: Re: Trying to compile webkit-gtk -- configure error icu-config
Post by: Juanito on June 09, 2009, 09:11:52 AM
Does config.log give any clues to the problem?

Does "./configure --help" show a "--disable-libxslt" or "--without-libxslt" option?
Title: Re: Trying to compile webkit-gtk -- configure error icu-config
Post by: kagashe on June 09, 2009, 10:21:19 AM
The libxslt.tce which I downloaded contains only the shared libs in /usr/local/lib

It does not have libxslt folder in /usr/local/include and .pc file in /usr/local/lib/pkgconfig

Should I delete the libxslt.tce and download once again.

Please note that I am using TC 2.0 repos.

kagashe
Title: Re: Trying to compile webkit-gtk -- configure error icu-config
Post by: curaga on June 09, 2009, 10:25:35 AM
libxslt has not changed in a while, but the headers should be there:
ftp://ftp.nluug.nl/pub/metalab/distributions/tinycorelinux/2.x/tce/libxslt.tcel.list

A redownload might help.
Title: Re: Trying to compile webkit-gtk -- configure error icu-config
Post by: kagashe on June 09, 2009, 10:49:24 AM
libxslt has not changed in a while, but the headers should be there:
ftp://ftp.nluug.nl/pub/metalab/distributions/tinycorelinux/2.x/tce/libxslt.tcel.list

A redownload might help.
I think I had a broken package. Redownload solved the problem.

Now webkit-gtk is demanding gstreamer which I don't intend to compile.

Actually my aim is to compile uzbl browser which requires only libwebkit and not whole of webkit-gtk.

The package webkit was there on TC 1.4 repos but not available on TC 2.0. Are you going to update webkit-gtk and its dependencies on TC 2.0?

kagashe
Title: Re: Trying to compile webkit-gtk -- configure error icu-config
Post by: curaga on June 09, 2009, 11:25:33 AM
webkit.tcz is available in the 2.0 repo too, just not in the tce repo. It appears to be the same, as the dep file lists soup, gstreamer etc.