Hello folks, I’m trying to build LilyPond 2.21.3 locally, both on Debian 9 and Mac OS X 10.14.6 (Mojave). On the latter, I installed Apple’s XCode, the needed tools in /opt with MacPorts, and the needed fonts in /opt/local/share/fonts/urw-core35-fonts.
Performing the same ‘git clone’ and the same steps alongside, I run into a situation in which the contents of the build directory is by far different on both OSes, see below. Then ‘make' runs fine on Debian, but fails on Mojave due to a missing build/make directory. That beats me. Can someone explain why ‘../configure’ creates fewer files on the Mac OS X side? The trace it produces is at the end of this message. Thanks for your help! JM — Linux side: 574 git clone https://git.savannah.gnu.org/git/lilypond.git lilypond-git ; cd lilypond-git 575 ll 576 ./autogen.sh --noconfigure 577 ll 578 mkdir build/ ; cd build/ 579 ../configure user@debian: ~/lilypond-git/build > ls -sal total 228 4 drwxr-xr-x 19 user user 4096 Jul 18 14:51 . 4 drwxr-xr-x 23 user user 4096 Jul 18 14:51 .. 4 drwxr-xr-x 20 user user 4096 Jul 18 14:51 Documentation 4 -r--r--r-- 1 user user 73 Jul 18 14:51 GNUmakefile 40 -rw-r--r-- 2 user user 38783 Jul 18 14:51 INSTALL.txt 4 -rw-r--r-- 2 user user 2390 Jul 18 14:51 README.txt 4 -rw-r--r-- 1 user user 2022 Jul 18 14:51 config.hh 60 -rw-r--r-- 1 user user 57730 Jul 18 14:51 config.log 8 -rw-r--r-- 1 user user 4281 Jul 18 14:51 config.make 32 -rwxr-xr-x 1 user user 31770 Jul 18 14:51 config.status 4 drwxr-xr-x 2 user user 4096 Jul 18 14:51 elisp 4 drwxr-xr-x 2 user user 4096 Jul 18 14:51 flower 4 drwxr-xr-x 3 user user 4096 Jul 18 14:51 input 4 drwxr-xr-x 2 user user 4096 Jul 18 14:51 lily 0 -rw-r--r-- 1 user user 0 Jul 18 14:51 local.make 4 drwxr-xr-x 2 user user 4096 Jul 18 14:51 ly 4 drwxr-xr-x 2 user user 4096 Jul 18 14:51 make 4 drwxr-xr-x 2 user user 4096 Jul 18 14:51 mf 4 drwxr-xr-x 3 user user 4096 Jul 18 14:51 out 4 drwxr-xr-x 2 user user 4096 Jul 18 14:51 po 4 drwxr-xr-x 2 user user 4096 Jul 18 14:51 ps 4 drwxr-xr-x 3 user user 4096 Jul 18 14:51 python 4 drwxr-xr-x 2 user user 4096 Jul 18 14:51 scm 4 drwxr-xr-x 3 user user 4096 Jul 18 14:51 scripts 4 drwxr-xr-x 3 user user 4096 Jul 18 14:51 stepmake 4 drwxr-xr-x 2 user user 4096 Jul 18 14:51 tex 4 drwxr-xr-x 2 user user 4096 Jul 18 14:51 vim user@debian: ~/lilypond-git/build > Then ‘make' succeeds, with the make subdirectory containing: user@debian: ~/lilypond-git/build > ls -sal make total 108 4 drwxr-xr-x 2 user user 4096 Jul 18 14:51 . 4 drwxr-xr-x 19 user user 4096 Jul 18 14:51 .. 4 -rw-r--r-- 1 user user 79 Jul 18 14:51 abc-rules.make 4 -rw-r--r-- 1 user user 81 Jul 18 14:51 abc-targets.make 4 -rw-r--r-- 1 user user 78 Jul 18 14:51 abc-vars.make 4 -rw-r--r-- 1 user user 89 Jul 18 14:51 doc-i18n-root-rules.make 4 -rw-r--r-- 1 user user 91 Jul 18 14:51 doc-i18n-root-targets.make 4 -rw-r--r-- 1 user user 88 Jul 18 14:51 doc-i18n-root-vars.make 4 -rw-r--r-- 1 user user 83 Jul 18 14:51 generic-rules.make 4 -rw-r--r-- 1 user user 85 Jul 18 14:51 generic-targets.make 4 -rw-r--r-- 1 user user 82 Jul 18 14:51 generic-vars.make 4 -rw-r--r-- 1 user user 89 Jul 18 14:51 lilypond-book-rules.make 4 -rw-r--r-- 1 user user 91 Jul 18 14:51 lilypond-book-targets.make 4 -rw-r--r-- 1 user user 88 Jul 18 14:51 lilypond-book-vars.make 4 -rw-r--r-- 1 user user 84 Jul 18 14:51 lilypond-rules.make 4 -rw-r--r-- 1 user user 86 Jul 18 14:51 lilypond-targets.make 4 -rw-r--r-- 1 user user 83 Jul 18 14:51 lilypond-vars.make 4 -rw-r--r-- 1 user user 78 Jul 18 14:51 ly-rules.make 4 -rw-r--r-- 1 user user 80 Jul 18 14:51 ly-targets.make — Mac OS X side: 657 git clone https://git.savannah.gnu.org/git/lilypond.git lilypond-git ; cd lilypond-git 658 ll 659 ./autogen.sh --noconfigure 660 ll 661 mkdir build/ ; cd build/ 662 ../configure --with-urwotf-dir=/opt/local/share/fonts/urw-core35-fonts menu@macbookprojm: ~/lilypond-git/build > ls -sal total 232 0 drwxr-xr-x 8 menu staff 256 Jul 18 14:51 . 0 drwxr-xr-x 46 menu staff 1472 Jul 18 14:51 .. 8 -r--r--r-- 1 menu staff 73 Jul 18 14:51 GNUmakefile 8 -rw-r--r-- 1 menu staff 2022 Jul 18 14:51 config.hh 128 -rw-r--r-- 1 menu staff 62212 Jul 18 14:51 config.log 16 -rw-r--r-- 1 menu staff 5353 Jul 18 14:51 config.make 72 -rwxr-xr-x 1 menu staff 32811 Jul 18 14:51 config.status 0 -rw-r--r-- 1 menu staff 0 Jul 18 14:51 local.make menu@macbookprojm: ~/lilypond-git/build > Then ‘make' fails because there’s no ‘make' subdirectory: menu@macbookprojm: ~/lilypond-git/build > make /Users/menu/lilypond-git/build/../GNUmakefile.in:36: make/stepmake.make: No such file or directory — menu@macbookprojm: ~/lilypond-git/build > ../configure --with-urwotf-dir=/opt/local/share/fonts/urw-core35-fonts checking build system type... x86_64-apple-darwin18.7.0 checking host system type... x86_64-apple-darwin18.7.0 checking for gmake... no checking for make... make checking for find... find checking for tar... tar checking for python... python3 checking python3 version... 3.7.2 checking for python3... /Library/Frameworks/Python.framework/Versions/3.7/bin/python3 checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether compiler understands -pipe... yes checking for fc-list... fc-list checking for TeX Gyre fonts OTF files... yes checking for URW++ OTF files... yes checking for python... /Library/Frameworks/Python.framework/Versions/3.7/bin/python3 checking /Library/Frameworks/Python.framework/Versions/3.7/bin/python3 version... 3.7.2 checking for /Library/Frameworks/Python.framework/Versions/3.7/bin/python3... (cached) /Library/Frameworks/Python.framework/Versions/3.7/bin/python3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for ar... ar checking for ranlib... ranlib checking for bison... bison -y checking for bison... bison checking bison version... 3.6.4 checking for flex... flex checking how to run the C++ preprocessor... g++ -E checking FlexLexer.h usability... yes checking FlexLexer.h presence... yes checking for FlexLexer.h... yes checking for yyFlexLexer.yypop_buffer_state ()... yes checking FlexLexer.h location... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/FlexLexer.h checking for gettext in -lintl... no checking for gettext... no checking for msgfmt... msgfmt checking for mf-nowin... mf-nowin checking for mpost... mpost checking for working metafont mode... ljfour checking for kpsewhich... kpsewhich checking for metapost required files... yes checking for pkg-config... /opt/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for guile-1.8 >= 1.8.2... yes checking libguile18.h usability... yes checking libguile18.h presence... yes checking for libguile18.h... yes checking for scm_t_hash_fold_fn... no checking for scm_t_subr... no checking whether g++ supports -Werror=unknown-warning-option... yes checking whether g++ supports -Wcast-function-type... no checking whether g++ supports -Wsequence-point... yes checking whether g++ supports -Werror=suggest-override... no checking for usable C++ demangler... yes checking for fontforge... fontforge checking for fontforge... /opt/local/bin/fontforge checking /opt/local/bin/fontforge version... 20200314 checking for t1asm... t1asm checking for t1asm... /Library/TeX/texbin/t1asm checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking libio.h usability... no checking libio.h presence... no checking for libio.h... no checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking for sys/stat.h... (cached) yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking whether stat file-mode macros are broken... no checking for working memcmp... yes checking for vprintf... yes checking for _doprnt... no checking for chroot... yes checking for gettext... (cached) no checking for pkg-config... /opt/local/bin/pkg-config checking /opt/local/bin/pkg-config version... 0.29.2 checking for rpath linkage... no checking for pangoft2 >= 1.38.0... yes checking pango/pangoft2.h usability... yes checking pango/pangoft2.h presence... yes checking for pango/pangoft2.h... yes checking for pango_ft2_font_map_create_context... yes checking for fontconfig >= 2.4.0... yes checking for freetype2 >= 2.1.10... yes checking for glib-2.0 >= 2.38... yes checking for gobject-2.0 >= 2.38... yes checking for some flavor of Windows... no checking for -windres... no checking for x86_64-apple-darwin18.7.0-windres... no checking for windres... no checking for guile... guile checking guile version... 2.2.4 checking for guile... guile checking for guile... /opt/local/bin/guile checking for perl... perl checking for perl... /opt/local/bin/perl checking for tidy... tidy checking for tidy... /usr/bin/tidy checking for gs... gs checking for gs... /opt/local/bin/gs checking /opt/local/bin/gs version... 9.52 checking for gs... gs checking gs version... 9.52 checking for extractpdfmark... extractpdfmark checking for makeinfo... makeinfo checking makeinfo version... 6.7 checking for texi2html... texi2html checking texi2html version... 5.32 checking for dblatex... dblatex checking dblatex version... 0.3.11 checking for bibtex... bibtex checking for xelatex... xelatex checking for xetex... xetex checking for texi2pdf... texi2pdf checking for texindex... texindex checking for epsf.tex... /opt/local/share/texmf/tex/generic/epsf/epsf.tex checking for Cyrillic characters support in TeX... yes checking for pngtopnm... pngtopnm checking for convert... convert checking for zip... zip checking for rsync... rsync configure: creating ./config.status config.status: creating config.make config.status: creating config.hh config.status: config.hh is unchanged Type: make all to build LilyPond make install to install LilyPond make help to see all possible targets Edit local.make for local Makefile overrides. See INSTALL.txt and README.txt for more information menu@macbookprojm: ~/lilypond-git/build >