Error when installing pinentry

Hi all,

I wanna use Gnupg to encrypt something. So I tried to install gnupg and pinentry.
Gnupg was installed successfully. While I waited for a long time for installing pinentry, it threw me some error:

Code:
/usr/bin/ld: cannot find -lgio-2.0
gmake: *** [libgiofam.la] Error 1
*** Error code 2

Stop in /usr/ports/devel/gio-fam-backend.
*** Error code 1

Stop in /usr/ports/accessibility/atk.
*** Error code 1

Stop in /usr/ports/security/pinentry.

Anybody can help will be much appreciated.
 
Can you show the output of $ pkg_version -l "<" ?

Check also /usr/ports/UPDATING, 20080323
 
Update : new error

After I reinstall glib to new version. I make install pinentry again, this time I got these error:
Code:
configure: error: pixman >= 0.10.0 is required
(http://cairographics.org/releases/)
===>  Script "configure" failed unexpectedly.
Please run the gnomelogalyzer, available from
"http://www.freebsd.org/gnome/gnomelogalyzer.sh", which will diagnose the
problem and suggest a solution. If - and only if - the gnomelogalyzer cannot
solve the problem, report the build failure to the FreeBSD GNOME team at
gnome@FreeBSD.org, and attach (a)
"/usr/ports/graphics/cairo/work/cairo-1.6.4/config.log", (b) the output of
the failed make command, and (c) the gnomelogalyzer output. Also, it might
be a good idea to provide an overview of all packages installed on your system
(i.e. an `ls /var/db/pkg`). Put your attachment up on any website,
copy-and-paste into http://freebsd-gnome.pastebin.com, or use send-pr(1) with
the attachment. Try to avoid sending any attachments to the mailing list
(gnome@FreeBSD.org), because attachments sent to FreeBSD mailing lists are
usually discarded by the mailing list software.
*** Error code 1

Stop in /usr/ports/graphics/cairo.
*** Error code 1

Stop in /usr/ports/graphics/cairo.
*** Error code 1

Stop in /usr/ports/x11-toolkits/pango.
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk20.
*** Error code 1

Stop in /usr/ports/security/pinentry.
 
I run the command as root, but it says permission denied.
Code:
/usr/ports/UPDATING
/usr/ports/UPDATING: Permission denied.

Code:
pkg_version -1 "<"
pkg_version: illegal option -- 1
usage: pkg_version [-hIoqv] [-l limchar] [-L limchar] [[-X] -s string] [-O origin] [index]
       pkg_version -t v1 v2
       pkg_version -T name pattern
MLMCNBSD# pkg_version -l "<"
cdrtools                            <
cvsup-without-gui                   <
dbus                                <
dbus-glib                           <
dri                                 <
expat                               <
fontconfig                          <
freetype2                           <
gettext                             <
gmake                               <
hal                                 <
libFS                               <
libGL                               <
libICE                              <
libSM                               <
libX11                              <
libXaw                              <
libXcursor                          <
libXdmcp                            <
libXfixes                           <
libXfont                            <
libXft                              <
libXrandr                           <
libXrender                          <
libXres                             <
libXt                               <
libXtst                             <
libXv                               <
libXvMC                             <
libdmx                              <
libdrm                              <
libvolume_id                        <
libxkbui                            <
libxml2                             <
mkfontdir                           <
pciids                              <
pcre                                <
pixman                              <
pkg-config                          <
png                                 <
policykit                           <
python25                            <
showfont                            <
xdm                                 <
xdpyinfo                            <
xf86-input-keyboard                 <
xf86-input-mouse                    <
xf86-video-ati                      <
xf86-video-i810                     <
xf86-video-nv                       <
xf86-video-vesa                     <
xf86-video-vga                      <
xf86-video-via                      <
xfs                                 <
xkbutils                            <
xkeyboard-config                    <
xorg                                <
xorg-drivers                        <
xorg-fonts                          <
xorg-libraries                      <
xorg-protos                         <
xorg-server                         <
xrx                                 <
xterm                               <
 
mini4 said:
I run the command as root, but it says permission denied.
Code:
/usr/ports/UPDATING
/usr/ports/UPDATING: Permission denied.
It's not a command, it's just a text file.
Type $ less /usr/ports/UPDATING and search for 20080323 typing "/20080323" (without quotes).
 
ale said:
It's not a command, it's just a text file.
Type $ less /usr/ports/UPDATING and search for 20080323 typing "/20080323" (without quotes).

Hi ale,

See below, which one should I do?
Code:
  AFFECTS: users of devel/glib20 and future users of devel/gio-fam-backend
  AUTHOR: gnome@FreeBSD.org

  In order to update to glib 2.16 or higher, you must first update the
  glib20 port on its own or you will get a failure trying to install
  devel/gio-fam-backend saying it cannot find -lgio-2.0. Portmaster users
  can do:

        portmaster glib-2\*

  or, if you're using portupgrade:

        portupgrade glib-2\*
 
Hmmm, I tried both, but...
Code:
$ portmaster glib-2\*
portmaster: not found
$ portupgrade glib-2\*
portupgrade: not found
 
Thank you, ale and LateNiteTV. I got the package installed successfully.

One more question, When I tried to use GNUPG, it says "no default secret key ...". How can I set the import key i.e. "sample.asc" as the default secret key???
 
Back
Top