Re: Lily 2.7.22

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Lily 2.7.22

Laura Conrad
>>>>> "HN" == Han-Wen Nienhuys <[hidden email]> writes:


    HN> 2.7.22 is out.


When I try to build it on my Debian unstable system, I get:

rm -f ./out/font-config-scheme.dep; DEPENDENCIES_OUTPUT="./out/font-config-scheme.dep ./out/font-config-scheme.o" g++ -c  -DHAVE_CONFIG_H  -DNDEBUG -DSTRING_UTILS_INLINED -I./include -I./out -I../flower/include -I../flower/./out -I../flower/include  -O2 -finline-functions -g -pipe  -I/usr/include/freetype2   -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -Wno-pmf-conversions -W -Wall -Wconversion -o out/font-config-scheme.o font-config-scheme.cc
font-config-scheme.cc: In function `void display_fontset(FcFontSet*)':
font-config-scheme.cc:32: error: invalid conversion from `FcChar8*' to `const
   char*'
make[1]: *** [out/font-config-scheme.o] Error 1
make[1]: Leaving directory `/home/newlily/src/lilypond/cvs/lilypond/lily'
make: *** [all] Error 2

The full log is attached:





--
Laura (mailto:[hidden email] , http://www.laymusic.org/ )
(617) 661-8097 fax: (501) 641-5011
233 Broadway, Cambridge, MA 02139

If I haven't invited you to the Renaissance Band Christmas Party on
December 18, I'm sure its an oversight.
<http://www.laymusic.org/xmas05.pdf>

_______________________________________________
lilypond-devel mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

make.log (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Lily 2.7.22

Daniel Johnson-2
Laura Conrad wrote:

>When I try to build it on my Debian unstable system, I get:
>
>rm -f ./out/font-config-scheme.dep; DEPENDENCIES_OUTPUT="./out/font-config-scheme.dep ./out/font-config-scheme.o" g++ -c  -DHAVE_CONFIG_H  -DNDEBUG -DSTRING_UTILS_INLINED -I./include -I./out -I../flower/include -I../flower/./out -I../flower/include  -O2 -finline-functions -g -pipe  -I/usr/include/freetype2   -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -Wno-pmf-conversions -W -Wall -Wconversion -o out/font-config-scheme.o font-config-scheme.cc
>font-config-scheme.cc: In function `void display_fontset(FcFontSet*)':
>font-config-scheme.cc:32: error: invalid conversion from `FcChar8*' to `const
>   char*'
>make[1]: *** [out/font-config-scheme.o] Error 1
>make[1]: Leaving directory `/home/newlily/src/lilypond/cvs/lilypond/lily'
>make: *** [all] Error 2
>
Unfortunately this has been an issue since at least 2.7.16 when using
gcc 3.3 (it works fine in 3.4).  There is a suggested solution here:
http://www.mail-archive.com/lilypond-devel@.../msg08427.html



_______________________________________________
lilypond-devel mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-devel
Reply | Threaded
Open this post in threaded view
|

Re: Lily 2.7.22

Laura Conrad
>>>>> "DJ" == Daniel Johnson <[hidden email]> writes:

    DJ> Unfortunately this has been an issue since at least 2.7.16 when using
    DJ> gcc 3.3 (it works fine in 3.4).  There is a suggested solution here:
    DJ> http://www.mail-archive.com/lilypond-devel@.../msg08427.html

I tried installing gcc 4.0.  I set the environment variable CC to
/usr/bin/g++-4.0, and ran configure, make clean, and make all.  Now I
get:

rm -f ./out/midi.dep; DEPENDENCIES_OUTPUT="./out/midi.dep ./out/midi.lo" /usr/bin/g++-4.0 -c -DPy_BUILD_CORE  -I/usr/include/python2.3  -DHAVE_CONFIG_H  -DNDEBUG -DSTRING_UTILS_INLINED -I./include -I./out -I../flower/include -I../flower/./out -O2 -finline-functions -g -pipe  -I/usr/include/freetype2   -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -fpic -fPIC -o out/midi.lo midi.c
midi.c: In function 'PyObject* midi_parse_track(unsigned char**, unsigned char*)':
midi.c:284: error: invalid conversion from 'unsigned char*' to 'const char*'
midi.c:284: error:   initializing argument 1 of 'int strcmp(const char*, const char*)'
midi.c: In function 'PyObject* pymidi_parse(PyObject*, PyObject*)':
midi.c:402: error: invalid conversion from 'unsigned char*' to 'const char*'
midi.c:402: error:   initializing argument 1 of 'int strcmp(const char*, const char*)'
make[1]: *** [out/midi.lo] Error 1
make[1]: Leaving directory `/home/newlily/src/lilypond/cvs/lilypond/python'
make: *** [all] Error 2

The complete log is:




--
Laura (mailto:[hidden email] , http://www.laymusic.org/ )
(617) 661-8097 fax: (501) 641-5011
233 Broadway, Cambridge, MA 02139

If I haven't invited you to the Renaissance Band Christmas Party on
December 18, I'm sure its an oversight.
<http://www.laymusic.org/xmas05.pdf>

_______________________________________________
lilypond-devel mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

make.log (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Lily 2.7.22

Han-Wen Nienhuys
Laura Conrad wrote:

> rm -f ./out/midi.dep; DEPENDENCIES_OUTPUT="./out/midi.dep ./out/midi.lo" /usr/bin/g++-4.0 -c -DPy_BUILD_CORE  -I/usr/include/python2.3  -DHAVE_CONFIG_H  -DNDEBUG -DSTRING_UTILS_INLINED -I./include -I./out -I../flower/include -I../flower/./out -O2 -finline-functions -g -pipe  -I/usr/include/freetype2   -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -fpic -fPIC -o out/midi.lo midi.c
> midi.c: In function 'PyObject* midi_parse_track(unsigned char**, unsigned char*)':
> midi.c:284: error: invalid conversion from 'unsigned char*' to 'const char*'
> midi.c:284: error:   initializing argument 1 of 'int strcmp(const char*, const char*)'
> midi.c: In function 'PyObject* pymidi_parse(PyObject*, PyObject*)':
> midi.c:402: error: invalid conversion from 'unsigned char*' to 'const char*'
> midi.c:402: error:   initializing argument 1 of 'int strcmp(const char*, const char*)'

thanks; fixed. FWIW, you problaby want CC=gcc-4.0 ; g++ is to be likely
more strict about pointer conversions.

--
  Han-Wen Nienhuys - [hidden email] - http://www.xs4all.nl/~hanwen


_______________________________________________
lilypond-devel mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-devel