help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: makeinfo: missing file argument


From: Peter Dyballa
Subject: Re: makeinfo: missing file argument
Date: Thu, 5 Apr 2012 20:14:48 +0200

Am 5.4.2012 um 18:26 schrieb Glenn Morris:

> Kuroishi Mitsuo wrote:
> 
>> (cd doc/emacs; make  info)
>> /usr/bin/makeinfo --force --enable-encoding -I 
>> /home/kuroishi/download/emacs/doc/emacs -o 
>> /home/kuroishi/download/emacs/doc/emacs/../../info/emacs
>> makeinfo: missing file argument.
> 
> The questions I would ask are:
> 
> What version of make are you using?

Config.log tells: 

        checking whether we are using GNU Make
        result: no


> What is /bin/sh for you (eg bash, dash, etc)?

        SHELL='/bin/bash'  (from config.log too)


The make programme Mitsuo is using looks suspicious. I also wonder why 
configure uses lines like:

        checking for getifaddrs
        gcc -std=gnu99 -o conftest -g -O2     -Wl,-znocombreloc conftest.c  >&5 
-L/usr/local/lib
        $? = 0
        result: yes

Shouldn't ">&5" come last? On a few occasions configure reports:

        gnome-config: not found
        result: no
        (checking for lgetfilecon in -lselinux)



The comparison also showed in *my* config.log file mostly the use of gcc, but 
there are also lines like:

        checking sys/un.h usability
        gcc -std=gnu99 -I/opt/local/include -L/opt/local/lib -c -g -O2 
-I/opt/local/include      conftest.c >&5
        $? = 0
        result: yes
        checking sys/un.h presence
        cc -E -no-cpp-precomp -I/opt/local/include -L/opt/local/lib    
conftest.c
        $? = 0
        result: yes
        checking for sys/un.h
        result: yes

At its end config.log has:
        
        ac_cv_prog_CPP='cc -E -no-cpp-precomp -I/opt/local/include 
-L/opt/local/lib'
        ...
        CC='gcc -std=gnu99 -I/opt/local/include -L/opt/local/lib'
        CPP='cc -E -no-cpp-precomp -I/opt/local/include -L/opt/local/lib'

This looks also suspicious.


I must say that I don't know FreeBSD well enough to be more helpful in future. 
Looking into doc/emacs/Makefile (and comparing it with mine) is certainly a 
good option. Maybe we can see the cause why no file name is passed to makeinfo. 
Or are these lines obviously suspicious:

        EMACS_XTRA= \
                ${srcdir}/emacs-xtra.texi \
                $(srcdir)/arevert-xtra.texi \
                $(srcdir)/cal-xtra.texi \
                $(srcdir)/dired-xtra.texi \
                $(srcdir)/picture-xtra.texi \
                $(srcdir)/emerge-xtra.texi \
                $(srcdir)/vc-xtra.texi \
                $(srcdir)/vc1-xtra.texi \
                $(srcdir)/fortran-xtra.texi \
                $(srcdir)/msdog-xtra.texi
        
        EMACSSOURCES= \
                ${srcdir}/emacs.texi \
                ${srcdir}/emacsver.texi \
                ...
                ${srcdir}/kmacro.texi \
                $(EMACS_XTRA)

Usually the syntax is:

        MACRO <white space> =

--
Greetings

  Pete

We have to expect it, otherwise we would be surprised.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]