Thanks to all for the comments, <br>
<br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:strk@refractions.net">strk@refractions.net</a> wrote:<br>
&gt; On Wed, Jan 18, 2006 at 05:38:30PM -0500, Jairo Sánchez wrote:<br>
&gt;<br>
&gt;&gt;Hello to all,<br>
&gt;&gt;This is me frist time in the list, I hope you can help .<br>
&gt;&gt;<br>
&gt;&gt;I'm trying to install PostGIS but I get the following error:<br>
&gt;&gt;<br>
&gt;&gt;# make<br>
&gt;&gt;make -C lwgeom<br>
&gt;&gt;make[1]: execvp: /usr/local/pgsql/bin: Permiso denegado<br>
&gt;&gt;make[1]: Entering directory `/home/sistemas2/postgresql-8.1.2<br>
&gt;&gt;/contrib/postgis-1.1.0/lwgeom'<br>
&gt;&gt;make[1]: execvp: /usr/local/pgsql/bin: Permiso denegado<br>
&gt;&gt;make[1]: execvp: /usr/local/pgsql/bin: Permiso denegado<br>
&gt;&gt;make[1]: execvp: /usr/local/pgsql/bin: Permiso denegado<br>
&gt;&gt;make[1]: execvp: /usr/local/pgsql/bin: Permiso denegado<br>
&gt;&gt;make[1]: execvp: /usr/local/pgsql/bin: Permiso denegado<br>
&gt;<br>
&gt;<br>
&gt; The build process is trying to execute /usr/local/pgsql/bin<br>
&gt; which is what you provided to ./configure --with-pgsql=&lt;&gt;<br>
&gt;<br>
&gt; Full path to pg_config is required there, so should be:<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; --with-pgsql=/usr/local/pgsql
<div id="mb_0">/bin/pg_config<br>&gt;<br>&gt; Since this is not the first case, is there any postgis<br>&gt; documentation making people belive a directory is expected ?<br><br>&gt;I think this is a case of general confusion for users that are not
<br>&gt;familiar with the build process because some options expect the install<br>&gt;directory like:<br>&gt;<br>&gt;/usr<br>&gt;/usr/local<br>&gt;<br>&gt;some expect a path to a configured source tree like:<br>&gt;<br>&gt;/path/to/my/private/build/area/application/source/tree
<br>&gt;<br>&gt;and yet others expect a path to an executable like:<br>&gt;<br>&gt;/usr/local/pgsql/bin/pg_config<br>&gt;<br>&gt;so they look for other examples in the documentation and just copy them.<br>&gt; It would probably help to have some common examples and if a user does
<br>&gt;not know where the file might be located then suggest using something<br>&gt;like: &nbsp;&quot;locate pg_config&quot;<br>&gt;<br>&gt;Just a thought that might help.<br>&gt;<br>&gt;-Steve W.<br>
<br>
I did the following:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ./configure --with-pgsql=/usr/local/pgsql/bin/pg_config<br>
and I get this.<br>
SUMMARY<br>
&nbsp;-------------------------------------------------------<br>
<br>
&nbsp;HOST_OS: linux-gnu<br>
<br>
&nbsp;&nbsp; PGSQL: /usr/local/pgsql/bin/pg_config<br>
&nbsp;&nbsp;&nbsp; GEOS: /usr/local/bin/geos-config (with C-API)<br>
&nbsp;&nbsp;&nbsp; PROJ: dir=/usr/local<br>
&nbsp;&nbsp; ICONV: 1<br>
<br>
&nbsp;PORTNAME: linux<br>
&nbsp;&nbsp; PREFIX: /usr/local<br>
&nbsp; EPREFIX: ${prefix}<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DOC: ${prefix}/share/doc<br>
&nbsp;&nbsp;&nbsp;&nbsp; DATA: ${prefix}/share/postgresql/contrib<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MAN: ${prefix}/man<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BIN: ${exec_prefix}/bin<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EXT: /usr/local/pgsql/lib (\$$libdir)<br>
&nbsp;-------------------------------------------------------<br>
then I continue with make , but I get the same error. It's still not working.<br>
I did read every paper I could before ask and try a lot but I don't get anywhere that it's why I post.<br>
<br>
JSLL<br>
<br>
</div>