|
From: <tim...@en...> - 2006-06-25 21:46:46
|
Hardy Griech wrote:
> James R. Van Zandt wrote:
> :
> =20
>> That will show you the first versions found in PATH. But the
>> configure/build scripts might not respect the PATH. I think it's
>> easiest to check for multiple versions directly. If there are none,
>> then there is nothing to worry about. =20
>> =20
> :
>
> For my installation all different paths does show the same version.
>
> BTW configure is being generated, but (for me) it fails with
>
> checking dependency style of g++... gcc3
> checking how to run the C++ preprocessor... g++ -E
> ./configure: line 13470: syntax error near unexpected token `CAIRO,'
> ./configure: line 13470: ` PKG_CHECK_MODULES(CAIRO, cairo >=3D 0.9.0=
,'
>
> Any ideas?
>
> Hardy
> =20
Dear Hardy,
This appears because of a problem with pkg-config, or the absence of it.=20
Here is a relevant quote I found with google :
___________
/ When configuring EVAS, why do I see this:/
checking whether directfb backend is to be built... ./configure: line 92=
43:=20
syntax error near unexpected token `PKG_CHECK_MODULES(DIRECTFB,'
./configure: line 9243: ` PKG_CHECK_MODULES(DIRECTFB, directfb =
>=3D 0.9.16)'
You don't have pkg-config installed, or setup properly. To correct=20
this, download, build, and install pkg-config=20
<http://www.freedesktop.org/software/pkgconfig/>. If this error still=20
shows up after you install pkg-config, it is because aclocal isn't=20
finding the pkg.m4 and using it. Make sure that pkg.m4 is in your=20
aclocal share (usually: /usr/local/share/aclocal). If it isn't there,=20
find out whats wrong and get it there. If it is there, re-run=20
./autogen.sh and the new m4 will be used and the problem won't reappear.
___________
But this raises an interesting point : pkg-config is only needed if you=20
want the wxWidgets terminal. So I guess I should add a non-fatal test=20
for pkg-config, and call the PKG_CHECK_MODULES macro only if possible,=20
otherwise disable the wxWidgets termina.
Timoth=E9e
|