This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

configure error in gcc-2.96-20000702


Hi,

I just grabbed the 2.96 sourceball from a redhat .src.rpm
(from rawhide) - it has some redhat patchs applied, but I 
looked at the patches, and do not see one responsible for the
following:

bug/analysis:

if configure does not find msgfmt, then when the build gets
to the obj-i386-redhat-linux/gcc/po directory, it fails. This
is due to the following line in obj-i386-redhat-linux/gcc/po/Makefile:

        GMSGFMT = PATH=../src:$$PATH no

        ...

        .po.gmo:
                file=`echo $* | sed 's,.*/,,'`.gmo \
                  && rm -f $$file && $(GMSGFMT) -o $$file $<

the latter GMSGFMT expands to a path then " no", so make fails due
to "no not found"

as a followup, I looked at configure.status in obj-i386-redhat-linux/gcc:

        s%@MSGFMT@%no%g
        s%@GMSGFMT@%no%g

I suspect that this might be related. (i.e. I am suspecting that since
gmsgfmt was not found, the "no" was substituted, instead of the path
that would have been substituted).

Hope this is useful.

-Greg





 
----------------------------------
E-Mail: Gregory Hosler <gregory.hosler@eno.ericsson.se>
Date: 12-Jul-00
Time: 14:16:40

        If Bill Gates had a dime for every time a Windows box crashed...
             ...Oh, wait a minute, he already does.

----------------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]