Subject: Re: pkg/20930: package gcc3 failed make install
To: None <reed@reedmedia.net>
From: Tom <tom@minnesota.com>
List: netbsd-bugs
Date: 03/31/2003 10:36:17
> On 29 Mar 2003 tom@minnesota.com wrote:
>
>> /usr/bin/install-info --info-dir=/usr/pkg/info /usr/pkg/info/cpp.info
>> install-info: warning: no entries found for `/usr/pkg/info/cpp.info';
>> nothing deleted install-info: No such file or directory for
>> /usr/pkg/info/cpp.info
>
> See PR 20880
> http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=20880
>
> I also had that problem later with other packages too. I think the
> problem was caused by having old, out-of-date install-info program.
> (I had that tool under /sbin/install-info, so I moved it away.)
I did some more digging and found this out:
http://gcc.gnu.org/ml/gcc/2003-02/msg00164.html
which says:
---
You need at least makeinfo 4.1 on the 3.2 branch and 4.2 for 3.3 branch
and mainline. (The current release is 4.4.)
---
If that's the case then their Makefile.in is incorrect and needs to be
patched for our package system. We currently have gcc-3.2.2, which
requires makeinfo-4.1. However the Makefile.in snippet:
---
MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
then echo $$r/texinfo/makeinfo/makeinfo ; \
else if (makeinfo --version \
| egrep 'texinfo[^0-9]*([1-3][0-9]|[4-9])') >/dev/null 2>&1; \
then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
---
would succeed even if we have:
# makeinfo --version
makeinfo (GNU texinfo) 4.0
--
Thomas T. Thai