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

Alan Lord alanslists at gmail.com
Tue Oct 30 09:12:22 UTC 2007


PawelCarqowski wrote:
<snip />
...
> 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

After autogen (which you should only need to do once, after pulling down 
the svn source), try and run

./configure --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* (Omit the asterisks, they 
are just to highlight the switch!)

make

make install

Looking at your switches, do you actually have ptlib and opal installed 
where you say? These sort of switches are normally used to point to 
unusual locations of *already installed* system libraries. On a "normal" 
system, they would probably be installed in /usr/lib or /usr/local/lib 
and the corresponding include directories. 'ldconfig -p | less' is your 
friend here.

Secondly, I don't really know what scrollkeeper-update is but my guess 
is it has a hard-coded reference somewhere to /var/log/scrollkeeper.log

If you grep the clean source directory for '/var/log' what files does it 
bring up? Take a look in those files for hardcoded paths and try 
changing them...

Also, if you use the DESTDIR solution, it looks like you can run make 
install as root and it will be able to write to the scrollkeeper.log 
file, and everything else will be written to DESTDIR. Just tee the 
output of make install into a log file then you can see where everything 
has been installed to. Something like:

make install 2>&1 | tee -a ../ekiga-make-install.log

should do it.

HTH ideas help.

Alan

-- 
The way out is open!
http://www.theopensourcerer.com



More information about the ekiga-list mailing list