unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* makeinfo: missing file argument
@ 2012-04-04  1:53 Kuroishi Mitsuo
  2012-04-04 16:00 ` Peter Dyballa
  0 siblings, 1 reply; 22+ messages in thread
From: Kuroishi Mitsuo @ 2012-04-04  1:53 UTC (permalink / raw)
  To: help-gnu-emacs


Hello, all.

I have a trouble on building Emacs of bzr like below.

  makeinfo: missing file argument.
  Try `makeinfo --help' for more information.
  *** Error code 1

I would appreciate some advice.
Thanks in advance for your help.

--
Kuroishi Mitsuo


My system is FreeBSD (6.4-RELEASE-p7).

It was success for autogen.sh

  |
  |% ./autogen.sh
  |Checking whether you have the necessary tools...
  |(Read INSTALL.BZR for more details on building Emacs)
  |
  |Checking for autoconf (need at least version 2.65)...
  |ok
  |Checking for automake (need at least version 1.11)...
  |ok
  |Your system has the required tools, running autoreconf...
  |configure.in:638: installing `build-aux/compile'
  |configure.in:382: installing `build-aux/config.guess'
  |configure.in:382: installing `build-aux/config.sub'
  |configure.in:29: installing `build-aux/install-sh'
  |configure.in:29: installing `build-aux/missing'
  |lib/Makefile.am: installing `build-aux/depcomp'
  |You can now run `./configure'.
  | 

I did configure like this.

  |
  |% ./configure --without-x --prefix=/home/kuroishi/local
  |

And, did "make bootstrap" then the build process stopped.




^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: makeinfo: missing file argument
  2012-04-04  1:53 makeinfo: missing file argument Kuroishi Mitsuo
@ 2012-04-04 16:00 ` Peter Dyballa
  2012-04-05  0:18   ` Kuroishi Mitsuo
  0 siblings, 1 reply; 22+ messages in thread
From: Peter Dyballa @ 2012-04-04 16:00 UTC (permalink / raw)
  To: Kuroishi Mitsuo; +Cc: help-gnu-emacs


Am 4.4.2012 um 03:53 schrieb Kuroishi Mitsuo:

> I have a trouble on building Emacs of bzr like below.
> 
>  makeinfo: missing file argument.
>  Try `makeinfo --help' for more information.
>  *** Error code 1

What happened before? Why was makeinfo invoked? How was it invoked?

--
Greetings

  Pete

Competition is the great eroder of profits.




^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: makeinfo: missing file argument
  2012-04-04 16:00 ` Peter Dyballa
@ 2012-04-05  0:18   ` Kuroishi Mitsuo
  2012-04-05  9:23     ` Peter Dyballa
  2012-04-05 16:26     ` Glenn Morris
  0 siblings, 2 replies; 22+ messages in thread
From: Kuroishi Mitsuo @ 2012-04-05  0:18 UTC (permalink / raw)
  To: Peter_Dyballa; +Cc: help-gnu-emacs


  Message-id: <325DB88A-2085-40A5-87FB-27148D87A8B1@Web.DE>
  From:       Peter Dyballa <Peter_Dyballa@Web.DE>
  Subject:    Re: makeinfo: missing file argument
  Date:       Wed, 4 Apr 2012 18:00:11 +0200

  > > I have a trouble on building Emacs of bzr like below.
  > > 
  > >  makeinfo: missing file argument.
  > >  Try `makeinfo --help' for more information.
  > >  *** Error code 1
  > 
  > What happened before? Why was makeinfo invoked? How was it invoked?

The output on make bootstrap is below. And makeinfo version too.

Is there something wrong? 

Thanks, 

--
Kuroishi Mitsuo

did bzr up just now, make distclean,
and configure --without-x --prefix=/home/kuroishi/local

% make bootstrap
(cd src;      make  bootstrap-clean)
rm -f temacs core *.core \#* *.o libXMenu11.a liblw.a
rm -f ../etc/DOC
rm -f bootstrap-emacs emacs-24.0.95
rm -f buildobj.h
rm -f globals.h gl-stamp
rm -f emacs-*.*.* emacs
rm -rf deps
test "X" = "X" || rm -rf
rm -f epaths.h config.h config.stamp stamp-oldxmenu ../etc/DOC-*
if test -f ./.gdbinit; then  mv ./.gdbinit ./.gdbinit.save;  if test -f "/home/kuroishi/download/emacs/src/.gdbinit"; then rm -f ./.gdbinit.save;  else mv ./.gdbinit.save ./.gdbinit; fi;  fi
(cd oldXMenu; make  maintainer-clean)
rm -f libXMenu11.a Activate.o  AddPane.o  AddSel.o  ChgPane.o  ChgSel.o  Create.o  DelPane.o  DelSel.o  Destroy.o  Error.o  EvHand.o  FindPane.o  FindSel.o  InsPane.o  InsSel.o  Internal.o  Locate.o  Post.o  Recomp.o  SetAEQ.o  SetFrz.o  SetPane.o  SetSel.o  XDelAssoc.o XLookAssoc.o XCrAssoc.o XDestAssoc.o XMakeAssoc.o insque.o
rm -f Makefile
(cd lwlib;    make  maintainer-clean)
rm -f *.o liblw.a \#*
rm -f Makefile
rm -f TAGS
(cd lib;      make  maintainer-clean)
test -z "libgnu.a" || rm -f libgnu.a
rm -f *.o
test -z "core *.stackdump alloca.h alloca.h-t getopt.h  getopt.h-t inttypes.h inttypes.h-t signal.h signal.h-t  arg-nonnull.h arg-nonnull.h-t c++defs.h c++defs.h-t  warn-on-use.h warn-on-use.h-t stdarg.h stdarg.h-t stdbool.h  stdbool.h-t stddef.h stddef.h-t stdint.h stdint.h-t stdio.h  stdio.h-t stdlib.h stdlib.h-t sys/stat.h sys/stat.h-t time.h  time.h-t unistd.h unistd.h-t" || rm -f core *.stackdump alloca.h alloca.h-t getopt.h  getopt.h-t inttypes.h inttypes.h-t signal.h signal.h-t  arg-nonnull.h arg-nonnull.h-t c++defs.h c++defs.h-t  warn-on-use.h warn-on-use.h-t stdarg.h stdarg.h-t stdbool.h  stdbool.h-t stddef.h stddef.h-t stdint.h stdint.h-t stdio.h  stdio.h-t stdlib.h stdlib.h-t sys/stat.h sys/stat.h-t time.h  time.h-t unistd.h unistd.h-t
rm -f *.tab.c
test -z "" || rm -f
test . = "/home/kuroishi/download/emacs/lib" || test -z "" || rm -f
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
This command is intended for maintainers to use
it deletes files that may require special tools to rebuild.
test -z "alloca.h getopt.h inttypes.h signal.h  arg-nonnull.h c++defs.h warn-on-use.h      stdio.h stdlib.h sys/stat.h time.h  unistd.h" || rm -f alloca.h getopt.h inttypes.h signal.h  arg-nonnull.h c++defs.h warn-on-use.h      stdio.h stdlib.h sys/stat.h time.h  unistd.h
rm -rf ./.deps
rm -f Makefile
(cd lib-src;  make  maintainer-clean)
rm -f core *.o
rm -f etags ctags emacsclient  ebrowse profile movemail hexl  update-game-score test-distrib make-docfile
rm -f stamp-rcs-checkin stamp-grep-changelog stamp-rcs2log stamp-vcdiff
rm -f TAGS
rm -f Makefile blessmail
true
(cd doc/emacs &&   make  maintainer-clean)
rm -f *.aux *.log *.toc *.cp *.cps *.fn *.fns *.ky *.kys  *.op *.ops *.pg *.pgs *.tp *.tps *.vr *.vrs
rm -f emacs.dvi emacs-xtra.dvi emacs.pdf emacs-xtra.pdf  emacs.ps emacs-xtra.ps
rm -rf emacs.html/
rm -f emacs-manual-24.0.95.tar*
cd /home/kuroishi/download/emacs/doc/emacs/../../info && rm -f emacs emacs-[1-9] emacs-[1-9][0-9]
(cd doc/misc &&   make  maintainer-clean)
rm -f *.aux *.log *.toc *.cp *.cps *.fn *.fns *.ky *.kys  *.op *.ops *.pg *.pgs *.tp *.tps *.vr *.vrs
rm -f gnustmp.*
rm -f ada-mode.dvi  auth.dvi  autotype.dvi  calc.dvi  cc-mode.dvi  cl.dvi  dbus.dvi  dired-x.dvi  ebrowse.dvi  ede.dvi  ediff.dvi  edt.dvi  eieio.dvi  emacs-mime.dvi  epa.dvi  erc.dvi  ert.dvi  eshell.dvi  eudc.dvi  faq.dvi  flymake.dvi  forms.dvi  gnus.dvi  idlwave.dvi  info.dvi  mairix-el.dvi  message.dvi  mh-e.dvi  newsticker.dvi  nxml-mode.dvi  org.dvi  pcl-cvs.dvi  pgg.dvi  rcirc.dvi  reftex.dvi  remember.dvi  sasl.dvi  sc.dvi  semantic.dvi  ses.dvi  sieve.dvi  smtpmail.dvi  speedbar.dvi  tramp.dvi  url.dvi  vip.dvi  viper.dvi  widget.dvi  woman.dvi ada-mode.pdf  auth.pdf  autotype.pdf  calc.pdf  cc-mode.pdf  cl.pdf  dbus.pdf  dired-x.pdf  ebrowse.pdf  ede.pdf  ediff.pdf  edt.pdf  eieio.pdf  emacs-mime.pdf  epa.pdf  erc.pdf  ert.pdf  eshell.pdf  eudc.pdf  faq.pdf  flymake.pdf  forms.pdf  gnus.pdf  idlwave.pdf  info.pdf  mairix-el.pdf  message.pdf  mh-e.pdf  newsticker.pdf  nxml-mode.pdf  org.pdf  pcl-cvs.pdf  pgg.pdf  rcirc.pdf  reftex.pdf  remember.pdf  sasl.pdf  sc.pdf  semantic.pdf  ses.pdf  sieve.pdf  smtpmail.pdf  speedbar.pdf  tramp.pdf  url.pdf  vip.pdf  viper.pdf  widget.pdf  woman.pdf emacs-faq.html emacs-faq.text
cd /home/kuroishi/download/emacs/doc/misc; for file in ../../info/ada-mode  ../../info/auth  ../../info/autotype  ../../info/calc  ../../info/ccmode  ../../info/cl  ../../info/dbus  ../../info/dired-x  ../../info/ebrowse  ../../info/ede  ../../info/ediff  ../../info/edt  ../../info/eieio  ../../info/emacs-mime  ../../info/epa  ../../info/erc  ../../info/ert  ../../info/eshell  ../../info/eudc  ../../info/efaq  ../../info/flymake  ../../info/forms  ../../info/gnus  ../../info/idlwave  ../../info/info  ../../info/mairix-el  ../../info/message  ../../info/mh-e  ../../info/newsticker  ../../info/nxml-mode  ../../info/org  ../../info/pcl-cvs  ../../info/pgg  ../../info/rcirc  ../../info/remember  ../../info/reftex  ../../info/sasl  ../../info/sc  ../../info/semantic  ../../info/ses  ../../info/sieve  ../../info/smtpmail  ../../info/speedbar  ../../info/tramp  ../../info/url  ../../info/vip  ../../info/viper  ../../info/widget  ../../info/woman; do  rm -f ${file} ${file}-[1-9] ${file}-[1-9][0-9];  done
(cd doc/lispref &&   make  maintainer-clean)
rm -f *.aux *.log *.toc *.cp *.cps *.fn *.fns *.ky *.kys  *.op *.ops *.pg *.pgs *.tp *.tps *.vr *.vrs
rm -f elisp[12]*
rm -f elisp.dvi elisp.pdf elisp.ps vol[12].pdf
rm -rf elisp.html
rm -f emacs-lispref-24.0.95.tar*
cd /home/kuroishi/download/emacs/doc/lispref/../../info && rm -f elisp elisp-[1-9] elisp-[1-9][0-9]
(cd doc/lispintro &&   make  maintainer-clean)
rm -f *.aux *.log *.toc *.cp *.cps *.fn *.fns *.ky *.kys  *.op *.ops *.pg *.pgs *.tp *.tps *.vr *.vrs
rm -f emacs-lisp-intro.dvi emacs-lisp-intro.pdf emacs-lisp-intro.ps
rm -rf emacs-lisp-intro.html/
rm -f emacs-lispintro-24.0.95.tar*
cd /home/kuroishi/download/emacs/doc/lispintro/../../info && rm -f eintr eintr-[1-9]
(cd leim;     make  maintainer-clean)
rm -f quail/CCDOSPY.elc  quail/Punct.elc                 quail/QJ.elc           quail/SW.elc             quail/TONEPY.elc quail/4Corner.elc      quail/ARRAY30.elc       quail/ECDICT.elc        quail/ETZY.elc          quail/Punct-b5.elc     quail/PY-b5.elc          quail/QJ-b5.elc                 quail/ZOZY.elc quail/tsang-b5.elc       quail/quick-b5.elc      quail/tsang-cns.elc     quail/quick-cns.elc     quail/PY.elc            quail/ZIRANMA.elc       quail/CTLau.elc        quail/CTLau-b5.elc quail/CCDOSPY.el quail/Punct.el quail/QJ.el quail/SW.el quail/TONEPY.el quail/4Corner.el quail/ARRAY30.el quail/ECDICT.el quail/ETZY.el quail/Punct-b5.el quail/PY-b5.el quail/QJ-b5.el quail/ZOZY.el quail/tsang-b5.el quail/quick-b5.el quail/tsang-cns.el quail/quick-cns.el quail/PY.el quail/ZIRANMA.el quail/CTLau.el quail/CTLau-b5.el  leim-list.el changed.tit changed.misc
if test -f stamp-subdir; then rm -rf quail stamp-subdir; fi
rm -f Makefile
rm -f quail/CCDOSPY.elc  quail/Punct.elc                 quail/QJ.elc           quail/SW.elc             quail/TONEPY.elc /home/kuroishi/download/emacs/leim/quail/py-punct.elc quail/4Corner.elc        quail/ARRAY30.elc       quail/ECDICT.elc        quail/ETZY.elc          quail/Punct-b5.elc      quail/PY-b5.elc        quail/QJ-b5.elc          quail/ZOZY.elc /home/kuroishi/download/emacs/leim/quail/pypunct-b5.elc /home/kuroishi/download/emacs/leim/quail/japanese.elc /home/kuroishi/download/emacs/leim/ja-dic/ja-dic.elc /home/kuroishi/download/emacs/leim/quail/hangul.elc   /home/kuroishi/download/emacs/leim/quail/hanja.elc      /home/kuroishi/download/emacs/leim/quail/hanja3.elc     /home/kuroishi/download/emacs/leim/quail/hanja-jis.elc  /home/kuroishi/download/emacs/leim/quail/symbol-ksc.elc /home/kuroishi/download/emacs/leim/quail/thai.elc /home/kuroishi/download/emacs/leim/quail/viqr.elc /home/kuroishi/download/emacs/leim/quail/vntelex.elc /home/kuroishi/download/emacs/leim/quail/lao.elc /home/kuroishi/download/emacs/leim/quail/lrt.elc /home/kuroishi/download/emacs/leim/quail/indian.elc /home/kuroishi/download/emacs/leim/quail/tibetan.elc /home/kuroishi/download/emacs/leim/quail/latin-pre.elc      /home/kuroishi/download/emacs/leim/quail/latin-post.elc        /home/kuroishi/download/emacs/leim/quail/latin-alt.elc   /home/kuroishi/download/emacs/leim/quail/latin-ltx.elc    /home/kuroishi/download/emacs/leim/quail/welsh.elc /home/kuroishi/download/emacs/leim/quail/czech.elc  /home/kuroishi/download/emacs/leim/quail/croatian.elc  /home/kuroishi/download/emacs/leim/quail/slovak.elc /home/kuroishi/download/emacs/leim/quail/greek.elc /home/kuroishi/download/emacs/leim/quail/cyrillic.elc /home/kuroishi/download/emacs/leim/quail/cyril-jis.elc /home/kuroishi/download/emacs/leim/quail/arabic.elc  /home/kuroishi/download/emacs/leim/quail/ethiopic.elc  /home/kuroishi/download/emacs/leim/quail/ipa.elc  /home/kuroishi/download/emacs/leim/quail/ipa-praat.elc  /home/kuroishi/download/emacs/leim/quail/hebrew.elc  /home/kuroishi/download/emacs/leim/quail/georgian.elc  /home/kuroishi/download/emacs/leim/quail/persian.elc  /home/kuroishi/download/emacs/leim/quail/sisheng.elc quail/tsang-b5.elc     quail/quick-b5.elc     quail/tsang-cns.elc      quail/quick-cns.elc     quail/PY.elc            quail/ZIRANMA.elc       quail/CTLau.elc                 quail/CTLau-b5.elc /home/kuroishi/download/emacs/leim/quail/sgml-input.elc /home/kuroishi/download/emacs/leim/quail/rfc1345.elc  /home/kuroishi/download/emacs/leim/quail/uni-input.elc
(cd lisp;     make  bootstrap-clean)
cd /home/kuroishi/download/emacs/lisp; rm -f *.elc */*.elc */*/*.elc */*/*/*.elc loaddefs.el  /home/kuroishi/download/emacs/lisp/calendar/cal-loaddefs.el  /home/kuroishi/download/emacs/lisp/calendar/diary-loaddefs.el  /home/kuroishi/download/emacs/lisp/calendar/hol-loaddefs.el  /home/kuroishi/download/emacs/lisp/mh-e/mh-loaddefs.el  /home/kuroishi/download/emacs/lisp/net/tramp-loaddefs.el  cus-load.el  finder-inf.el  subdirs.el  calc/calc-loaddefs.el  eshell/esh-groups.el  cedet/semantic/loaddefs.el  cedet/ede/loaddefs.el  cedet/srecode/loaddefs.el
[ ! -f config.log ] || mv -f config.log config.log~
rm -f config.cache config.log
if [ -x ./config.status ]; then            ./config.status;                       else                                       ./configure --cache-file=/dev/null --enable-maintainer-mode;        fi
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating lib-src/Makefile
config.status: creating oldXMenu/Makefile
config.status: creating doc/emacs/Makefile
config.status: creating doc/misc/Makefile
config.status: creating doc/lispintro/Makefile
config.status: creating doc/lispref/Makefile
config.status: creating src/Makefile
config.status: creating lwlib/Makefile
config.status: creating lisp/Makefile
config.status: creating leim/Makefile
config.status: creating test/automated/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing mkdirs commands
config.status: executing epaths commands
creating src/epaths.h
config.status: executing gdbinit commands
make  info all
(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.
Try `makeinfo --help' for more information.
*** Error code 1

Stop in /a/jc-nhfs/export/nfs/home/kuroishi/download/emacs/doc/emacs.
*** Error code 1

Stop in /a/jc-nhfs/export/nfs/home/kuroishi/download/emacs.
*** Error code 1

Stop in /a/jc-nhfs/export/nfs/home/kuroishi/download/emacs.
*** Error code 1

Stop in /a/jc-nhfs/export/nfs/home/kuroishi/download/emacs.

----

% makeinfo --version
makeinfo (GNU texinfo) 4.8

Copyright (C) 2004 Free Software Foundation, Inc.
There is NO warranty.  You may redistribute this software
under the terms of the GNU General Public License.
For more information about these matters, see the files named COPYING.

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: makeinfo: missing file argument
  2012-04-05  0:18   ` Kuroishi Mitsuo
@ 2012-04-05  9:23     ` Peter Dyballa
  2012-04-05 13:22       ` Kuroishi Mitsuo
  2012-04-05 16:26     ` Glenn Morris
  1 sibling, 1 reply; 22+ messages in thread
From: Peter Dyballa @ 2012-04-05  9:23 UTC (permalink / raw)
  To: Kuroishi Mitsuo; +Cc: help-gnu-emacs


Am 5.4.2012 um 02:18 schrieb Kuroishi Mitsuo:

> (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.

Here is the bug! I have, slightly edited:

	(cd doc/emacs; make -k info)
	/opt/local/bin/makeinfo --force --enable-encoding -I .../emacs-24.0.95/doc/emacs -o .../emacs-24.0.95/doc/emacs/../../info/emacs .../emacs-24.0.95/doc/emacs/emacs.texi
	(cd doc/misc; make -k info)

The argument "<path to>/doc/emacs/emacs.texi" is missing. A possible reason might be that your terminal is limiting the line. Do you have already some variant of GNU Emacs installed? Then you could try this:

launch it, in some terminal or as X client. Then either cd in *shell* buffer to /home/kuroishi/download/emacs or open this directory in dired mode. If you want you can M-x compile RET and remove the whole text in minibuffer and substitute it with any of your configure commands, say

	configure --without-x --prefix=/home/kuroishi/local

Press RETURN. Nice output, isn't it? When configure has finished you can type again M-x compile RET and change the text in minibuffer to:

	make bootstrap

Press RETURN. If the failure happens again, then try this:

	M-x compile RET <a bit of editing in minibuffer> make distclean RET

This should remove all files that do not belong to the distribution. Now perform the configure step again and start 'make bootstrap'. If this fails again, then it's likely that there is some failure in the build system. It could be in configure and some other GNU Emacs related files, or it is in your FreeBSD system. Although I am not using FreeBSD but Mac OS X, which is a bit related to FreeBSD or NetBSD, you can send me your config.log file (pay attention here: it could be very small, 1...2 KB, then I would need the config.log~ file with more than 1 MB size) /privately/ and I can try to examine it and find a possible cause.

Do you have the file ~/download/emacs/doc/emacs/emacs.texi?

--
Greetings

  Pete

"By filing this bug report you have challenged the honor of my family. Prepare to die!"
				- Answer from Klingon software developer


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: makeinfo: missing file argument
  2012-04-05  9:23     ` Peter Dyballa
@ 2012-04-05 13:22       ` Kuroishi Mitsuo
  2012-04-05 13:31         ` Peter Dyballa
  0 siblings, 1 reply; 22+ messages in thread
From: Kuroishi Mitsuo @ 2012-04-05 13:22 UTC (permalink / raw)
  To: Peter_Dyballa; +Cc: help-gnu-emacs


  Message-id: <FD9ADD51-3915-4817-A94D-97A79FFB1616@Web.DE>
  From:       Peter Dyballa <Peter_Dyballa@Web.DE>
  Subject:    Re: makeinfo: missing file argument
  Date:       Thu, 5 Apr 2012 11:23:36 +0200

  > 
  > > (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.
  > 
  > Here is the bug! I have, slightly edited:
  > 
  > 	(cd doc/emacs; make -k info)
  > 	/opt/local/bin/makeinfo --force --enable-encoding -I .../emacs-24.0.95/doc/emacs -o .../emacs-24.0.95/doc/emacs/../../info/emacs .../emacs-24.0.95/doc/emacs/emacs.texi
  > 	(cd doc/misc; make -k info)
  > 
  > The argument "<path to>/doc/emacs/emacs.texi" is missing. A
  > possible reason might be that your terminal is limiting the
  > line.

OK. I understood the difference as you mentioned I'm not sure my
terminal isn't good though. 


  > Do you have already some variant of GNU Emacs installed? Then you could try this:
  > 
  > launch it, in some terminal or as X client. Then either cd
    in *shell* buffer to /home/kuroishi/download/emacs or open
    this directory in dired mode. If you want you can M-x
    compile RET and remove the whole text in minibuffer and
    substitute it with any of your configure commands, say
  > 
  > 	configure --without-x --prefix=/home/kuroishi/local
  > 
  > Press RETURN. Nice output, isn't it? When configure has
  > finished you can type again M-x compile RET and change the
  > text in minibuffer to:
  > 
  > 	make bootstrap
  > 
  > Press RETURN. If the failure happens again, then try this:
  > 
  > 	M-x compile RET <a bit of editing in minibuffer> make distclean RET
  > 
  > This should remove all files that do not belong to the
  > distribution. Now perform the configure step again and start
  > 'make bootstrap'.

You mean it needs to try to do entire build process in another
Emacs or so, right?

I tried building, make distclean, configure and make bootstrap,
as well but didn't go well again.


  > If this fails again, then it's likely that there is some
    failure in the build system. It could be in configure and
    some other GNU Emacs related files, or it is in your FreeBSD
    system. Although I am not using FreeBSD but Mac OS X, which
    is a bit related to FreeBSD or NetBSD, you can send me your
    config.log file (pay attention here: it could be very small,
    1...2 KB, then I would need the config.log~ file with more
    than 1 MB size) /privately/ and I can try to examine it and
    find a possible cause.

OK. I'll send it to you. Thanks for your help.


  > Do you have the file ~/download/emacs/doc/emacs/emacs.texi?

Yes, like below.

  % ls -la ~/download/emacs/doc/emacs/emacs.texi
  -rw-r--r--  1 kuroishi  staff  71616  4  4 10:17 /home/kuroishi/download/emacs/doc/emacs/emacs.texi

--
Kuroishi Mitsuo




^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: makeinfo: missing file argument
  2012-04-05 13:22       ` Kuroishi Mitsuo
@ 2012-04-05 13:31         ` Peter Dyballa
  0 siblings, 0 replies; 22+ messages in thread
From: Peter Dyballa @ 2012-04-05 13:31 UTC (permalink / raw)
  To: Kuroishi Mitsuo; +Cc: help-gnu-emacs


Am 5.4.2012 um 15:22 schrieb Kuroishi Mitsuo:

> You mean it needs to try to do entire build process in another
> Emacs or so, right?

No, it was just meant to use a build environment that is not polluted or limited by some terminal emulation programme. This programme can be the culprit. Or a setting. Settings can be in your shell or they can be for the programme (or X client). This is much too hard to debug. So some GNU Emacs is a perfect choice.

> Do you have the file ~/download/emacs/doc/emacs/emacs.texi?
> 
> Yes, like below.
> 
>  % ls -la ~/download/emacs/doc/emacs/emacs.texi
>  -rw-r--r--  1 kuroishi  staff  71616  4  4 10:17 /home/kuroishi/download/emacs/doc/emacs/emacs.texi

Has the same size as mine – there must be some bug in the build system.

Since the docs are not really necessary to run GNU Emacs, you could try to compile with 'make -k bootstrap' or just 'make -k' if the bootstrap argument makes make very picky and not forgive errors in this early stage. Then make will not stop when it sees an error. This way the src/emacs binary could be built. And it is, without installation, fully usable!

--
Greetings

  Pete

Bake pizza not war!




^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: makeinfo: missing file argument
  2012-04-05  0:18   ` Kuroishi Mitsuo
  2012-04-05  9:23     ` Peter Dyballa
@ 2012-04-05 16:26     ` Glenn Morris
  2012-04-05 18:14       ` Peter Dyballa
  2012-04-06  0:38       ` Kuroishi Mitsuo
  1 sibling, 2 replies; 22+ messages in thread
From: Glenn Morris @ 2012-04-05 16:26 UTC (permalink / raw)
  To: Kuroishi Mitsuo; +Cc: help-gnu-emacs

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?
What is /bin/sh for you (eg bash, dash, etc)?
After you configure, what does doc/emacs/Makefile look like?
  (best to send the whole thing as an attachment)

Just to see if it works, try passing the --without-makeinfo argument to
configure.



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: makeinfo: missing file argument
  2012-04-05 16:26     ` Glenn Morris
@ 2012-04-05 18:14       ` Peter Dyballa
  2012-04-06  0:38       ` Kuroishi Mitsuo
  1 sibling, 0 replies; 22+ messages in thread
From: Peter Dyballa @ 2012-04-05 18:14 UTC (permalink / raw)
  To: Glenn Morris; +Cc: help-gnu-emacs


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.




^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: makeinfo: missing file argument
  2012-04-05 16:26     ` Glenn Morris
  2012-04-05 18:14       ` Peter Dyballa
@ 2012-04-06  0:38       ` Kuroishi Mitsuo
  2012-04-06  7:06         ` Glenn Morris
  1 sibling, 1 reply; 22+ messages in thread
From: Kuroishi Mitsuo @ 2012-04-06  0:38 UTC (permalink / raw)
  To: Peter_Dyballa; +Cc: help-gnu-emacs


Thanks for your replies.


  Message-id: <1F227D90-7C7A-48CF-A303-93745460FCC2@Web.DE>
  From:       Peter Dyballa <Peter_Dyballa@Web.DE>
  Subject:    Re: makeinfo: missing file argument
  Date:       Thu, 5 Apr 2012 15:31:51 +0200

  > > You mean it needs to try to do entire build process in another
  > > Emacs or so, right?
  > 
  > No, it was just meant to use a build environment that is not
    polluted or limited by some terminal emulation
    programme. This programme can be the culprit. Or a
    setting. Settings can be in your shell or they can be for
    the programme (or X client). This is much too hard to
    debug. So some GNU Emacs is a perfect choice.

I now know. 


  Message-id: <2my5qa4022.fsf@fencepost.gnu.org>
  From:       Glenn Morris <rgm@gnu.org>
  Subject:    Re: makeinfo: missing file argument
  Date:       Thu, 05 Apr 2012 12:26:29 -0400

  > After you configure, what does doc/emacs/Makefile look like?
  >   (best to send the whole thing as an attachment)

copying below.

  > Just to see if it works, try passing the --without-makeinfo argument to
  > configure.

I'll try to build with -k option or --without-makeinfo.

--
Kuroishi Mitsuo


  *
  * doc/emacs/Makefile
  *

#### Makefile for the Emacs Manual

# Copyright (C) 1994, 1996-2012  Free Software Foundation, Inc.

# This file is part of GNU Emacs.

# GNU Emacs is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# GNU Emacs is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.

SHELL = /bin/sh

# Where to find the source code.  $(srcdir) will be the doc/emacs subdirectory
# of the source tree.  This is set by configure's `--srcdir' option.
srcdir=/home/kuroishi/download/emacs/doc/emacs

# Only for make dist.
version=24.0.95

## Where the output files go.
## Note that the setfilename command in the .texi files assumes this.
## This is a bit funny.  Because the info files are in the
## distribution tarfiles, they are always made in $scrdir/../../info,
## even for out-of-tree builds.
infodir = $(srcdir)/../../info
# Directory with the (customized) texinfo.tex file.
texinfodir = $(srcdir)/../misc

# The makeinfo program is part of the Texinfo distribution.
# Use --force so that it generates output even if there are errors.
MAKEINFO = /usr/bin/makeinfo
MAKEINFO_OPTS = --force --enable-encoding -I $(srcdir)

TEXI2DVI = texi2dvi
TEXI2PDF = texi2pdf
DVIPS = dvips


ENVADD = TEXINPUTS="$(srcdir):$(texinfodir):$(TEXINPUTS)" \
         MAKEINFO="$(MAKEINFO) $(MAKEINFO_OPTS)"


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}/doclicense.texi \
	${srcdir}/gpl.texi \
	${srcdir}/screen.texi \
	${srcdir}/commands.texi \
	${srcdir}/entering.texi \
	${srcdir}/basic.texi \
	${srcdir}/mini.texi \
	${srcdir}/m-x.texi \
	${srcdir}/help.texi \
	${srcdir}/mark.texi \
	${srcdir}/killing.texi \
	${srcdir}/regs.texi \
	${srcdir}/display.texi \
	${srcdir}/search.texi \
	${srcdir}/fixit.texi \
	${srcdir}/files.texi \
	${srcdir}/buffers.texi \
	${srcdir}/windows.texi \
	${srcdir}/frames.texi \
	${srcdir}/mule.texi \
	${srcdir}/modes.texi \
	${srcdir}/indent.texi \
	${srcdir}/text.texi \
	${srcdir}/programs.texi \
	${srcdir}/building.texi \
	${srcdir}/maintaining.texi \
	${srcdir}/abbrevs.texi \
	${srcdir}/sending.texi \
	${srcdir}/rmail.texi \
	${srcdir}/dired.texi \
	${srcdir}/calendar.texi \
	${srcdir}/misc.texi \
	${srcdir}/package.texi \
	${srcdir}/custom.texi \
	${srcdir}/trouble.texi \
	${srcdir}/cmdargs.texi \
	${srcdir}/xresources.texi \
	${srcdir}/anti.texi \
	${srcdir}/macos.texi \
	${srcdir}/msdog.texi \
	${srcdir}/gnu.texi \
	${srcdir}/glossary.texi \
	${srcdir}/ack.texi \
	${srcdir}/kmacro.texi \
	$(EMACS_XTRA)

## This seems pointless.  The info/ directory exists in both the
## repository and the release tarfiles.  We do not use any
## equivalent of mkdir -p/install-sh -d, so this is not a general
## solution anyway.  The second test -d is for parallel builds.
mkinfodir = @test -d ${infodir} || mkdir ${infodir} || test -d ${infodir}

.PHONY: info dvi html pdf ps

info: $(infodir)/emacs
dvi: emacs.dvi
html: emacs.html
pdf: emacs.pdf
ps: emacs.ps

# Note that all the Info targets build the Info files in srcdir.
# There is no provision for Info files to exist in the build directory.
# In a distribution of Emacs, the Info files should be up to date.

$(infodir)/emacs: ${EMACSSOURCES}
	$(mkinfodir)
	$(MAKEINFO) $(MAKEINFO_OPTS) -o $@ $<

emacs.dvi: ${EMACSSOURCES}
	$(ENVADD) $(TEXI2DVI) $<

emacs.ps: emacs.dvi
	$(DVIPS) -o $@ $<

emacs.pdf: ${EMACSSOURCES}
	$(ENVADD) $(TEXI2PDF) $<

emacs.html: ${EMACSSOURCES}
	$(MAKEINFO) $(MAKEINFO_OPTS) --html -o $@ $<

emacs-xtra.dvi: $(EMACS_XTRA)
	$(ENVADD) $(TEXI2DVI) $<

emacs-xtra.ps: emacs-xtra.dvi
	$(DVIPS) -o $@ $<

emacs-xtra.pdf: $(EMACS_XTRA)
	$(ENVADD) $(TEXI2PDF) $<

.PHONY: mostlyclean clean distclean maintainer-clean infoclean

## Temp files.
mostlyclean:
	rm -f *.aux *.log *.toc *.cp *.cps *.fn *.fns *.ky *.kys \
	  *.op *.ops *.pg *.pgs *.tp *.tps *.vr *.vrs

## Products not in the release tarfiles.
clean: mostlyclean
	rm -f emacs.dvi emacs-xtra.dvi emacs.pdf emacs-xtra.pdf \
	  emacs.ps emacs-xtra.ps
	rm -rf emacs.html/
	rm -f emacs-manual-${version}.tar*

distclean: clean

## In the standalone tarfile, the clean rule runs this.
infoclean:
	-cd $(infodir) && rm -f emacs emacs-[1-9] emacs-[1-9][0-9]

maintainer-clean: distclean infoclean

.PHONY: dist

## Make a standalone tarfile of the Emacs manual sources.
## The [c] is a dumb way to prevent configure expanding it.
dist:
	rm -rf emacs-manual-${version}
	mkdir emacs-manual-${version}
	cp ${srcdir}/*.texi ${texinfodir}/texinfo.tex \
	  ${srcdir}/ChangeLog* emacs-manual-${version}/
	sed -e 's/@sr[c]dir@/./' -e 's/^\(texinfodir *=\).*/\1 ./' \
	  -e 's/^\(infodir *=\).*/\1 ./' -e 's/^\(clean:.*\)/\1 infoclean/' \
	  -e "s/@ver[s]ion@/${version}/" \
	  ${srcdir}/Makefile.in > emacs-manual-${version}/Makefile
	tar -cf emacs-manual-${version}.tar emacs-manual-${version}
	rm -rf emacs-manual-${version}

### Makefile ends here



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: makeinfo: missing file argument
  2012-04-06  0:38       ` Kuroishi Mitsuo
@ 2012-04-06  7:06         ` Glenn Morris
  2012-04-06  7:22           ` Kuroishi Mitsuo
  0 siblings, 1 reply; 22+ messages in thread
From: Glenn Morris @ 2012-04-06  7:06 UTC (permalink / raw)
  To: Kuroishi Mitsuo; +Cc: help-gnu-emacs

Kuroishi Mitsuo wrote:

>   > After you configure, what does doc/emacs/Makefile look like?
>   >   (best to send the whole thing as an attachment)
>
> copying below.

I don't see anything wrong with that.
You did not say what version of Make you are using. If you have GNU Make
available, please try with that.

Also, please try the following test:
Save the end of this mail to a file called `Makefile'.
Then run:

touch file1 file2

Then what is printed if you run the commands:

make one

and

make two

?


Test Makefile follows:
-----------------

SHELL = /bin/sh

var1= \
	file1 \
	file2

var2= file1 \
	file2

one: ${var1}
	@echo $@ $<

two: ${var2}
	@echo $@ $<



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: makeinfo: missing file argument
  2012-04-06  7:06         ` Glenn Morris
@ 2012-04-06  7:22           ` Kuroishi Mitsuo
  2012-04-06  7:32             ` Glenn Morris
  0 siblings, 1 reply; 22+ messages in thread
From: Kuroishi Mitsuo @ 2012-04-06  7:22 UTC (permalink / raw)
  To: rgm; +Cc: help-gnu-emacs


  Message-id: <4i7gxt5ofg.fsf@fencepost.gnu.org>
  From:       Glenn Morris <rgm@gnu.org>
  Subject:    Re: makeinfo: missing file argument
  Date:       Fri, 06 Apr 2012 03:06:59 -0400

  > >   > After you configure, what does doc/emacs/Makefile look like?
  > >   >   (best to send the whole thing as an attachment)
  > >
  > > copying below.
  > 
  > I don't see anything wrong with that.
  > You did not say what version of Make you are using. 

sorry. It's like this.

  % LC_ALL=C gmake --version
  GNU Make 3.81
  Copyright (C) 2006  Free Software Foundation, Inc.
  This is free software; see the source for copying conditions.
  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
  PARTICULAR PURPOSE.

  This program built for i386-portbld-freebsd6.2


  > If you have GNU Make
  > available, please try with that.

And I tried that. Is it OK? 
If I do a something wrong with it, let me know about it. 

Thanks, 

--
Kuroishi Mitsuo


  |
  |~/tmp/2012-04-06% ls
  |Makefile
  |~/tmp/2012-04-06% cat Makefile 
  |SHELL = /bin/sh
  |
  |var1= \
  |        file1 \
  |        file2
  |
  |var2= file1 \
  |        file2
  |
  |one: ${var1}
  |        @echo $@ $<
  |
  |two: ${var2}
  |        @echo $@ $<
  |~/tmp/2012-04-06% touch file1 file2
  |~/tmp/2012-04-06% ls
  |Makefile        file1           file2
  |~/tmp/2012-04-06% make one
  |one
  |~/tmp/2012-04-06% gmake one
  |one file1
  |~/tmp/2012-04-06% make two
  |two
  |~/tmp/2012-04-06% gmake two
  |two file1
  |~/tmp/2012-04-06% 
  |




^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: makeinfo: missing file argument
  2012-04-06  7:22           ` Kuroishi Mitsuo
@ 2012-04-06  7:32             ` Glenn Morris
  2012-04-06  7:37               ` Glenn Morris
  2012-04-06  8:01               ` Kuroishi Mitsuo
  0 siblings, 2 replies; 22+ messages in thread
From: Glenn Morris @ 2012-04-06  7:32 UTC (permalink / raw)
  To: Kuroishi Mitsuo; +Cc: help-gnu-emacs

Kuroishi Mitsuo wrote:

> sorry. It's like this.
>
>   % LC_ALL=C gmake --version
>   GNU Make 3.81

Thanks. Can you build Emacs with gmake? I think that goes something like:

export MAKE=gmake
./configure [...]
gmake

Also, what is the version of the "make" program?

>   |~/tmp/2012-04-06% make one
>   |one
>   |~/tmp/2012-04-06% gmake one
>   |one file1
>   |~/tmp/2012-04-06% make two
>   |two
>   |~/tmp/2012-04-06% gmake two
>   |two file1

It looks like whatever "make" is, it does not understand the $<
construct, and silently replaces it with nothing.

One final test, to check that the continuation lines are not the issue:

touch file1
make one

Using test Makefile as follows:
-----------------------

SHELL = /bin/sh

var1= file1

one: ${var1}
	@echo $@ $<



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: makeinfo: missing file argument
  2012-04-06  7:32             ` Glenn Morris
@ 2012-04-06  7:37               ` Glenn Morris
  2012-04-06  9:16                 ` Peter Dyballa
  2012-04-07 19:26                 ` Glenn Morris
  2012-04-06  8:01               ` Kuroishi Mitsuo
  1 sibling, 2 replies; 22+ messages in thread
From: Glenn Morris @ 2012-04-06  7:37 UTC (permalink / raw)
  To: Kuroishi Mitsuo; +Cc: help-gnu-emacs

Glenn Morris wrote:

> It looks like whatever "make" is, it does not understand the $<
> construct, and silently replaces it with nothing.

Huh, according to

http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.68/html_node/_0024_003c-in-Ordinary-Make-Rules.html

"$<" is not portable in ordinary rules.

Emacs has always used '$<' in its Make rules, but maybe all the other
instances were in non-ordinary rules. So the Emacs Makefiles should
probably be fixed to not use '$<' in ordinary rules, like the ones in
doc/*/Makefile.

Thanks for helping to track this down!



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: makeinfo: missing file argument
  2012-04-06  7:32             ` Glenn Morris
  2012-04-06  7:37               ` Glenn Morris
@ 2012-04-06  8:01               ` Kuroishi Mitsuo
  2012-04-06  8:47                 ` Kuroishi Mitsuo
  2012-04-06  8:59                 ` Peter Dyballa
  1 sibling, 2 replies; 22+ messages in thread
From: Kuroishi Mitsuo @ 2012-04-06  8:01 UTC (permalink / raw)
  To: rgm; +Cc: help-gnu-emacs


  Message-id: <k9fwchmi2v.fsf@fencepost.gnu.org>
  From:       Glenn Morris <rgm@gnu.org>
  Subject:    Re: makeinfo: missing file argument
  Date:       Fri, 06 Apr 2012 03:32:08 -0400

  > export MAKE=gmake
  > ./configure [...]
  > gmake

After "make distclean (not gmake)", I did like below, 

  % export MAKE=gmake
  % ./configure --without-x --prefix=/home/kuroishi/local
  % gmake bootstrap

And it seems to overcome the problem but stopped building on the
way unfortunately.

attating the log at the end.

  > Also, what is the version of the "make" program?
  > 
  > >   |~/tmp/2012-04-06% make one
  > >   |one
  > >   |~/tmp/2012-04-06% gmake one
  > >   |one file1
  > >   |~/tmp/2012-04-06% make two
  > >   |two
  > >   |~/tmp/2012-04-06% gmake two
  > >   |two file1
  > 
  > It looks like whatever "make" is, it does not understand the $<
  > construct, and silently replaces it with nothing.

Hmm, I don't konw how to show the version.
I suppose it's the system(Freebsd 6.2) default varsion probably.

  > One final test, to check that the continuation lines are not the issue:
  > 
  > touch file1
  > make one
  > 
  > Using test Makefile as follows:
  > -----------------------
  > 
  > SHELL = /bin/sh
  > 
  > var1= file1
  > 
  > one: ${var1}
  > 	@echo $@ $<

OK. I tried.

  |
  |~/tmp/2012-04-06.02% cat Makefile
  |SHELL = /bin/sh
  |
  |var1= file1
  |
  |one: ${var1}
  |        @echo $@ $<
  |~/tmp/2012-04-06.02% ls
  |Makefile
  |~/tmp/2012-04-06.02% touch file1
  |~/tmp/2012-04-06.02% ls
  |Makefile        file1
  |~/tmp/2012-04-06.02% make one
  |one
  |~/tmp/2012-04-06.02% gmake one
  |one file1
  |~/tmp/2012-04-06.02% 
  |

Thanks for your help.

--
Kuroishi Mitsuo

:
:
Generating autoloads for mh-xface.el...
Generating autoloads for mh-xface.el...done
Saving file /home/kuroishi/download/emacs/lisp/net/tramp-loaddefs.el...
Wrote /home/kuroishi/download/emacs/lisp/net/tramp-loaddefs.el
(No changes need to be saved)
cd /home/kuroishi/download/emacs/lisp && chmod +w ps-print.el emulation/tpu-edt.el emacs-lisp/cl-loaddefs.el mail/rmail.el dired.el ibuffer.el htmlfontify.el emacs-lisp/eieio.el
cd /home/kuroishi/download/emacs/lisp; subdirs=`(find . -type d -print)`; for file in $subdirs; do case $file in */.* | */.*/* | */=* | */obsolete | */term ) ;; *) wins="$wins $file" ;; esac; done; \
        echo Directories: $wins; \
        EMACSLOADPATH=/home/kuroishi/download/emacs/lisp LC_ALL=C /home/kuroishi/download/emacs/src/bootstrap-emacs -batch --no-site-file --no-site-lisp -l autoload --eval '(setq generated-autoload-file "/home/kuroishi/download/emacs/lisp/loaddefs.el")' -f batch-update-autoloads $wins
Directories: . ./calc ./calendar ./cedet ./cedet/ede ./cedet/semantic ./cedet/semantic/analyze ./cedet/semantic/bovine ./cedet/semantic/decorate ./cedet/semantic/symref ./cedet/semantic/wisent ./cedet/srecode ./emacs-lisp ./emulation ./erc ./eshell ./gnus ./international ./language ./mail ./mh-e ./net ./nxml ./org ./play ./progmodes ./textmodes ./url ./vc
Wrote /home/kuroishi/download/emacs/lisp/loaddefs.el
Loading /home/kuroishi/download/emacs/lisp/vc/vc-bzr.el (source)...
Generating autoloads for align.el...
Generating autoloads for align.el...done
Generating autoloads for allout-widgets.el...
Generating autoloads for allout-widgets.el...done
Generating autoloads for allout.el...
Generating autoloads for allout.el...done
Generating autoloads for ansi-color.el...
Generating autoloads for ansi-color.el...done
Generating autoloads for apropos.el...
Generating autoloads for apropos.el...done
Generating autoloads for arc-mode.el...
Generating autoloads for arc-mode.el...done
Generating autoloads for array.el...
Generating autoloads for array.el...done
Generating autoloads for autoarg.el...
Generating autoloads for autoarg.el...done
Generating autoloads for autoinsert.el...
Generating autoloads for autoinsert.el...done
Generating autoloads for autorevert.el...
Generating autoloads for autorevert.el...done
Generating autoloads for avoid.el...
Generating autoloads for avoid.el...done
Generating autoloads for battery.el...
Generating autoloads for battery.el...done
Generating autoloads for bookmark.el...
Generating autoloads for bookmark.el...done
Generating autoloads for bs.el...
Generating autoloads for bs.el...done
Generating autoloads for calculator.el...
Generating autoloads for calculator.el...done
Generating autoloads for cdl.el...
Generating autoloads for cdl.el...done
Generating autoloads for chistory.el...
Generating autoloads for chistory.el...done
Generating autoloads for cmuscheme.el...
Generating autoloads for cmuscheme.el...done
Generating autoloads for color.el...
Generating autoloads for color.el...done
Generating autoloads for comint.el...
Generating autoloads for comint.el...done
Generating autoloads for completion.el...
Generating autoloads for completion.el...done
Generating autoloads for cus-dep.el...
Generating autoloads for cus-dep.el...done
Generating autoloads for cus-edit.el...
Generating autoloads for cus-edit.el...done
Generating autoloads for cus-theme.el...
Generating autoloads for cus-theme.el...done
Generating autoloads for dabbrev.el...
Generating autoloads for dabbrev.el...done
Generating autoloads for delim-col.el...
Generating autoloads for delim-col.el...done
Generating autoloads for delsel.el...
Generating autoloads for delsel.el...done
Generating autoloads for descr-text.el...
Generating autoloads for descr-text.el...done
Generating autoloads for desktop.el...
Generating autoloads for desktop.el...done
Generating autoloads for dframe.el...
Generating autoloads for dframe.el...done
Making generated-autoload-file local to  *autoload-file* while let-bound!
Generating autoloads for dired-aux.el...
Error: (error "Running bzr status dired.el...FAILED (status 1)")
Running bzr status ../../../../../a/jc-nhfs/export/nfs/home/kuroishi/download/emacs/lisp/dired.el...FAILED (status 1)
gmake[3]: *** [autoloads] エラー 255
gmake[3]: ディレクトリ `/a/jc-nhfs/export/nfs/home/kuroishi/download/emacs/lisp' から出ます
gmake[2]: *** [/home/kuroishi/download/emacs/src/../lisp/loaddefs.el] エラー 2
gmake[2]: ディレクトリ `/a/jc-nhfs/export/nfs/home/kuroishi/download/emacs/src' から出ます
gmake[1]: *** [src] エラー 2
gmake[1]: ディレクトリ `/a/jc-nhfs/export/nfs/home/kuroishi/download/emacs' から出ます
gmake: *** [bootstrap] エラー 2



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: makeinfo: missing file argument
  2012-04-06  8:01               ` Kuroishi Mitsuo
@ 2012-04-06  8:47                 ` Kuroishi Mitsuo
  2012-04-06  8:59                 ` Peter Dyballa
  1 sibling, 0 replies; 22+ messages in thread
From: Kuroishi Mitsuo @ 2012-04-06  8:47 UTC (permalink / raw)
  To: rgm; +Cc: help-gnu-emacs


sorry for the fuss.

  Message-id: <20120406.170147.2111159149405289913.kuroishi@iij.ad.jp>
  From:       Kuroishi Mitsuo <kuroishi@iij.ad.jp>
  Subject:    Re: makeinfo: missing file argument
  Date:       Fri, 06 Apr 2012 17:01:47 +0900 (JST)

  > After "make distclean (not gmake)", I did like below, 
  > 
  >   % export MAKE=gmake
  >   % ./configure --without-x --prefix=/home/kuroishi/local
  >   % gmake bootstrap
  > 
  > And it seems to overcome the problem but stopped building on the
  > way unfortunately.
  > 
  > attating the log at the end.

I'm installing bzr and pythong to ~/local because of various
reasons and it's the cause.

So I did like this

  % PYTHONPATH=/home/kuroishi/local/lib/python gmake install

then, it went well and I'm happy to be able to build the latest Emacs now.

Thank you very much.

--
Kuroishi Mitsuo



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: makeinfo: missing file argument
  2012-04-06  8:01               ` Kuroishi Mitsuo
  2012-04-06  8:47                 ` Kuroishi Mitsuo
@ 2012-04-06  8:59                 ` Peter Dyballa
  2012-04-06  9:15                   ` Kuroishi Mitsuo
  2012-04-06  9:52                   ` Eli Zaretskii
  1 sibling, 2 replies; 22+ messages in thread
From: Peter Dyballa @ 2012-04-06  8:59 UTC (permalink / raw)
  To: Kuroishi Mitsuo; +Cc: help-gnu-emacs


Am 6.4.2012 um 10:01 schrieb Kuroishi Mitsuo:

> Error: (error "Running bzr status dired.el...FAILED (status 1)")
> Running bzr status ../../../../../a/jc-nhfs/export/nfs/home/kuroishi/download/emacs/lisp/dired.el...FAILED (status 1)
> gmake[3]: *** [autoloads] エラー 255

You need to be on-line, the bzr server needs to be on-line... This is, IMO, not really a build failure – it looks good. The other cure is to use a different method to check-out the sources and update with 'bzr pull'. Then no on-line connection is needed at compile time. I think this method is (or was) also described on the Savannah server.


BTW, Mitsuo, you can use 

	env LC_ALL=C MAKE=gmake ./configure ...
	env LC_ALL=C gmake ...

in order to get output messages in English.

--
Greetings

  Pete

"Klingons do not believe in indentation - except perhaps in the skulls of their project managers."




^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: makeinfo: missing file argument
  2012-04-06  8:59                 ` Peter Dyballa
@ 2012-04-06  9:15                   ` Kuroishi Mitsuo
  2012-04-06  9:52                   ` Eli Zaretskii
  1 sibling, 0 replies; 22+ messages in thread
From: Kuroishi Mitsuo @ 2012-04-06  9:15 UTC (permalink / raw)
  To: Peter_Dyballa; +Cc: help-gnu-emacs


  Message-id: <40EE573D-AA6A-4130-9659-599DC472EB90@Web.DE>
  From:       Peter Dyballa <Peter_Dyballa@Web.DE>
  Subject:    Re: makeinfo: missing file argument
  Date:       Fri, 6 Apr 2012 10:59:32 +0200

  > > Error: (error "Running bzr status dired.el...FAILED (status 1)")
  > > Running bzr status ../../../../../a/jc-nhfs/export/nfs/home/kuroishi/download/emacs/lisp/dired.el...FAILED (status 1)
  > > gmake[3]: *** [autoloads] ^[$B%(%i!<^[(B 255
  > 
  > You need to be on-line, the bzr server needs to be
  > > on-line... This is, IMO, not really a build failure ^[$(Q#|^[(B it
  > > looks good. The other cure is to use a different method to
  > > check-out the sources and update with 'bzr pull'. Then no
  > > on-line connection is needed at compile time. I think this
  > > method is (or was) also described on the Savannah server.

yes, it was my own environment problem.
Now, I'm happy to be able to build the lastest Emacs.

  > BTW, Mitsuo, you can use 
  > 
  > 	env LC_ALL=C MAKE=gmake ./configure ...
  > 	env LC_ALL=C gmake ...
  > 
  > in order to get output messages in English.

OK. 

Thank you very much.

--
Kuroishi Mitsuo



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: makeinfo: missing file argument
  2012-04-06  7:37               ` Glenn Morris
@ 2012-04-06  9:16                 ` Peter Dyballa
  2012-04-07 19:26                 ` Glenn Morris
  1 sibling, 0 replies; 22+ messages in thread
From: Peter Dyballa @ 2012-04-06  9:16 UTC (permalink / raw)
  To: Glenn Morris; +Cc: help-gnu-emacs


Am 6.4.2012 um 09:37 schrieb Glenn Morris:

> Huh, according to
> 
> http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.68/html_node/_0024_003c-in-Ordinary-Make-Rules.html
> 
> "$<" is not portable in ordinary rules.

I tried to use the bsdmake programme in Mac OS X, which also won't tell its version, and it had no problems to build the docs – but ended with executing this:

	(cd doc/lispintro; bsdmake -j 1 -j 1 -j 1 -j 1 info) 

(To have a clear sight I invoked 'bsdmake -j 1 bootstrap'.) The compilation of objects and binaries with GCC never started...

--
Greetings

  Pete

»¿ʇı̣ əsnqɐ ʇ,uɐɔ noʎ ɟı̣
ɓuı̣ɥʇʎuɐ sı̣ pooɓ ʇɐɥʍ«




^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: makeinfo: missing file argument
  2012-04-06  8:59                 ` Peter Dyballa
  2012-04-06  9:15                   ` Kuroishi Mitsuo
@ 2012-04-06  9:52                   ` Eli Zaretskii
  1 sibling, 0 replies; 22+ messages in thread
From: Eli Zaretskii @ 2012-04-06  9:52 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Peter Dyballa <Peter_Dyballa@Web.DE>
> Date: Fri, 6 Apr 2012 10:59:32 +0200
> Cc: help-gnu-emacs@gnu.org
> 
> > Error: (error "Running bzr status dired.el...FAILED (status 1)")
> > Running bzr status ../../../../../a/jc-nhfs/export/nfs/home/kuroishi/download/emacs/lisp/dired.el...FAILED (status 1)
> > gmake[3]: *** [autoloads] エラー 255
> 
> You need to be on-line, the bzr server needs to be on-line...

??? Only if that's a lightweight checkout, something that is not
recommended.  For normal checkouts, "bzr status" is a local operation
and doesn't need to hit the network.




^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: makeinfo: missing file argument
  2012-04-06  7:37               ` Glenn Morris
  2012-04-06  9:16                 ` Peter Dyballa
@ 2012-04-07 19:26                 ` Glenn Morris
  2012-04-08  0:13                   ` Peter Dyballa
  2012-04-08  6:01                   ` Kuroishi Mitsuo
  1 sibling, 2 replies; 22+ messages in thread
From: Glenn Morris @ 2012-04-07 19:26 UTC (permalink / raw)
  To: Kuroishi Mitsuo; +Cc: help-gnu-emacs


I believe that the emacs-24 branch should now build with a non-GNU make.
It would be great if you could test that it works.

bzr branch bzr://bzr.savannah.gnu.org/emacs/emacs-24

(or however you fetched the trunk)



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: makeinfo: missing file argument
  2012-04-07 19:26                 ` Glenn Morris
@ 2012-04-08  0:13                   ` Peter Dyballa
  2012-04-08  6:01                   ` Kuroishi Mitsuo
  1 sibling, 0 replies; 22+ messages in thread
From: Peter Dyballa @ 2012-04-08  0:13 UTC (permalink / raw)
  To: Glenn Morris; +Cc: help-gnu-emacs


Am 7.4.2012 um 21:26 schrieb Glenn Morris:

> I believe that the emacs-24 branch should now build with a non-GNU make.

I have on intel Mac OS X 10.6.8 (Leopard) a problem with bsdmake: after temacs was compiled, a failure happens (my login shell is tcsh 6.15.00 (Astron) 2007-03-03 (x86_64-apple-darwin) options wide,nls,dl,al,kan,sm,rh,color,filec):

	cd ../lisp; bsdmake  -j 1 -j 1 -j 1 -j 1 update-subdirs
	cd .../emacs-24.0.95/lisp; subdirs=`(find . -type d -print)`;  for file in $subdirs; do  case $file in */.* | */.*/* | */=* | */cedet* ) ;;  *) wins="$wins $file" ;;  esac;  done;  for file in $wins; do  .../emacs-24.0.95/update-subdirs $file;  done;
	(find . -type d -print)
	if test "no" = "yes"; then  ln -f temacs bootstrap-emacs;  else  `/bin/pwd`/temacs --batch --load loadup bootstrap || exit 1;  mv -f emacs bootstrap-emacs;  fi
	/bin/pwd
	sh: line 2: .../emacs-24.0.95/lisp/temacs: No such file or directory
	*** Error code 1
	1 error
	*** Error code 2
	1 error
	*** Error code 2
	1 error

(Since CWD is lisp the path to temacs cannot be `/bin/pwd`/temacs.) When I then type g in the *compilation* buffer (to repeat the compilation) temacs is deleted and not made again. The compilation finishes with no error, but emacs is not built and the ELC files are not byte-compiled. So it is not really a bootstrap that starts again or is continued.


With GNU Make 3.81 this happens after temacs was built:

	cd ../lisp; make  update-subdirs
	cd .../emacs-24.0.95/lisp; subdirs=`(find . -type d -print)`; for file in $subdirs; do case $file in */.* | */.*/* | */=* | */cedet* ) ;; *) wins="$wins $file" ;; esac; done; \
		for file in $wins; do \
		   .../emacs-24.0.95/update-subdirs $file; \
		done;
	if test "no" = "yes"; then \
		  ln -f temacs bootstrap-emacs; \
		else \
		  `/bin/pwd`/temacs --batch --load loadup bootstrap || exit 1; \
		  mv -f emacs bootstrap-emacs; \
		fi
	Loading loadup.el (source)...

".../" stands for the absolute path with my home directory.


--
Greetings

  Pete

A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
	- Douglas Adams, »Mostly Harmless«




^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: makeinfo: missing file argument
  2012-04-07 19:26                 ` Glenn Morris
  2012-04-08  0:13                   ` Peter Dyballa
@ 2012-04-08  6:01                   ` Kuroishi Mitsuo
  1 sibling, 0 replies; 22+ messages in thread
From: Kuroishi Mitsuo @ 2012-04-08  6:01 UTC (permalink / raw)
  To: rgm; +Cc: help-gnu-emacs


  Message-id: <cisjgffimm.fsf@fencepost.gnu.org>
  From:       Glenn Morris <rgm@gnu.org>
  Subject:    Re: makeinfo: missing file argument
  Date:       Sat, 07 Apr 2012 15:26:41 -0400

  > I believe that the emacs-24 branch should now build with a non-GNU make.
  > It would be great if you could test that it works.
  > 
  > bzr branch bzr://bzr.savannah.gnu.org/emacs/emacs-24

I did bzr like above. And configure, make bootstrap, make
install. (not gmake)

It has no problem and works well. Great!

Regards,

--
Kuroishi Mitsuo



^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2012-04-08  6:01 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-04  1:53 makeinfo: missing file argument Kuroishi Mitsuo
2012-04-04 16:00 ` Peter Dyballa
2012-04-05  0:18   ` Kuroishi Mitsuo
2012-04-05  9:23     ` Peter Dyballa
2012-04-05 13:22       ` Kuroishi Mitsuo
2012-04-05 13:31         ` Peter Dyballa
2012-04-05 16:26     ` Glenn Morris
2012-04-05 18:14       ` Peter Dyballa
2012-04-06  0:38       ` Kuroishi Mitsuo
2012-04-06  7:06         ` Glenn Morris
2012-04-06  7:22           ` Kuroishi Mitsuo
2012-04-06  7:32             ` Glenn Morris
2012-04-06  7:37               ` Glenn Morris
2012-04-06  9:16                 ` Peter Dyballa
2012-04-07 19:26                 ` Glenn Morris
2012-04-08  0:13                   ` Peter Dyballa
2012-04-08  6:01                   ` Kuroishi Mitsuo
2012-04-06  8:01               ` Kuroishi Mitsuo
2012-04-06  8:47                 ` Kuroishi Mitsuo
2012-04-06  8:59                 ` Peter Dyballa
2012-04-06  9:15                   ` Kuroishi Mitsuo
2012-04-06  9:52                   ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).