Re: [Ekiga-list] ekiga - svn. installing as non-root user fails.



Alan Lord writes:
 > PawelCarqowski wrote:
 > > Hallo group members
 > > 
 > > I'm trying to install (with make install) ekiga as non-root user to some directory my user has access to.
 > > 
 > > I configured ekiga with following parameters:
 > > 
 > > $ ./autogen.sh --prefix=/home/misc/ekiga/site-usr --exec-prefix=/home/misc/ekiga/site-usr --sysconfdir=/home/misc/ekiga/site-etc --with-ptlib-dir=/home/misc/ekiga/site-usr --with-opal-dir=/home/misc/ekiga/site-usr
 > > 
 > > config and make went smoothly. "make install" went quite far. It failed on:
 > > 
 > > /usr/bin/install -c -m 644 ekiga-pt_BR.omf /home/misc/ekiga/site-usr/share/omf/ekiga/ekiga-pt_BR.omf
 > > /usr/bin/install -c -m 644 ekiga-uk.omf /home/misc/ekiga/site-usr/share/omf/ekiga/ekiga-uk.omf
 > > /usr/bin/install -c -m 644 ekiga-sv.omf /home/misc/ekiga/site-usr/share/omf/ekiga/ekiga-sv.omf
 > > scrollkeeper-update -p /var/lib/scrollkeeper -o /home/misc/ekiga/site-usr/share/omf/ekiga
 > > /var/lib/scrollkeeper/scrollkeeper_docs: Permission denied
 > > make[2]: *** [install-doc-omf] Error 1
 > > make[2]: Leaving directory `/home/misc/ekiga/ekiga-svn/ekiga/help'
 > > make[1]: *** [install-am] Error 2
 > > make[1]: Leaving directory `/home/misc/ekiga/ekiga-svn/ekiga/help'
 > > make: *** [install-recursive] Error 1
 > > 
> > I do not see eny more prefix'es to use below. ONLY PREFIX and EPREFIX are used.
 > > 
 > > $ ./configure --help:
 > > 
 > > Fine tuning of the installation directories:
 > >   --bindir=DIR           user executables [EPREFIX/bin]
 > >   --sbindir=DIR          system admin executables [EPREFIX/sbin]
 > >   --libexecdir=DIR       program executables [EPREFIX/libexec]
 > >   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
 > >   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
 > >   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
 > >   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
 > >   --libdir=DIR           object code libraries [EPREFIX/lib]
 > >   --includedir=DIR       C header files [PREFIX/include]
 > >   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
 > >   --infodir=DIR          info documentation [PREFIX/info]
 > >   --mandir=DIR           man documentation [PREFIX/man]
 > > 
 > > 
 > > have You got any ideas on how to fix this? 
 > > 
 > > Regards,
 > > Pawel
 > 
 > I haven't tried this but why not just configure it with a normal prefix 
 > like /usr and then make it, then do a
 > 
 > make DESTDIR=/home/misc/ekiga/site-usr install
 > 
 > That should install a whole new tree under your site-usr directory.
 > 
 > On another note, --locatstatedir normally points to var so you might 
 > need to add that switch if you want to do it the "long way"
 > 
 > HTH
 > 
 > Alan

I finally tried 3 cases:
1)
$ make DESTDIR=/home/misc/ekiga/ekiga-site install
- installed ekiga at /home/misc/ekiga/ekiga-site
- but it produced huge amount of lines, like: 

/usr/bin/install -c -m 644 ekiga-es.omf /home/misc/ekiga/site-usr/share/omf/ekiga/ekiga-es.omf
/usr/bin/install -c -m 644 ekiga-fr.omf /home/misc/ekiga/site-usr/share/omf/ekiga/ekiga-fr.omf
/usr/bin/install -c -m 644 ekiga-oc.omf /home/misc/ekiga/site-usr/share/omf/ekiga/ekiga-oc.omf
/usr/bin/install -c -m 644 ekiga-pt_BR.omf /home/misc/ekiga/site-usr/share/omf/ekiga/ekiga-pt_BR.omf
/usr/bin/install -c -m 644 ekiga-uk.omf /home/misc/ekiga/site-usr/share/omf/ekiga/ekiga-uk.omf
/usr/bin/install -c -m 644 ekiga-sv.omf /home/misc/ekiga/site-usr/share/omf/ekiga/ekiga-sv.omf
scrollkeeper-update -p /home/misc/ekiga/site-var -o /home/misc/ekiga/site-usr/share/omf/ekiga
Cannot write to log file: /var/log/scrollkeeper.log : Permission denied
Cannot write to log file: /var/log/scrollkeeper.log : Permission denied
Cannot write to log file: /var/log/scrollkeeper.log : Permission denied
Cannot write to log file: /var/log/scrollkeeper.log : Permission denied
Cannot write to log file: /var/log/scrollkeeper.log : Permission denied
Cannot write to log file: /var/log/scrollkeeper.log : Permission denied
Cannot write to log file: /var/log/scrollkeeper.log : Permission denied
Cannot write to log file: /var/log/scrollkeeper.log : Permission denied
Cannot write to log file: /var/log/scrollkeeper.log : Permission denied
make[2]: Leaving directory `/home/misc/ekiga/ekiga-svn/ekiga/help'
make[1]: Leaving directory `/home/misc/ekiga/ekiga-svn/ekiga/help'
make[1]: Entering directory `/home/misc/ekiga/ekiga-svn/ekiga'
make[2]: Entering directory `/home/misc/ekiga/ekiga-svn/ekiga'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/home/misc/ekiga/site-usr/share/applications" || mkdir -p -- "/home/misc/ekiga/site-usr/share/applications"
 /usr/bin/install -c -m 644 'ekiga.desktop' '/home/misc/ekiga/site-usr/share/applications/ekiga.desktop'
GCONF_CONFIG_SOURCE=xml:merged:/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-install-rule ekiga.schemas 2>&1 > /dev/null
None of the resolved addresses are writable; saving configuration settings will not be possible
WARNING: failed to install schema `/schemas/apps/ekiga/devices/audio/plugin' locale `th': Can't overwrite existing read-only value: Value for `/schemas/apps/ekiga/devices/audio/plugin' set in a read-only source at the front of your configuration path
WARNING: failed to install schema `/schemas/apps/ekiga/devices/audio/plugin' locale `cs': Can't overwrite existing read-only value: Value for `/schemas/apps/ekiga/devices/audio/plugin' set in a read-only source at the front of your configuration path
WARNING: failed to install schema `/schemas/apps/ekiga/devices/audio/plugin' locale `dz': Can't overwrite existing read-only value: Value for `/schemas/apps/ekiga/devices/audio/plugin' set in a read-only source at the front of your configuration path
WARNING: failed to install schema `/schemas/apps/ekiga/devices/audio/plugin' locale `fa': Can't overwrite existing read-only value: Value for `/schemas/apps/ekiga/devices/audio/plugin' set in a read-only source at the front of your configuration path
WARNING: failed to install schema `/schemas/apps/ekiga/devices/audio/plugin' locale `bn': Can't overwrite existing read-only value: Value for `/schemas/apps/ekiga/devices/audio/plugin' set in a read-only source at the front of your configuration path
WARNING: failed to install schema `/schemas/apps/ekiga/devices/audio/plugin' locale `nl': Can't overwrite existing read-only value: Value for `/schemas/apps/ekiga/devices/audio/plugin' set in a read-only source at the front of your configuration path
.....

2)
$ ./autogen.sh --prefix=/home/misc/ekiga/site-usr --exec-prefix=/home/misc/ekiga/site-usr --sysconfdir=/home/misc/ekiga/site-etc --with-ptlib-dir=/home/misc/ekiga/site-usr --with-opal-dir=/home/misc/ekiga/site-usr --localstatedir=/home/misc/ekiga/site-var
$ make install
- again failed on:
/usr/bin/install -c -m 644 ekiga-pt_BR.omf /home/misc/ekiga/site-usr/share/omf/ekiga/ekiga-pt_BR.omf
/usr/bin/install -c -m 644 ekiga-uk.omf /home/misc/ekiga/site-usr/share/omf/ekiga/ekiga-uk.omf
/usr/bin/install -c -m 644 ekiga-sv.omf /home/misc/ekiga/site-usr/share/omf/ekiga/ekiga-sv.omf
scrollkeeper-update -p /var/lib/scrollkeeper -o /home/misc/ekiga/site-usr/share/omf/ekiga
/var/lib/scrollkeeper/scrollkeeper_docs: Permission denied
make[2]: *** [install-doc-omf] Error 1
make[2]: Leaving directory `/home/misc/ekiga/ekiga-svn/ekiga/help'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/misc/ekiga/ekiga-svn/ekiga/help'
make: *** [install-recursive] Error 1

because, _localstatedir is used by ekiga, so....

3)
$ ./autogen.sh --prefix=/home/misc/ekiga/site-usr --exec-prefix=/home/misc/ekiga/site-usr --sysconfdir=/home/misc/ekiga/site-etc --with-ptlib-dir=/home/misc/ekiga/site-usr --with-opal-dir=/home/misc/ekiga/site-usr
$ make _sklocalstatedir=/home/misc/ekiga/site-var install

- installed ekiga, but again, produced many lines as in case 1.

Regards,
Pawel


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]