[Qgis-developer] problem with suse10.1 and autotools

Tim Sutton tim at linfiniti.com
Fri Jul 28 07:29:39 EDT 2006


Hi

I think this error is related to some pkgconfig stuff that was added
to auto* for qgis. There was somediscussion about whether it was a
good idea or not and if I recall there was a way to disable use of
pkgconfig.

Here are a few configure options I would try:

export PKG_CONFIG=    #to invalidate the pkgconfig path

QT_TEST_CFLAGS
              C compiler flags for QT_TEST, overriding pkg-config
QT_TEST_LIBS
              linker flags for QT_TEST, overriding pkg-config

Also it might be worth googling the mailing list archives for
pkgconfig as I think ways to disable it were mentioned here before..

Sorry if above was no help at all :-(

Regards

Tim


On 7/27/06, humarco <marco.hugentobler at karto.baug.ethz.ch> wrote:
> Hi Tim,
>
> Qt 4.1.4
>
> 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
>


-- 
Tim Sutton

Visit http://qgis.org for a great Open Source GIS
Skype: timlinux
MSN: tim_bdworld at msn.com
Yahoo: tim_bdworld at yahoo.com
Jabber: timlinux
Irc: timlinux on #qgis at freenode.net



More information about the Qgis-developer mailing list