[postgis-users] Problem on ./configure

Jeff Lounsbury jeffloun at refractions.net
Tue Jan 17 10:48:51 PST 2006


In the .../postgresql-8.0/contrib/postgis-1.0.4/Makefile.config 
(someplace like that) file,
do you have the following pointing to the correct proj directory:

USE_PROJ ?= 1
PROJ_DIR ?= /opt/proj-4.4.9

also did you make sure to run the
echo /opt/proj-4.4.9/lib >> /etc/ld.so.conf
ldconfig
commands with the right path?

Cheers,
-Jeff


Ezequias Rodrigues da Rocha wrote:
> Dear Jeff,
> 
> It is been a rally for me but I need to finish this installation as soon 
> as possible.
> 
> So let's go.
> 
> I installed the proj. I think it is installed properly now.
> 
> The file projects.h is in
> /opt/proj-4.4.9/include
> 
> 
> I try to configure PostGIS but it remains with the same error message:
> 
> [root at dc postgis-1.1.0]# ./configure --with-pgsql=/usr/local/pgsql/bin 
> --with-proj=/opt/proj-4.4.9/include
> 
> The error message is:
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking iconv.h usability... yes
> checking iconv.h presence... yes
> checking for iconv.h... yes
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> ./configure: line 3568: /usr/local/pgsql/bin: is a directory
> ./configure: line 3569: /usr/local/pgsql/bin: is a directory
> ./configure: line 3570: /usr/local/pgsql/bin: is a directory
> ./configure: line 3571: /usr/local/pgsql/bin: is a directory
> ./configure: line 3572: /usr/local/pgsql/bin: is a directory
> checking for geos-config... /usr/bin/geos-config
> checking for proj... /usr/bin/proj
> configure: error: Can't find proj dir.
> [root at dc postgis-1.1.0]#
> 
> What I did incorrectly ?
> 
> Ezequias
> 
> 
> Jeff Lounsbury escreveu:
> 
>> I've never had any problems just installing from source 
>> (ftp://ftp.remotesensing.org/proj/proj-4.4.9.tar.gz), very simple:
>>
>> tar –xvzf proj-4.4.9.tar.gz
>> cd proj-4.4.9
>> /configure –prefix /opt/proj-4.4.9
>> make
>> su
>> make install
>> echo /opt/proj-4.4.9/lib >> /etc/ld.so.conf
>> ldconfig
>>
>> If you don't have a practical problem using source that is... Sorry if 
>> this is too obvious and you've already considered this option, I 
>> thought there was a slight chance it might help... :-)
>>
>> Cheers,
>> -Jeff
>>
>> Frank Koormann wrote:
>>
>>> * Ezequias Rodrigues da Rocha <ezequias at recife.pe.gov.br> [060117 
>>> 15:42]:
>>>
>>>> I have no project-devel package here.
>>>>
>>>> I just download the full packages for mapserver on this website:
>>>>
>>>> http://mappinghacks.com/rpm/fedora/4/
>>>>
>>>> Have anybody have a suggestion ?
>>>
>>>
>>>
>>> Hm, there isn't any proj-* file in the directory you pointed. However, I
>>> can find proj-4.4.9 runtime and devel-packages under
>>> http://mappinghacks.com/rpm/fedora/2/
>>>
>>> as well as
>>> http://mappinghacks.com/rpm/fedora/3/
>>>
>>> Regards,
>>>
>>>         Frank
>>>
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users at postgis.refractions.net
>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>>
> 



More information about the postgis-users mailing list