Re: Errors in Building Perl Bindings

2011-02-25 Thread Yudong Sun



Stefan Sperling wrote, On 22/02/2011 16:26:


On Tue, Feb 22, 2011 at 04:04:36PM +, Yudong Sun wrote:

Stefan Sperling wrote, On 22/02/2011 15:47:

On Tue, Feb 22, 2011 at 03:23:04PM +, Yudong Sun wrote:

I can fix the first libgfortran.so.3 not found error by adding the
path to the LD_LIBRARY_PATH in
./subversion/bindings/swig/perl/native/Makefile.

What about the following 'Can't locate loadable object for module
SVN::_Repos' etc? What are the loadable object needed?

Thanks,

Yudong


You probably need the path to the installed libsvn_* libraries in
LD_LIBRARY_PATH, too. See the bottom of this post:
http://svn.haxx.se/users/archive-2011-02/0300.shtml
What is said there about python bindings applies to the perl bindings
as well (and the ruby bindings, too).


This e-mail has been scanned for all viruses by Star.




Hi Stefan,

I have included the subversion lib path
'/work/z03/z03/ydsun/queries/q149281_git_svn/svn-1.6.2/lib' to the
LD_LIBRARY_PATH (the last entry). However, the errors complain
'can't locate loadable object in @INC'. I can't figure out where
@INC is set:



Try this:
   export PERL5LIB=/path/to/perl/libs



cd 
/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/bindings/swig/perl/native;
make test
make[1]: Entering directory 
`/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/bindings/swig/perl/nati
ve'
PERL_DL_NONLAZY=1 
LD_LIBRARY_PATH=/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/bindings/swig/perl
/libsvn_swig_perl/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_client/.libs:/work/z0
3/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_delta/.libs:/work/z03/z03/ydsun/queries/q149281_git_s
vn/subversion-1.6.2/subversion/libsvn_fs/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsv
n_ra/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_repos/.libs:/work/z03/z03/ydsun/qu
eries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_wc/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6
.2/subversion/libsvn_diff/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_subr/.libs:/w
ork/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_ra_local/.libs:/work/z03/z03/ydsun/queries/q149
281_git_svn/subversion-1.6.2/subversion/libsvn_ra_svn/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/sub
version/libsvn_ra_neon/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_ra_serf/.libs:/w
ork/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_fs_base/.libs:/work/z03/z03/ydsun/queries/q1492
81_git_svn/subversion-1.6.2/subversion/libsvn_fs_util/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/sub
version/libsvn_fs_fs/.libs:/opt/cray/mpt/5.1.2/xt/gemini/mpich2-gnu/lib:/opt/cray/pmi/1.0-1..8160.39.2.gem/lib64:/opt/gc
c/mpc/0.8.1/lib:/opt/gcc/mpfr/2.4.2/lib:/opt/gcc/gmp/4.3.2/lib:/opt/gcc/4.5.1/snos/lib64:/opt/cray/xpmem/0.1-2.0301.24037.4.
2.gem/lib64:/opt/cray/dmapp/2.2-1.0301.2594.5.7.gem/lib64:/opt/cray/ugni/2.0-1.0301.2648.4.4.gem/lib64:/opt/cray/udreg/1.3-1
.0301.2732.4.1.gem/lib64:/opt/cray/MySQL/5.0.64-1.0301.2899.20.2.gem/lib64/mysql:/opt/cray/MySQL/5.0.64-1.0301.2899.20.2.gem
/lib64:/work/z03/z03/ydsun/queries/q149281_git_svn/svn-1.6.2/lib
/usr/bin/perl -MExtUtils::Command::MM -e test_harness(
0, 'blib/lib', 'blib/arch')
../../../../../subversion/bindings/swig/perl/native/t/*.t
../../../../../subversion/bindings/swig/perl/native/t/0use.NOK
2/7
#   Failed test 'use SVN::Repos;'
#   at ../../../../../subversion/bindings/swig/perl/native/t/0use.t line 6.
# Tried to use 'SVN::Repos'.
# Error:  Can't locate loadable object for module SVN::_Repos in
@INC (@INC contains: /work/z03/z03/ydsun/queries/q14928
1_git_svn/subversion-1.6.2/subversion/bindings/swig/perl/native/blib/lib
/work/z03/z03/ydsun/queries/q149281_git_svn/subvers
ion-1.6.2/subversion/bindings/swig/perl/native/blib/arch
/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10
.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/
site_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-th
read-multi
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vend
or_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .
/usr/lib/perl5/5.10.
0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/s
ite_perl/5.10.0
/usr/lib

Re: Errors in Building Perl Bindings

2011-02-25 Thread Yudong Sun



Stefan Sperling wrote, On 25/02/2011 13:36:

On Fri, Feb 25, 2011 at 01:22:57PM +, Yudong Sun wrote:



Stefan Sperling wrote, On 22/02/2011 16:26:


On Tue, Feb 22, 2011 at 04:04:36PM +, Yudong Sun wrote:

Stefan Sperling wrote, On 22/02/2011 15:47:

On Tue, Feb 22, 2011 at 03:23:04PM +, Yudong Sun wrote:

I can fix the first libgfortran.so.3 not found error by adding the
path to the LD_LIBRARY_PATH in
./subversion/bindings/swig/perl/native/Makefile.

What about the following 'Can't locate loadable object for module
SVN::_Repos' etc? What are the loadable object needed?

Thanks,

Yudong


You probably need the path to the installed libsvn_* libraries in
LD_LIBRARY_PATH, too. See the bottom of this post:
http://svn.haxx.se/users/archive-2011-02/0300.shtml
What is said there about python bindings applies to the perl bindings
as well (and the ruby bindings, too).


This e-mail has been scanned for all viruses by Star.




Hi Stefan,

I have included the subversion lib path
'/work/z03/z03/ydsun/queries/q149281_git_svn/svn-1.6.2/lib' to the
LD_LIBRARY_PATH (the last entry). However, the errors complain
'can't locate loadable object in @INC'. I can't figure out where
@INC is set:



Try this:
   export PERL5LIB=/path/to/perl/libs



cd 
/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/bindings/swig/perl/native;
make test
make[1]: Entering directory 
`/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/bindings/swig/perl/nati
ve'
PERL_DL_NONLAZY=1 
LD_LIBRARY_PATH=/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/bindings/swig/perl
/libsvn_swig_perl/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_client/.libs:/work/z0
3/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_delta/.libs:/work/z03/z03/ydsun/queries/q149281_git_s
vn/subversion-1.6.2/subversion/libsvn_fs/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsv
n_ra/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_repos/.libs:/work/z03/z03/ydsun/qu
eries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_wc/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6
.2/subversion/libsvn_diff/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_subr/.libs:/w
ork/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_ra_local/.libs:/work/z03/z03/ydsun/queries/q149
281_git_svn/subversion-1.6.2/subversion/libsvn_ra_svn/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/sub
version/libsvn_ra_neon/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_ra_serf/.libs:/w
ork/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_fs_base/.libs:/work/z03/z03/ydsun/queries/q1492
81_git_svn/subversion-1.6.2/subversion/libsvn_fs_util/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/sub
version/libsvn_fs_fs/.libs:/opt/cray/mpt/5.1.2/xt/gemini/mpich2-gnu/lib:/opt/cray/pmi/1.0-1..8160.39.2.gem/lib64:/opt/gc
c/mpc/0.8.1/lib:/opt/gcc/mpfr/2.4.2/lib:/opt/gcc/gmp/4.3.2/lib:/opt/gcc/4.5.1/snos/lib64:/opt/cray/xpmem/0.1-2.0301.24037.4.
2.gem/lib64:/opt/cray/dmapp/2.2-1.0301.2594.5.7.gem/lib64:/opt/cray/ugni/2.0-1.0301.2648.4.4.gem/lib64:/opt/cray/udreg/1.3-1
.0301.2732.4.1.gem/lib64:/opt/cray/MySQL/5.0.64-1.0301.2899.20.2.gem/lib64/mysql:/opt/cray/MySQL/5.0.64-1.0301.2899.20.2.gem
/lib64:/work/z03/z03/ydsun/queries/q149281_git_svn/svn-1.6.2/lib
/usr/bin/perl -MExtUtils::Command::MM -e test_harness(
0, 'blib/lib', 'blib/arch')
../../../../../subversion/bindings/swig/perl/native/t/*.t
../../../../../subversion/bindings/swig/perl/native/t/0use.NOK
2/7
#   Failed test 'use SVN::Repos;'
#   at ../../../../../subversion/bindings/swig/perl/native/t/0use.t line 6.
# Tried to use 'SVN::Repos'.
# Error:  Can't locate loadable object for module SVN::_Repos in
@INC (@INC contains: /work/z03/z03/ydsun/queries/q14928
1_git_svn/subversion-1.6.2/subversion/bindings/swig/perl/native/blib/lib
/work/z03/z03/ydsun/queries/q149281_git_svn/subvers
ion-1.6.2/subversion/bindings/swig/perl/native/blib/arch
/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10
.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/
site_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-th
read-multi
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vend
or_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .
/usr/lib/perl5/5.10.
0/x86_64-linux-thread-multi /usr/lib/perl5

Errors in Building Perl Bindings

2011-02-22 Thread Yudong Sun

Hi,

I am trying to build the Perl bindings in subversion-1.6.2. The version 
is old because I want to add the Perl bindings to the existing svn 
installation.


I configure the subversion with the --with-swig=/path/to/swig option. 
Then I get a lot of errors during 'make check-swig-perl':


... ...
cd 
/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/bindings/swig/perl/native; 
make test
make[1]: Entering directory 
`/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/bindings/swig/perl/n

ative'
PERL_DL_NONLAZY=1 
LD_LIBRARY_PATH=/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/bindings/swig/p

erl/libsvn_swig_perl/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_client/.libs:/w
ork/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_delta/.libs:/work/z03/z03/ydsun/queries/q149
281_git_svn/subversion-1.6.2/subversion/libsvn_fs/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subv
ersion/libsvn_ra/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_repos/.libs:/work/z
03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_wc/.libs:/work/z03/z03/ydsun/queries/q149281_git_
svn/subversion-1.6.2/subversion/libsvn_diff/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion
/libsvn_subr/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_ra_local/.libs:/work/z0
3/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_ra_svn/.libs:/work/z03/z03/ydsun/queries/q149281_g
it_svn/subversion-1.6.2/subversion/libsvn_ra_neon/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subv
ersion/libsvn_ra_serf/.libs:/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_fs_base/.libs:
/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/libsvn_fs_util/.libs:/work/z03/z03/ydsun/queries/
q149281_git_svn/subversion-1.6.2/subversion/libsvn_fs_fs/.libs 
/usr/bin/perl -MExtUtils::Command::MM -e test_harness
(0, 'blib/lib', 'blib/arch') 
../../../../../subversion/bindings/swig/perl/native/t/*.t
../../../../../subversion/bindings/swig/perl/native/t/0use.NOK 
1/7

#   Failed test 'use SVN::Core;'
#   at ../../../../../subversion/bindings/swig/perl/native/t/0use.t line 5.
# Tried to use 'SVN::Core'.
# Error:  Can't load 
'/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/bindings/swig/perl/nati
ve/blib/arch/auto/SVN/_Core/_Core.so' for module SVN::_Core: 
libgfortran.so.3: cannot open shared object file: No such fi
le or directory at 
/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm line 203.
#  at 
/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/bindings/swig/perl/native/blib/lib/SVN/Base

.pm line 59
# BEGIN failed--compilation aborted at 
../../../../../subversion/bindings/swig/perl/native/t/0use.t line 5.

# Compilation failed in require at (eval 3) line 2.
# BEGIN failed--compilation aborted at (eval 3) line 2.
../../../../../subversion/bindings/swig/perl/native/t/0use.NOK 
2/7

#   Failed test 'use SVN::Repos;'
#   at ../../../../../subversion/bindings/swig/perl/native/t/0use.t line 6.
# Tried to use 'SVN::Repos'.
# Error:  Can't locate loadable object for module SVN::_Repos in 
@INC (@INC contains: /work/z03/z03/ydsun/queries/q14
9281_git_svn/subversion-1.6.2/subversion/bindings/swig/perl/native/blib/lib 
/work/z03/z03/ydsun/queries/q149281_git_svn/s
ubversion-1.6.2/subversion/bindings/swig/perl/native/blib/arch 
/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/p
erl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 
/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /us
r/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi 
/usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/
x86_64-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.10.0 /
usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .
 /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 
/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-threa
d-multi /usr/lib/perl5/site_perl/5.10.0 
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi 
/usr/lib/perl5/vendor
_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at 
/work/z03/z03/ydsun/queries/q149281_git_svn/subversion-1.6.2/subversion/bin

dings/swig/perl/native/blib/lib/SVN/Base.pm line 59
# BEGIN failed--compilation aborted at 
../../../../../subversion/bindings/swig/perl/native/t/0use.t line 6.

# Compilation failed in require at (eval 5) line 2.
# BEGIN failed--compilation aborted at (eval 5) line 2.
../../../../../subversion/bindings/swig/perl/native/t/0use.NOK 
3/7

#   Failed test 'use SVN::Fs;'
#   at 

Re: How to build GNOME Keyring for Subversion

2010-08-11 Thread Yudong Sun

Hi,

Building KDELibs 4 for Kwallet is as embarrassing as building GNOME 
Keyring if not more. Even worse, KDE's installation guides are like 
puzzle books. I have to think about tring a binary distribution of 
Subversion with GNOME Keyring support. My system is the Cray Linux 
Environment (CLE) which is based SuSE Linux. I wonder if the openSUSE 
build may work on the system. Another trouble is that I don't have root 
access unable to do RPM installation. Is there a non-RPM binary package 
that I can unpack in a non-root user directory?


Thanks,

Yudong

Stefan Sperling wrote, On 09/08/2010 13:55:

On Mon, Aug 09, 2010 at 01:28:54PM +0100, Yudong Sun wrote:

Hi,

I am trying to build Subversion 1.6.12 with GNOME Keyring support. I
have tried GNOME Keyring 2.30.3 downloaded from
http://linux.softpedia.com/get/Utilities/gnome-keyring-13111.shtml
The configure and make of this GNOME Keyring version have been done
with two pkg-config files created: gcr-0.pc and gp11-0.pc but no
gnome-keyring-1.pc generated.

I have also tried to install GNOME Keyring 2.28.2 downloaded from 
http://www.linuxfromscratch.org/blfs/view/svn/gnome/gnome-keyring.html
This version has an endless list of dependencies:

GNOME Keyring 2.28.2:  GConf-2.28.0, GTK+-2.18.7, intltool-0.40.6,
Libgcrypt-1.4.5, and libtasn1-2.5

GConf-2.28.0:  ORBit2-2.14.17 and polkit-0.94

polkit-0.94:  D-Bus GObject Bindings-0.5, intltool-0.40.6,
Linux-PAM-1.1.1, gobject-introspection-0.6.8, and DocBook XML
DTD-4.5

... ...

That looks terrifying. I am almost giving up midway

I'd like to know your experience on building subversion with GNOME
Keyring. Which GNOME Keyring version works well with svn 1.6.12 and
is there an easier way to do it? Your advice will be much
appreciated.


Gnome-keyring's dependencies are outside of the Subversion project's control.
So I'm afraid we cannot do much about it.
Maybe try Kwallet? It might have a smaller list of dependencies.

The easiest way by far is using a distribution that offers readily working
build scripts or binary packages. Most current Linux distributions and *BSD
systems offer precompiled Subversion binaries with gnome-keyring support
enabled.

Another possibility for a long-term fix to this problem would be contributing
patches to Subversion that allow Subversion to encrypt passwords using GPGme.
I'd very much appreciate any effort in this direction.

Stefan


This e-mail has been scanned for all viruses by Star.





The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 



Re: How to build GNOME Keyring for Subversion

2010-08-09 Thread Yudong Sun

Thanks for all the replies.

My platform is a bit special. It's a Cray supercomputer. The OS is Cray 
Linux Environment (CLE) which is developed based on SuSE Linux.


Yudong

Giulio Troccoli wrote, On 09/08/2010 13:44:



Linedata Limited
Registered Office: 85 Gracechurch St., London, EC3V 0AA
Registered in England and Wales No 3475006 VAT Reg No 710 3140 03

-Original Message-



From: Yudong Sun [mailto:yud...@nag.co.uk]
Sent: 09 August 2010 13:29
To: users@subversion.apache.org
Subject: How to build GNOME Keyring for Subversion

Hi,

I am trying to build Subversion 1.6.12 with GNOME Keyring
support. I have tried GNOME Keyring 2.30.3 downloaded from
http://linux.softpedia.com/get/Utilities/gnome-keyring-13111.shtml
The configure and make of this GNOME Keyring version have
been done with two pkg-config files created: gcr-0.pc and
gp11-0.pc but no gnome-keyring-1.pc generated.

I have also tried to install GNOME Keyring 2.28.2 downloaded
from
http://www.linuxfromscratch.org/blfs/view/svn/gnome/gnome-keyring.html
This version has an endless list of dependencies:

GNOME Keyring 2.28.2:  GConf-2.28.0, GTK+-2.18.7,
intltool-0.40.6, Libgcrypt-1.4.5, and libtasn1-2.5

GConf-2.28.0:  ORBit2-2.14.17 and polkit-0.94

polkit-0.94:  D-Bus GObject Bindings-0.5, intltool-0.40.6,
Linux-PAM-1.1.1, gobject-introspection-0.6.8, and DocBook XML DTD-4.5

... ...

That looks terrifying. I am almost giving up midway

I'd like to know your experience on building subversion with
GNOME Keyring. Which GNOME Keyring version works well with
svn 1.6.12 and is there an easier way to do it? Your advice
will be much appreciated.


You don't say which flavour of Linux, but if you have a package manager, like 
yum or apt-get for example, it's much easier as they take care of all the 
dependencies.

Having said that, I personally had a hell of a time (and gave up for the time 
being) to unlock the keyring upon login. Once the keyring is unlocked the 
everything is fine, but I can't seem to be able to avoid entering the keyring 
password.

Giulio


This e-mail has been scanned for all viruses by Star.





The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 



Cannot find GLib and GNOME Keyring .pc files

2010-08-06 Thread Yudong Sun

Hi,

I'm installing Subversion 1.6.12 on a Linux system. Since I have no root 
permission, I install everything in my own directory. I have installed 
Glib 2.24.0 and GNOME Keyring 2.30.3 in my directory to support password 
storing.


I have included /path/to/glib-2.24.0/lib/pkgconig and 
/path/to/gnome-keyring-2.30.3/lib/pkgconfig into PKG_CONFIG_PATH.


I have also set CPPFLAGS and LDFLAGS to the corresponding paths to Glib 
and GNOME Keyring on the ./configure line:


./configure --prefix=/path/to/svn-1.6.12 \
--with-ssl --with-gnome-keyring \
CPPFLAGS=-I/path/to/glib-2.24.0/include 
-I/path/to/gnome-keyring-2.30.3/include \

LDFLAGS=-L/path/to/gnome-keyring-2.30.3/lib -L/path/to/glib-2.24.0/lib


Even so the configure still shows:

checking whether to look for GNOME Keyring... yes
checking for GLib and GNOME Keyring .pc files... no
configure: error: cannot find GLib and GNOME Keyring .pc files

The .pc files do exist in the corresponding lib/pkgconfig. I wonder how 
I can point the configure to these paths? Is it necessary to install 
Glib and GNOME Keyring in the root directory (e.g. /usr)?


Thanks,

Yudong


The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs.