From: <tim...@en...> - 2006-06-28 20:29:20
|
Juergen Wieferink wrote: > On Tuesday 27 June 2006 21:34 Timoth=E9e Lecomte wrote: > =20 >> Nevermind, this patch does not solve anything. I uninstalled pkg-confi= g, >> and can reproduce exactly your problem (AC_MSG_WARN undefined and >> PKG_CHECK_MODULES with wrong syntax). >> >> However, I think I have found the right solution. As explained in >> http://programming.linux.com/programming/05/08/11/1923248.shtml?tid=3D= 22 >> ("Best Practices with autotools"), we should always distribute the >> macros we are using, because the user may have an old and buggy macro = or >> he may not have it at all. >> >> So the solution is to put 'pkg.m4' taken from the pkg-config package i= n >> <gnuplot source directory>/m4 >> >> I have commited the file to the CVS. >> Hardy and Juergen, can you try with the current CVS ? >> =20 > > Yepp. Works. Great work, thanks! > > FWIW: If I understand correctly, you say that this problem occurs if > there is no pkgconfig. But actually, I have pkgconfig installed. > =20 Then, the pkg.m4 file that pkgconfig is supposed to install cannot be=20 found by autoconf. It should be in /usr/share/aclocal/pkg.m4 or=20 something like that depending on your distribution. By the way, you can also look at the following line when executing=20 ./configure saying : checking for pkg-config... /usr/bin/pkg-config If it does not find the pkg-config program in your PATH, then your=20 pkg-config install has definitely a problem. > OTOH the distribution (SuSE 9.3) is rather outdated: > > wiefer@localhost:~> rpm -qa |grep -i pkgconfig > pkgconfig-0.15.0-201 > =20 I checked in the pkg-config changelog, and this version should have=20 everything we need. > wiefer@localhost:~> rpm -qa |grep -i wx > wxGTK-2.5.3.1-5 > wxGTK-gl-2.5.3.1-5 > wxGTK-compat-2.5.3.1-5 > wxGTK-devel-2.5.3.1-5 > =20 Well, these are outdated (and by the way 2.5.x are development versions)=20 but they may be enough for the wxWidgets terminal. > wiefer@localhost:~> rpm -qa |grep -i cairo > =20 That will be the main issue (once you solved your pkg-config problem) to=20 compile the wxWidgets terminal. If you really want to try it, you will=20 have to compile cairo from source (it has no dependency - at least none=20 of them is required for the wxWidgets terminal), and probably pango too,=20 unless you upgrade to suse 10. > Thanks, > Juergen > =20 Best regards, Timoth=E9e |