Hi all,

When trying to build the latest trunk from bzr repo, I have 2 problems:
1) configure.bat can't find X11/xpm.h, even though it's right there with the other image format headers. 2) If I disable it, configure succeeds, but `make bootstrap` fails when compiling fns.c complaining about undeclared MD5_DIGEST_SIZE.

What can I do?

Thanks,
Dmitry.
make   -C ../lisp bootstrap-clean
make[1]: Entering directory `C:/Users/gutov/vc/emacs-trunk/lisp'
rm C:/Users/gutov/vc/emacs-trunk/lisp/loaddefs.el
rm: невозможно удалить `C:/Users/gutov/vc/emacs-trunk/lisp/loaddefs.el': No 
such file or directory
make[1]: [bootstrap-clean] Ошибка 1 (игнорирована)
make -w bootstrap-clean-CMD
make[2]: Entering directory `C:/Users/gutov/vc/emacs-trunk/lisp'
for %%f in (. calc calendar emacs-lisp emulation erc eshell gnus international 
language mail mh-e net nxml org play progmodes textmodes url vc cedet cedet/ede 
cedet/semantic cedet/srecode cedet/semantic/analyze cedet/semantic/bovine 
cedet/semantic/decorate cedet/semantic/symref cedet/semantic/wisent term 
obsolete) do for %%g in (%%f\*.elc) do @rm %%g
make[2]: Leaving directory `C:/Users/gutov/vc/emacs-trunk/lisp'
make[1]: Leaving directory `C:/Users/gutov/vc/emacs-trunk/lisp'
make   -C ../src clean
make[1]: Entering directory `C:/Users/gutov/vc/emacs-trunk/src'
rm "s/*.h~" "m/*.h~"
rm: невозможно удалить `s/*.h~': Invalid argument
rm: невозможно удалить `m/*.h~': Invalid argument
make[1]: [clean] Ошибка 1 (игнорирована)
rm 
rm: missing operand
Попробуйте `rm --help' для получения более подробного описания.
make[1]: [clean] Ошибка 1 (игнорирована)
rm -r oo-spd
rm: невозможно удалить `oo-spd': No such file or directory
make[1]: [clean] Ошибка 1 (игнорирована)
rm stamp_BLD gl-stamp globals.h
rm: невозможно удалить `stamp_BLD': No such file or directory
rm: невозможно удалить `gl-stamp': No such file or directory
rm: невозможно удалить `globals.h': No such file or directory
make[1]: [clean] Ошибка 1 (игнорирована)
rm buildobj.h
rm: невозможно удалить `buildobj.h': No such file or directory
make[1]: [clean] Ошибка 1 (игнорирована)
make[1]: Leaving directory `C:/Users/gutov/vc/emacs-trunk/src'
make   -C ../lib-src clean make-docfile
make[1]: Entering directory `C:/Users/gutov/vc/emacs-trunk/lib-src'
rm DOC* 
rm: невозможно удалить `DOC*': Invalid argument
make[1]: [clean] Ошибка 1 (игнорирована)
rm ctags.c
rm: невозможно удалить `ctags.c': No such file or directory
make[1]: [clean] Ошибка 1 (игнорирована)
rm -r oo-spd
rm stamp_BLD
mkdir "oo-spd"
mkdir "oo-spd/i386"
echo oo-spd/i386 > stamp_BLD
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -DWINDOWSNT -DDOS_NT -DNO_LDAV=1 
-DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../lib -I../nt/inc -I../src -o 
oo-spd/i386/make-docfile.o make-docfile.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -DWINDOWSNT -DDOS_NT -DNO_LDAV=1 
-DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../lib -I../nt/inc -I../src -o 
oo-spd/i386/ntlib.o ntlib.c
gcc -o oo-spd/i386/make-docfile.exe  -gdwarf-2 -g3    
oo-spd/i386/make-docfile.o oo-spd/i386/ntlib.o   -ladvapi32
make[1]: Leaving directory `C:/Users/gutov/vc/emacs-trunk/lib-src'
make   -C ../lib clean all
make[1]: Entering directory `C:/Users/gutov/vc/emacs-trunk/lib'
rm 
rm: missing operand
Попробуйте `rm --help' для получения более подробного описания.
make[1]: [clean] Ошибка 1 (игнорирована)
rm getopt.h
rm -r oo-spd
rm stamp_BLD
mkdir "oo-spd"
mkdir "oo-spd/i386"
echo oo-spd/i386 > stamp_BLD
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -DHAVE_CONFIG_H=1 -I. -I../nt/inc -I../src -o 
oo-spd/i386/dtoastr.o dtoastr.c
cp -f getopt_.h getopt.h
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -DHAVE_CONFIG_H=1 -I. -I../nt/inc -I../src -o 
oo-spd/i386/getopt.o getopt.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -DHAVE_CONFIG_H=1 -I. -I../nt/inc -I../src -o 
oo-spd/i386/getopt1.o getopt1.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -DHAVE_CONFIG_H=1 -I. -I../nt/inc -I../src -o 
oo-spd/i386/strftime.o strftime.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -DHAVE_CONFIG_H=1 -I. -I../nt/inc -I../src -o 
oo-spd/i386/time_r.o time_r.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -DHAVE_CONFIG_H=1 -I. -I../nt/inc -I../src -o 
oo-spd/i386/md5.o md5.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -DHAVE_CONFIG_H=1 -I. -I../nt/inc -I../src -o 
oo-spd/i386/sha1.o sha1.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -DHAVE_CONFIG_H=1 -I. -I../nt/inc -I../src -o 
oo-spd/i386/sha256.o sha256.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -DHAVE_CONFIG_H=1 -I. -I../nt/inc -I../src -o 
oo-spd/i386/sha512.o sha512.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -DHAVE_CONFIG_H=1 -I. -I../nt/inc -I../src -o 
oo-spd/i386/filemode.o filemode.c
rm oo-spd/i386/libgnu.a
rm: невозможно удалить `oo-spd/i386/libgnu.a': No such file or directory
make[1]: [oo-spd/i386/libgnu.a] Ошибка 1 (игнорирована)
ar -rsc oo-spd/i386/libgnu.a oo-spd/i386/dtoastr.o oo-spd/i386/getopt.o 
oo-spd/i386/getopt1.o oo-spd/i386/strftime.o oo-spd/i386/time_r.o 
oo-spd/i386/md5.o oo-spd/i386/sha1.o oo-spd/i386/sha256.o oo-spd/i386/sha512.o 
oo-spd/i386/filemode.o
make[1]: Leaving directory `C:/Users/gutov/vc/emacs-trunk/lib'
make   -C ../src bootstrap
make[1]: Entering directory `C:/Users/gutov/vc/emacs-trunk/src'
make -w bootstrap-temacs-CMD
make[2]: Entering directory `C:/Users/gutov/vc/emacs-trunk/src'
make -w  temacs CFLAGS="-I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -Demacs=1 -DHAVE_CONFIG_H -I../lib 
-I../nt/inc -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -DPURESIZE=5000000"
make[3]: Entering directory `C:/Users/gutov/vc/emacs-trunk/src'
mkdir "oo-spd"
mkdir "oo-spd/i386"
echo oo-spd/i386 > stamp_BLD
rm gl-tmp
rm: невозможно удалить `gl-tmp': No such file or directory
make[3]: [gl-stamp] Ошибка 1 (игнорирована)
"../lib-src/oo-spd/i386/make-docfile" -d . -g dosfns.o msdos.o xterm.o xfns.o 
xmenu.o xselect.o xrdb.o xsmfns.o dbusbind.o dosfns.o msdos.o xterm.o xfns.o 
xmenu.o xselect.o xrdb.o xsmfns.o fringe.o image.o fontset.o menu.o dbusbind.o 
w32.o w32console.o w32fns.o w32heap.o w32inevt.o w32menu.o w32proc.o w32reg.o 
w32select.o w32term.o w32xfns.o font.o w32font.o w32uniscribe.o dispnew.o 
frame.o scroll.o xdisp.o window.o bidi.o charset.o coding.o category.o ccl.o 
character.o chartab.o cm.o term.o terminal.o xfaces.o emacs.o keyboard.o 
macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o 
fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o 
alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o print.o 
lread.o syntax.o bytecode.o process.o callproc.o unexw32.o region-cache.o 
sound.o atimer.o doprnt.o intervals.o textprop.o composite.o gnutls.o > gl-tmp
cmd /c "fc /b gl-tmp globals.h >nul 2>&1 || cp -f gl-tmp globals.h"
rm gl-tmp
echo timestamp > gl-stamp
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -Demacs=1 -DHAVE_CONFIG_H -I../lib 
-I../nt/inc -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -DPURESIZE=5000000 -o 
oo-spd/i386/emacs.o emacs.c
rm oo-spd/i386/temacs0.a
rm: невозможно удалить `oo-spd/i386/temacs0.a': No such file or directory
make[3]: [oo-spd/i386/temacs0.a] Ошибка 1 (игнорирована)
ar -rsc oo-spd/i386/temacs0.a oo-spd/i386/emacs.o
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -Demacs=1 -DHAVE_CONFIG_H -I../lib 
-I../nt/inc -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -DPURESIZE=5000000 -o 
oo-spd/i386/alloc.o alloc.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -Demacs=1 -DHAVE_CONFIG_H -I../lib 
-I../nt/inc -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -DPURESIZE=5000000 -o 
oo-spd/i386/atimer.o atimer.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -Demacs=1 -DHAVE_CONFIG_H -I../lib 
-I../nt/inc -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -DPURESIZE=5000000 -o 
oo-spd/i386/buffer.o buffer.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -Demacs=1 -DHAVE_CONFIG_H -I../lib 
-I../nt/inc -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -DPURESIZE=5000000 -o 
oo-spd/i386/bytecode.o bytecode.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -Demacs=1 -DHAVE_CONFIG_H -I../lib 
-I../nt/inc -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -DPURESIZE=5000000 -o 
oo-spd/i386/callint.o callint.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -Demacs=1 -DHAVE_CONFIG_H -I../lib 
-I../nt/inc -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -DPURESIZE=5000000 -o 
oo-spd/i386/callproc.o callproc.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -Demacs=1 -DHAVE_CONFIG_H -I../lib 
-I../nt/inc -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -DPURESIZE=5000000 -o 
oo-spd/i386/casefiddle.o casefiddle.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -Demacs=1 -DHAVE_CONFIG_H -I../lib 
-I../nt/inc -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -DPURESIZE=5000000 -o 
oo-spd/i386/cmds.o cmds.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -Demacs=1 -DHAVE_CONFIG_H -I../lib 
-I../nt/inc -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -DPURESIZE=5000000 -o 
oo-spd/i386/data.o data.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -Demacs=1 -DHAVE_CONFIG_H -I../lib 
-I../nt/inc -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -DPURESIZE=5000000 -o 
oo-spd/i386/dired.o dired.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -Demacs=1 -DHAVE_CONFIG_H -I../lib 
-I../nt/inc -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -DPURESIZE=5000000 -o 
oo-spd/i386/dispnew.o dispnew.c
make -w make-buildobj-CMD
make[4]: Entering directory `C:/Users/gutov/vc/emacs-trunk/src'
echo #define BUILDOBJ ^"\> buildobj.h
echo oo-spd/i386/emacs.o            \>> buildobj.h
echo oo-spd/i386/alloc.o oo-spd/i386/atimer.o oo-spd/i386/buffer.o 
oo-spd/i386/bytecode.o oo-spd/i386/callint.o oo-spd/i386/callproc.o 
oo-spd/i386/casefiddle.o oo-spd/i386/cmds.o oo-spd/i386/data.o 
oo-spd/i386/dired.o oo-spd/i386/dispnew.o oo-spd/i386/doc.o 
oo-spd/i386/doprnt.o oo-spd/i386/editfns.o oo-spd/i386/eval.o 
oo-spd/i386/fileio.o oo-spd/i386/filelock.o oo-spd/i386/fns.o 
oo-spd/i386/indent.o oo-spd/i386/insdel.o oo-spd/i386/keyboard.o 
oo-spd/i386/keymap.o oo-spd/i386/lread.o oo-spd/i386/macros.o 
oo-spd/i386/marker.o oo-spd/i386/minibuf.o oo-spd/i386/w32.o 
oo-spd/i386/w32heap.o oo-spd/i386/w32inevt.o oo-spd/i386/w32proc.o 
oo-spd/i386/w32console.o oo-spd/i386/print.o oo-spd/i386/process.o 
oo-spd/i386/regex.o oo-spd/i386/scroll.o oo-spd/i386/search.o 
oo-spd/i386/sound.o oo-spd/i386/syntax.o            \>> buildobj.h
echo oo-spd/i386/sysdep.o oo-spd/i386/term.o oo-spd/i386/tparam.o 
oo-spd/i386/undo.o oo-spd/i386/unexw32.o oo-spd/i386/window.o 
oo-spd/i386/xdisp.o oo-spd/i386/casetab.o oo-spd/i386/floatfns.o 
oo-spd/i386/frame.o oo-spd/i386/gmalloc.o oo-spd/i386/gnutls.o 
oo-spd/i386/intervals.o oo-spd/i386/composite.o oo-spd/i386/ralloc.o 
oo-spd/i386/textprop.o oo-spd/i386/vm-limit.o oo-spd/i386/region-cache.o 
oo-spd/i386/bidi.o oo-spd/i386/charset.o oo-spd/i386/character.o 
oo-spd/i386/chartab.o oo-spd/i386/coding.o oo-spd/i386/category.o 
oo-spd/i386/ccl.o oo-spd/i386/font.o oo-spd/i386/fontset.o oo-spd/i386/fringe.o 
oo-spd/i386/image.o oo-spd/i386/terminal.o oo-spd/i386/menu.o 
oo-spd/i386/w32term.o oo-spd/i386/w32xfns.o oo-spd/i386/w32fns.o 
oo-spd/i386/xfaces.o oo-spd/i386/w32select.o oo-spd/i386/w32menu.o 
oo-spd/i386/w32reg.o oo-spd/i386/w32font.o oo-spd/i386/w32uniscribe.o           
 \>> buildobj.h
echo ^">> buildobj.h
make[4]: Leaving directory `C:/Users/gutov/vc/emacs-trunk/src'
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -Demacs=1 -DHAVE_CONFIG_H -I../lib 
-I../nt/inc -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -DPURESIZE=5000000 -o 
oo-spd/i386/doc.o doc.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -Demacs=1 -DHAVE_CONFIG_H -I../lib 
-I../nt/inc -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -DPURESIZE=5000000 -o 
oo-spd/i386/doprnt.o doprnt.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -Demacs=1 -DHAVE_CONFIG_H -I../lib 
-I../nt/inc -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -DPURESIZE=5000000 -o 
oo-spd/i386/editfns.o editfns.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -Demacs=1 -DHAVE_CONFIG_H -I../lib 
-I../nt/inc -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -DPURESIZE=5000000 -o 
oo-spd/i386/eval.o eval.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -Demacs=1 -DHAVE_CONFIG_H -I../lib 
-I../nt/inc -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -DPURESIZE=5000000 -o 
oo-spd/i386/fileio.o fileio.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -Demacs=1 -DHAVE_CONFIG_H -I../lib 
-I../nt/inc -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -DPURESIZE=5000000 -o 
oo-spd/i386/filelock.o filelock.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2     
-IH:/Apps/System/gnuwin32/include -Demacs=1 -DHAVE_CONFIG_H -I../lib 
-I../nt/inc -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -DPURESIZE=5000000 -o 
oo-spd/i386/fns.o fns.c
fns.c: In function `secure_hash':
fns.c:4762: error: `MD5_DIGEST_SIZE' undeclared (first use in this function)
fns.c:4762: error: (Each undeclared identifier is reported only once
fns.c:4762: error: for each function it appears in.)
fns.c:4763: error: `md5_buffer' undeclared (first use in this function)
make[3]: *** [oo-spd/i386/fns.o] Ошибка 1
make[3]: Leaving directory `C:/Users/gutov/vc/emacs-trunk/src'
make[2]: *** [bootstrap-temacs-CMD] Ошибка 2
make[2]: Leaving directory `C:/Users/gutov/vc/emacs-trunk/src'
make[1]: *** [bootstrap-temacs] Ошибка 2
make[1]: Leaving directory `C:/Users/gutov/vc/emacs-trunk/src'
make: *** [bootstrap-gmake] Ошибка 2
Checking for 'cp'...
Checking for 'rm'...
Checking whether gcc requires '-mno-cygwin'...
Checking whether W32 API headers are too old...

C:\Users\gutov\vc\emacs-trunk\nt>gcc -IH:/Apps/System/gnuwin32/include -c 
junk.c 
Using 'gcc'
Checking for libpng...
...PNG header available, building with PNG support.
Checking for libgnutls...
...GNUTLS header available, building with GNUTLS support.
Checking for jpeg-6b...
...JPEG header available, building with JPEG support.
Checking for libgif...
...GIF header available, building with GIF support.
Checking for tiff...
...TIFF header available, building with TIFF support.
Checking for libXpm...
...X11/xpm.h not found, building without XPM support.
Generating makefiles
        1 file(s) copied.
config.settings
gmake.defs
..\nt\makefile.w32-in
        1 file(s) copied.
config.settings
gmake.defs
..\admin\unidata\makefile.w32-in
        1 file(s) copied.
config.settings
gmake.defs
..\lib-src\makefile.w32-in
        1 file(s) copied.
config.settings
gmake.defs
..\lib\makefile.w32-in
        1 file(s) copied.
config.settings
gmake.defs
..\src\makefile.w32-in
        1 file(s) copied.
config.settings
gmake.defs
..\doc\emacs\makefile.w32-in
        1 file(s) copied.
config.settings
gmake.defs
..\doc\misc\makefile.w32-in
        1 file(s) copied.
config.settings
gmake.defs
..\doc\lispref\makefile.w32-in
        1 file(s) copied.
config.settings
gmake.defs
..\doc\lispintro\makefile.w32-in
        1 file(s) copied.
config.settings
gmake.defs
..\lisp\makefile.w32-in
        1 file(s) copied.
config.settings
gmake.defs
..\leim\makefile.w32-in
        1 file(s) copied.

XPM support is missing. It is required for color icons in the toolbar.
  Install libXpm development files or use --without-xpm

Important libraries are missing. Fix these issues before running make.

Reply via email to