> Attached the patches I am using, to remove the > dos_to_posix CYGWIN specific usage. > Not clear why it was needed in the past, it is not needed > in a pure cygwin enviroment and cygwin_conv_to_posix_path > is deprecated on 32bit and not available on 64bit.
I've used three patches to build lilypond-2.18.2 on cygwin64 environment. And, I've succeed following commands. $ ./configure $ make all $ make doc I've attach these patches to this mail. cygwin-python.patch: Set LDFLAGS to build python module cygwin-remove-pathconv.patch: Remove cygwin_conv_to_posix_path This patch is similar to yours. cygwin-env-TMP.patch: Don't use environment variable TMP when "make doc" If I understand correctly, cygwin system use environment variable TMP for a special purpose. In other words, on cygwin, it can not be used for other purpose like Makefile variable. > I will update the cygwin package accordingly. > Previous announce was > https://cygwin.com/ml/cygwin-announce/2015-04/msg00011.html Thank you. I use it. cygwin lilypond can handle unicode filenames. (Current mingw lilypond can not handle unicode filenames.)
--- lilypond-2.18.2/python/GNUmakefile.org 2014-03-18 00:29:16.000000000 +0900 +++ lilypond-2.18.2/python/GNUmakefile 2015-04-11 18:37:39.663482800 +0900 @@ -9,6 +9,7 @@ CFLAGS += -DPy_BUILD_CORE -Wall # unset al guile stuff from configure CONFIG_LDFLAGS= +LDFLAGS += -ldl -lpython2.7 INSTALLATION_OUT_SUFFIXES=1
--- lilypond-2.18.2/flower/file-name.cc.org 2014-03-18 00:29:16.000000000 +0900 +++ lilypond-2.18.2/flower/file-name.cc 2015-04-11 18:49:20.647822900 +0900 @@ -53,13 +53,13 @@ static string dos_to_posix (const string &file_name) { - char buf[PATH_MAX] = ""; - char s[PATH_MAX] = {0}; - file_name.copy (s, PATH_MAX - 1); + //char buf[PATH_MAX] = ""; + //char s[PATH_MAX] = {0}; + //file_name.copy (s, PATH_MAX - 1); /* ugh: char const* argument gets modified. */ - int fail = cygwin_conv_to_posix_path (s, buf); - if (!fail) - return buf; + //int fail = cygwin_conv_to_posix_path (s, buf); + //if (!fail) + // return buf; return file_name; } #endif /* __CYGWIN__ */
--- lilypond-2.18.2/input/regression/midi/GNUmakefile.org 2014-03-18 00:29:16.000000000 +0900 +++ lilypond-2.18.2/input/regression/midi/GNUmakefile 2015-04-12 21:14:05.400023100 +0900 @@ -5,8 +5,8 @@ TEXI2HTML_FLAGS += --nomenu -TMP = $(sort $(LY_FILES) $(TEXINFO_SOURCES) ) -COLLATED_FILES = ${TMP:%.ly=$(outdir)/%-midi.ly} +TMP_FILES = $(sort $(LY_FILES) $(TEXINFO_SOURCES) ) +COLLATED_FILES = ${TMP_FILES:%.ly=$(outdir)/%-midi.ly} include $(depth)/make/stepmake.make --- lilypond-2.18.2/input/regression/abc2ly/GNUmakefile.org 2014-03-18 00:29:16.000000000 +0900 +++ lilypond-2.18.2/input/regression/abc2ly/GNUmakefile 2015-04-12 21:14:27.639669800 +0900 @@ -5,8 +5,8 @@ TEXI2HTML_FLAGS += --nomenu -TMP = $(sort $(ABC_FILES) $(TEXINFO_SOURCES) ) -COLLATED_FILES = ${TMP:%.abc=$(outdir)/%.ly} +TMP_FILES = $(sort $(ABC_FILES) $(TEXINFO_SOURCES) ) +COLLATED_FILES = ${TMP_FILES:%.abc=$(outdir)/%.ly} include $(depth)/make/stepmake.make
_______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel