install-info: menu item '...' already exists (was Re: Unable to install 'dirmngr')

Jonathan Noack noackjr at alumni.rice.edu
Sat Feb 25 13:16:31 PST 2006


>> When attempting to install 'dirmngr', I am greeted with this error
>> message:
>> 
>> gmake[2]: Nothing to be done for `install-exec-am'.
>> gmake[2]: Nothing to be done for `install-data-am'.
>> gmake[2]: Leaving directory
>> `/usr/ports/security/dirmngr/work/dirmngr-0.9.3/tests'
>> gmake[1]: Leaving directory
>> `/usr/ports/security/dirmngr/work/dirmngr-0.9.3/tests'
>> gmake[1]: Entering directory
>> `/usr/ports/security/dirmngr/work/dirmngr-0.9.3'
>> gmake[2]: Entering directory
>> `/usr/ports/security/dirmngr/work/dirmngr-0.9.3'
>> gmake[2]: Nothing to be done for `install-exec-am'.
>> gmake[2]: Nothing to be done for `install-data-am'.
>> gmake[2]: Leaving directory
>> `/usr/ports/security/dirmngr/work/dirmngr-0.9.3'
>> gmake[1]: Leaving directory
>> `/usr/ports/security/dirmngr/work/dirmngr-0.9.3'
>> install-info --quiet /usr/local/info/dirmngr.info /usr/local/info/dir
>> install-info: menu item `dirmngr-client' already exists, for file `gnupg'
>> *** Error code 1
>> 
>> Stop in /usr/ports/security/dirmngr.
>> *** Error code 1
>> 
>> Stop in /usr/ports/security/dirmngr.
>> 
>> Those are the last few lines. I have the entire script; however, there
>> really does not seem to be anything of use in it. Perhaps someone has
>> an idea what I should try doing.
> 
> I can't reproduce the exat problem, but it looks like the info file
> installs for the port aren't quite right.  Try contacting the port
> maintainer.  

I ran into this problem as well.  I was only able to figure it out when
I tracked down install-info:

$ which install-info
/usr/local/bin/install-info
$ pkg_which install-info
texinfo-4.8_3
$ locate install-info
/usr/bin/install-info
...
/usr/local/bin/install-info

There are two versions installed!  One is part of the base system
(/usr/bin/install-info) and the other was installed with the texinfo
port (/usr/local/bin/install-info).  I changed my $PATH long ago to put
/usr/local/bin in front of /usr/bin.  Because of this, the wrong
install-info was being used.  Changing $PATH back to the default or
uninstalling texinfo allowed me to install dirmngr (and other ports...).

-Jonathan

-- 
Jonathan Noack | noackjr at alumni.rice.edu | OpenPGP: 0x991D8195

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060225/a992018f/signature.bin


More information about the freebsd-questions mailing list