NewToSlony ngramsky at cs.umd.edu
Sun Mar 4 17:25:57 PST 2012
That did not seem to work.  I'm getting the same error I get if I try it with
'with-pgconfigdir.

What I did:

 ./configure --prefix=/var/lib/pgsql/slony
 gmake all
 gmake install

Yet I get the following error:

$ gmake install
gmake[1]: Entering directory `/tmp/slony1-1.2.23/src'
gmake[2]: Entering directory `/tmp/slony1-1.2.23/src/xxid'
/bin/sh /tmp/slony1-1.2.23/config/mkinstalldirs /usr/lib64/pgsql/
/bin/sh /tmp/slony1-1.2.23/config/mkinstalldirs /usr/share/pgsql/
/bin/sh /tmp/slony1-1.2.23/config/install-sh -c -m 755 xxid.so
/usr/lib64/pgsql/
cp: cannot create regular file `/usr/lib64/pgsql//#inst.24369#': Permission
denied
gmake[2]: *** [install] Error 1
gmake[2]: Leaving directory `/tmp/slony1-1.2.23/src/xxid'
gmake[1]: *** [install] Error 2
gmake[1]: Leaving directory `/tmp/slony1-1.2.23/src'
gmake: *** [install] Error 2



I know I have write access as I created the /var/lib/pgsql/slony directory
as the postgres user(the same user I am trying the install as).

Thanks



Devrim GÜNDÜZ wrote:
> 
> On Sun, 2012-03-04 at 15:59 -0800, NewToSlony wrote:
>> 
>> Is it possible to install Slony without root or sudo permissions?  
> 
> Use --prefix with configure :
> 
> ./configure --prefix=/path/to/your/installation 
> 
> assuming that the user you compile and install slony has write access to
> that specific directory.
> 
> -- 
> Devrim GÜNDÜZ
> Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
> PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
> Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
> http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz
> 
>  
> _______________________________________________
> Slony1-general mailing list
> Slony1-general at lists.slony.info
> http://lists.slony.info/mailman/listinfo/slony1-general
> 
> 

-- 
View this message in context: http://old.nabble.com/Install-without-root-permissions-tp33440610p33440809.html
Sent from the Slony-I -- General mailing list archive at Nabble.com.



More information about the Slony1-general mailing list