|
From: <tim...@en...> - 2006-07-30 20:13:53
|
Daniel J Sebald wrote: > James R. Van Zandt wrote: > =20 >> >> I for one appreciate these warnings. If I am interested in the >> missing functionality, they tell me what other software I should look >> for.=20 >> =20 > > Yes, but the key word there being "if". I mean, why can't this: > > checking for CAIRO... Package cairo was not found in the pkg-config sea= rch path.Perhaps you should add the directory containing `cairo.pc' > to the PKG_CONFIG_PATH environment variable > No package 'cairo' found > =20 The above messages are the defaults provided by pkg-config. If we change=20 them, we lose the ability to exactly know why it doesn't find the=20 package. See your own example below about the versions required. > configure: WARNING: Cairo can't be found. The wxWidgets terminal will n= ot be compiled. > =20 I wrote this one, and I am willing to improve the message if you think=20 we can do better. For example, I can replace "WARNING" by "NOTE". > The only real bit of info in the above message is "Perhaps you should a= dd the directory containing `cairo.pc' > to the PKG_CONFIG_PATH environment variable" and even that is wordy. A= nd, once that is stated it becomes redundant information when it is displ= ayed several more times later. > =20 It is not redundant as different packages are concerned. > And this one: > > checking for PANGO... Requested 'pango >=3D 1.10' but version of Pango = is 1.6.0 > > could be: > > checking for PANGO... found 1.6.0, require >=3D 1.10 > =20 To me, that's just the same. > configure: WARNING: Pango can't be found. The wxWidgets terminal will n= ot be compiled. > > which in fact seems like a conflicting report to me. Pango WAS found, = it just isn't a recent enough version. > =20 I can reword that into "No valid Pango package was found. The wxWidgets=20 terminal will not be compiled." if you prefer. Best regards, TImoth=E9e |