Re: [OSM-talk] failed to build mapnik with postgres support

2008-05-04 Thread Thomas Wood
On Sat, May 3, 2008 at 11:30 PM, Hanno Böck [EMAIL PROTECTED] wrote:
 Hi,

 I'm trying to compile mapnik on gentoo with postgis support.
 scons always says:
 Checking for C library proj... yes
 Checking for C library iconv... no
 Checking for C library pq... no

 So it seems it doesn't find the pq library.

 --
 Hanno Böck  Blog:   http://www.hboeck.de/
 GPG: 3DBD3B20   Jabber/Mail:[EMAIL PROTECTED]

 ___
 talk mailing list
 talk@openstreetmap.org
 http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk



I've found in the past that the sconscript defaults to some odd
library paths - especially with the boost lib suffixes.
The config.log file that scons makes should tell you where it's
looking for things.

-- 
Regards,
Thomas Wood
(Edgemaster)

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] failed to build mapnik with postgres support

2008-05-04 Thread SteveC
guys the dev list is that way -

as is the mapnik list?

On 3 May 2008, at 23:30, Hanno Böck wrote:

 Hi,

 I'm trying to compile mapnik on gentoo with postgis support.
 scons always says:
 Checking for C library proj... yes
 Checking for C library iconv... no
 Checking for C library pq... no

 So it seems it doesn't find the pq library.

 -- 
 Hanno BöckBlog:   http://www.hboeck.de/
 GPG: 3DBD3B20 Jabber/Mail:[EMAIL PROTECTED]
 ___
 talk mailing list
 talk@openstreetmap.org
 http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk

Best

Steve


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] failed to build mapnik with postgres support

2008-05-04 Thread Hanno Böck
Am Sonntag 04 Mai 2008 schrieb Cartinus:
 You are not telling us how you run scons. So the first obvious question is:

 Are you just doing?
 $ python scons/scons.py
 # python scons/scons.py install

The first and include paths should be ok (/usr/include/), but I've tried to 
manually set them where the postgres-includes live (/usr/include/posgres/, 
the one in include is just a symlink), doesn't help.

-- 
Hanno Böck  Blog:   http://www.hboeck.de/
GPG: 3DBD3B20   Jabber/Mail:[EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part.
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


[OSM-talk] failed to build mapnik with postgres support

2008-05-03 Thread Hanno Böck
Hi,

I'm trying to compile mapnik on gentoo with postgis support.
scons always says:
Checking for C library proj... yes
Checking for C library iconv... no
Checking for C library pq... no

So it seems it doesn't find the pq library.

-- 
Hanno Böck  Blog:   http://www.hboeck.de/
GPG: 3DBD3B20   Jabber/Mail:[EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part.
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] failed to build mapnik with postgres support

2008-05-03 Thread Shaun McDonald

On 3 May 2008, at 23:30, Hanno Böck wrote:

 Hi,

 I'm trying to compile mapnik on gentoo with postgis support.
 scons always says:
 Checking for C library proj... yes
 Checking for C library iconv... no

nor can it find the iconv library.

In general, for dependancies, you use your software install system to  
install the dev package of the dependancy.

Shaun


 Checking for C library pq... no

 So it seems it doesn't find the pq library.

 -- 
 Hanno BöckBlog:   http://www.hboeck.de/
 GPG: 3DBD3B20 Jabber/Mail:[EMAIL PROTECTED]
 ___
 talk mailing list
 talk@openstreetmap.org
 http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] failed to build mapnik with postgres support

2008-05-03 Thread Hanno Böck
Am Sonntag 04 Mai 2008 schrieb Shaun McDonald:
 On 3 May 2008, at 23:30, Hanno Böck wrote:
  Hi,
 
  I'm trying to compile mapnik on gentoo with postgis support.
  scons always says:
  Checking for C library proj... yes
  Checking for C library iconv... no

 nor can it find the iconv library.

 In general, for dependancies, you use your software install system to
 install the dev package of the dependancy.

As Gentoo is a source distribution, it doesn't have separate dev packages. 
Both postgres/postgis and iconv (which is part of glibc) are installed via 
the system package management.

-- 
Hanno Böck  Blog:   http://www.hboeck.de/
GPG: 3DBD3B20   Jabber/Mail:[EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part.
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] failed to build mapnik with postgres support

2008-05-03 Thread Cartinus
On Sunday 04 May 2008 00:30:22 Hanno Böck wrote:
 Hi,

 I'm trying to compile mapnik on gentoo with postgis support.
 scons always says:
 Checking for C library proj... yes
 Checking for C library iconv... no
 Checking for C library pq... no

 So it seems it doesn't find the pq library.

You are not telling us how you run scons. So the first obvious question is:

Are you just doing?
$ python scons/scons.py
# python scons/scons.py install


Or are you telling it where to look for the libraries?
$ python scons/scons.py PGSQL_INCLUDES=/usr/include/postgresql ...
# python scons/scons.py install PGSQL_INCLUDES=/usr/include/postgresql ...


-- 
m.v.g.,
Cartinus

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk