WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Trying to compile webkit-gtk -- configure error icu-config  (Read 7225 times)

Offline kagashe

  • Full Member
  • ***
  • Posts: 129
    • My Tryst with Linux
Trying to compile webkit-gtk -- configure error icu-config
« 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

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11022
Re: Trying to compile webkit-gtk -- configure error icu-config
« Reply #1 on: June 09, 2009, 06:48:08 AM »
Is it executable? Busybox install sometimes copies files with wrong permissions
The only barriers that can stop you are the ones you create yourself.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14741
Re: Trying to compile webkit-gtk -- configure error icu-config
« Reply #2 on: June 09, 2009, 06:53:57 AM »
You might try a symlink /usr/local/bin/icu-config -> /usr/bin/icu-config

Offline kagashe

  • Full Member
  • ***
  • Posts: 129
    • My Tryst with Linux
Re: Trying to compile webkit-gtk -- configure error icu-config
« Reply #3 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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14741
Re: Trying to compile webkit-gtk -- configure error icu-config
« Reply #4 on: June 09, 2009, 07:33:09 AM »
The dev files are in the libxslt extension - did you set PKG_CONFIG_PATH?

Offline kagashe

  • Full Member
  • ***
  • Posts: 129
    • My Tryst with Linux
Re: Trying to compile webkit-gtk -- configure error icu-config
« Reply #5 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

Offline kagashe

  • Full Member
  • ***
  • Posts: 129
    • My Tryst with Linux
Re: Trying to compile webkit-gtk -- configure error icu-config
« Reply #6 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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14741
Re: Trying to compile webkit-gtk -- configure error icu-config
« Reply #7 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?

Offline kagashe

  • Full Member
  • ***
  • Posts: 129
    • My Tryst with Linux
Re: Trying to compile webkit-gtk -- configure error icu-config
« Reply #8 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

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11022
Re: Trying to compile webkit-gtk -- configure error icu-config
« Reply #9 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.
The only barriers that can stop you are the ones you create yourself.

Offline kagashe

  • Full Member
  • ***
  • Posts: 129
    • My Tryst with Linux
Re: Trying to compile webkit-gtk -- configure error icu-config
« Reply #10 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

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11022
Re: Trying to compile webkit-gtk -- configure error icu-config
« Reply #11 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.
The only barriers that can stop you are the ones you create yourself.