[postgis-users] Problem on ./configure

strk at refractions.net strk at refractions.net
Wed Jan 18 02:27:14 PST 2006


--with-pgsql takes the FULL PATH to pg_config
(see ./configure --help)

--strk;

On Tue, Jan 17, 2006 at 03:41:35PM -0300, 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
> >
> 
> -- 
> Ezequias Rodrigues da Rocha
> http://ezequiasrocha.blogspot.com
> msn:ezequias at hotmail.com
> "the worst of democracies is still better than the best of dictatorship"
> 
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users

-- 

 /"\    ASCII Ribbon Campaign
 \ /    Respect for low technology.
  X     Keep e-mail messages readable by any computer system.
 / \    Keep it ASCII. 




More information about the postgis-users mailing list