[Qgis-developer] problem with suse10.1 and autotools
humarco
marco.hugentobler at karto.baug.ethz.ch
Thu Jul 27 03:37:19 EDT 2006
OK, I discovered what causes the problem (but not why, as I don't know the GNU
autotools very good).
in acinclude.m4, there are two lines:
PKG_CHECK_MODULES(QT, QtCore QtGui Qt3Support QtNetwork QtXml QtSvg QtTest >=
$QT_MIN_VER)
...
PKG_CHECK_MODULES(QT_TEST, QtTest >= $QT_MIN_VER)
On the suse10.1 system, these lines are written into the configure script
while on my system, PKG_CHECK_MODULES is not present in the configure script.
Could it be that on suse10.1, autoconf has a problem with those lines and
therefore does not generate the needed shell script code but writes the lines
into configure as they are?
cheers,
Marco
Am Donnerstag, 27. Juli 2006 23:09 schrieb Tim Sutton:
> Hi
>
> What version of Qt4 do you have?
>
> Regards
>
> Tim
>
> On 26/07/2006, at 11:02, humarco wrote:
> > Hi qgis devs,
> >
> > I'm trying to compile QGIS at the computer of a workmate (suse
> > 10.1). When the
> > autogen.sh script is run, the following error message appears:
> >
> > ...
> > checking machine/endian.h usability... no
> > checking machine/endian.h presence... no
> > checking for machine/endian.h... no
> > checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
> > ./configure: line 19554: syntax error near unexpected token `QT,'
> > ./configure: line 19554: ` PKG_CHECK_MODULES(QT, QtCore QtGui
> > Qt3Support QtNetwork QtXml QtSvg QtTest >= $QT_MIN_VER)'
> >
> > autogen was run with the following options:
> >
> > ./autogen.sh --with-qtdir=/home/idaniel/qt4
> > --with-gdal=/home/idaniel/gdal/gdal-1.3.2/bin/gdal-config
> > --with-projdir=/home/idaniel/proj-4.4.9
> > --with-geos=/home/idaniel/geos-2.2.3 --prefix=/home/idaniel/qgis
> >
> > and the versions of the autotools are the following:
> > automake 1.9.6
> > autoconf 2.59
> > libtool 1.5.2.2
> >
> > Any autotool guru can help me with this?
> >
> > thanks,
> > Marco
> > _______________________________________________
> > Qgis-developer mailing list
> > Qgis-developer at lists.qgis.org
> > http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer
>
> Tim Sutton
> tim at linfiniti.com
More information about the Qgis-developer
mailing list