Re: [Qgis-user] trouble compiling latest SVN QGIS version

2007-04-23 Thread Martin Dobias

On 4/13/07, Stéphane Dubreton <[EMAIL PROTECTED]> wrote:


I have  the same problem than Pierluigi has (cf [Qgis-user] trouble compiling 
latest  SVN QGIS version)
when I try to compile  Qgis.

error: libpq-fe.h: No such file  or directory

When I run /usr/local/pgsql/bin/pg_config --includedir It returns 
usr/local/pgsql/include (the  right place
to find libpq-fe.h).

So if you  have any Idea ?


At what file does the compilation stop?
Also, try compiling it this way: make VERBOSE=1
It will also print the commands it runs, paste here the command on
which it fails.

Martin
___
Qgis-user mailing list
Qgis-user@lists.qgis.org
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user


Re: [Qgis-user] trouble compiling latest SVN QGIS version

2006-11-03 Thread Gavin Macaulay
Pierluigi,

Can you also include the few lines previous to the error message? This
will tell us where the compiler is looking got the .h file that it can't
find.

What the command:

/usr/local/pgsql/bin/pg_config --includedir

return?

Regards

Gavin

> Dear All Qgis users,
> I'm tring to compile the latest qgis unstable version but I have some
> problems
> with postgresql...
> This is my autogen line:
> ./autogen.sh --prefix=/usr/local/qgis
> --with-grass=/usr/local/grass-6.3.cvs
> --with-postgresql=/usr/local/pgsql/bin/pg_config
> --with-qtdir=/usr/local/Trolltech/Qt-4.1.4
>
> and at the end of autogen It'seems everythinks work fine
> Then I run make but after few minutes I have this error:
>
> In file included from qgisapp.cpp:145:
> qgsdbsourceselect.h:24:22: error: libpq-fe.h: No such file or directory
> It tells me the file libpq-fe.h doesn't exist but if I locate this file I
> can
> find it on
> /usr/local/pgsql/include/libpq-fe.h
>
> I don't undestand why I have this! Can someone tell me more about It?
> Thanking you in advance
>
> Pierluigi
>
>
> --
>
> Pierluigi De Rosa
>
> Department of Enviromental & Civil engineering
> Faculty of Engineering
> Perugia (Italy)
> ___
> Qgis-user mailing list
> Qgis-user@lists.qgis.org
> http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
>


___
Qgis-user mailing list
Qgis-user@lists.qgis.org
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user


Re: [Qgis-user] trouble compiling latest SVN

2006-11-02 Thread Stefano Costa
Il giorno gio, 02/11/2006 alle 11.28 -0200, Tim Sutton ha scritto:
> Hi Stefano 
> 
> Are you the same Stefano Costa that is active on the ubuntu wiki? Were
> you following my compile instructions at
> https://help.ubuntu.com/community/BuildingQuantumGisFromSource ? Just
> curious if something was unclear / incorrect?

Hi Tim,
yes, it's me. By the way, I try to maintain this wiki page:
https://wiki.ubuntu.com/UbuntuGIS

Your instructions are very detailed and good, and I think that there are
no errors. I was not following them, and that's the reason why sometimes
I go into problems compiling. ;-)

But ATM I have installed from source
QuantumGIS 0.8 SVN
GRASS 6.3 CVS
GEOS 2.2.3
PROJ 4.5.0
GDAL 1.3.2
PostGIS 1.1.5

So my compile factory is a bit complex... ;-)

By the way, I noticed that starting qgis I get this warning:

Failed to load /usr/local/qgis/lib/qgis/georefplugin.so
Failed to load /usr/local/qgis/lib/qgis/pggeoprocessingplugin.so

And obviously the 2 plugins are not loaded. But during compiling I had
no errors about them.

Best regards,

Steko

-- 
Stefano Costa
http://www.iosa.it Open Archaeology
http://list.iosa.it International Mailing List
Jabber: [EMAIL PROTECTED]

___
Qgis-user mailing list
Qgis-user@lists.qgis.org
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user


Re: [Qgis-user] trouble compiling latest SVN

2006-11-02 Thread Tim Sutton
Hi StefanoAre you the same Stefano Costa that is active on the ubuntu wiki? Were you following my compile instructions at https://help.ubuntu.com/community/BuildingQuantumGisFromSource ? Just curious if something was unclear / incorrect?RegardsTimOn 02/11/2006, at 09:17, Stefano Costa wrote:Il giorno gio, 02/11/2006 alle 10.27 +0100, Martin Dobias ha scritto: Hi,something is wrong with your paths or Qt installation - because 'moc'utility of Qt3 has been used instead of Qt4 one. Maybe using option--with-qtdir=... in configure script will help. Martin,thanks. That was the problem and setting the right path did the job.QGIS really rocks...I hope 0.8 is coming out soon.Best regards,Stefano-- Stefano Costahttp://www.iosa.it Open Archaeologyhttp://list.iosa.it International Mailing ListJabber: [EMAIL PROTECTED]___Qgis-user mailing listQgis-user@lists.qgis.orghttp://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user  -- Tim SuttonVisit http://qgis.org for a great Open Source GISHome Page: http://linfiniti.comSkype: timlinuxMSN: [EMAIL PROTECTED]Yahoo: [EMAIL PROTECTED]Jabber: timlinuxIrc: timlinux on #qgis at freenode.net ___
Qgis-user mailing list
Qgis-user@lists.qgis.org
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user


Re: [Qgis-user] trouble compiling latest SVN

2006-11-02 Thread Stefano Costa
Il giorno gio, 02/11/2006 alle 10.27 +0100, Martin Dobias ha scritto:
> 
> Hi,
> something is wrong with your paths or Qt installation - because 'moc'
> utility of Qt3 has been used instead of Qt4 one. Maybe using option
> --with-qtdir=... in configure script will help.

Martin,
thanks. That was the problem and setting the right path did the job.
QGIS really rocks...

I hope 0.8 is coming out soon.

Best regards,

Stefano

-- 
Stefano Costa
http://www.iosa.it Open Archaeology
http://list.iosa.it International Mailing List
Jabber: [EMAIL PROTECTED]

___
Qgis-user mailing list
Qgis-user@lists.qgis.org
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user


Re: [Qgis-user] trouble compiling latest SVN

2006-11-02 Thread Martin Dobias

On 11/2/06, Stefano Costa <[EMAIL PROTECTED]> wrote:

qgscontexthelp.moc.cpp:15:34: error: private/qucomextra_p.h: No such
file or directory
qgscontexthelp.moc.cpp:17:2: error: #error "This file was generated
using the moc from 3.3.6. It"
qgscontexthelp.moc.cpp:18:2: error: #error "cannot be used with the
include files from this version of Qt."
qgscontexthelp.moc.cpp:19:2: error: #error "(The moc has changed too
much.)"


Hi,
something is wrong with your paths or Qt installation - because 'moc'
utility of Qt3 has been used instead of Qt4 one. Maybe using option
--with-qtdir=... in configure script will help.

Martin
___
Qgis-user mailing list
Qgis-user@lists.qgis.org
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user