WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 113645
[GTK] Configure should verify ICU is installed on mingw
https://bugs.webkit.org/show_bug.cgi?id=113645
Summary
[GTK] Configure should verify ICU is installed on mingw
Eric Gregory
Reported
2013-03-30 16:34:41 PDT
I was able to pass ./configure on my system without having ICU installed. This lead to a few minutes of head scratching when make failed. AFAIK you can use pkg-config with ICU, just like many of WebKitGTK's other dependencies.
Attachments
Patch
(1.28 KB, patch)
2013-03-31 19:18 PDT
,
Martin Robinson
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Zan Dobersek
Comment 1
2013-03-30 22:02:49 PDT
Currently ICU is checked for using the icu-config, though there's a TODO mentioning switching to using pkg-config for the task.
http://trac.webkit.org/browser/trunk/Source/autotools/FindDependencies.m4#L109
Can you give a bit more description of what the failure was? I guess it should be fixed one way or the other even if not using pkg-config.
Martin Robinson
Comment 2
2013-03-30 22:55:10 PDT
(In reply to
comment #1
)
> Currently ICU is checked for using the icu-config, though there's a TODO mentioning switching to using pkg-config for the task. >
http://trac.webkit.org/browser/trunk/Source/autotools/FindDependencies.m4#L109
> > Can you give a bit more description of what the failure was? I guess it should be fixed one way or the other even if not using pkg-config.
The debian package for ICU and indeed earlier versions of ICU itself did not install .pc files. The correct thing to do is to check pkg-config for ICU and then fall back to icu-config. I'm not sure what's up with the original bug report. I'm not sure why invoking icu-config doesn't fail when the development packages aren't installed.
Eric Gregory
Comment 3
2013-03-31 12:07:21 PDT
I'm building on mingw. The ./configure script didn't warn me at all about ICU.
Martin Robinson
Comment 4
2013-03-31 12:22:42 PDT
(In reply to
comment #3
)
> I'm building on mingw. The ./configure script didn't warn me at all about ICU.
It seems that for mingw and OS X the headers and link arguments are just hard-coded. It should instead call AC_CHECK_HEADERS.
Eric Gregory
Comment 5
2013-03-31 13:03:09 PDT
Thanks for looking into this! There's a few other hurdles building on mingw, but it looks like many of them are already ticketed.
Martin Robinson
Comment 6
2013-03-31 19:18:52 PDT
Created
attachment 195915
[details]
Patch
Martin Robinson
Comment 7
2013-03-31 19:19:09 PDT
Eric, do you mind verifying that the patch I posted for this issue works? Thanks!
WebKit Commit Bot
Comment 8
2013-04-08 14:06:16 PDT
Comment on
attachment 195915
[details]
Patch Clearing flags on attachment: 195915 Committed
r147951
: <
http://trac.webkit.org/changeset/147951
>
WebKit Commit Bot
Comment 9
2013-04-08 14:06:20 PDT
All reviewed patches have been landed. Closing bug.
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