[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Cannot find GLib and GNOME Keyring .pc files

From: Yudong Sun <yudong_at_nag.co.uk>
Date: Fri, 06 Aug 2010 17:19:26 +0100

Hi Daniel,

I need to store encrypted passwords so I have to try GNOME Keyring.

In my GNOME Keyring 2.30.3 installation, gnome-keyring/lib/pkgconfig
only contains gcr-0.pc and gp11-0.pc. The gnome-keyring-1.pc is missing.
That should be the reason of Subversion configure "cannot find GLib and
GNOME Keyring .pc files". Actually it's about GNOME Keyring .pc missing.

I have installed GNOME Keyring 2.30.3. The make might be partly
unsuccessful but no error message was clearly shown during configure,
make, and make install. Do you have any suggestion about which version
of GNOME Keyring works fine with Subversion 1.6.12 and how to build it?

Thanks,

Yudong

Daniel Shahaf wrote, On 06/08/2010 14:32:
> You don't need GNOME Keyring for password storing --- only for enabling the
> on-disk stored passwords not to be stored in plaintext. (We always support
> not storing passwords or (on non-(Mac|Windows)) storing them in plaintext.)
>
> Anyway, ./configure.ac relies on pkg-config to find those *.pc files; so you
> need to make 'configure' use a pkg-config which is aware of your
> gnome-keyring installation. (And then perhaps the *FLAGS manual
> modifications won't be necessary?)
>
> HTH,
>
> Daniel
>
> Yudong Sun wrote on Fri, Aug 06, 2010 at 14:05:00 +0100:
>> 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.
>> ________________________________________________________________________
>
> ________________________________________________________________________
> 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.
________________________________________________________________________
Received on 2010-08-06 18:20:22 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.