lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make fails on freebsd 6.2 amd64


From: Nikita Borisenko
Subject: make fails on freebsd 6.2 amd64
Date: Wed, 18 Jul 2007 21:55:05 +0400

I try to build lilypond on freebsd 6.2 amd64 machine. After installing all required packages and configuring lilypond I tried  gmake all and ended up with the following message.



....
out/lexer.cc: In member function 'virtual int Lily_lexer::yylex()':
out/lexer.cc:3742: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc:4640: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc:4663: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc: In constructor 'yyFlexLexer::yyFlexLexer(std::istream*, std::ostream*)':
out/lexer.cc:4780: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc: In destructor 'virtual yyFlexLexer::~yyFlexLexer()':
out/lexer.cc:4792: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc: In member function 'virtual void yyFlexLexer::switch_streams(std::istream*, std::ostream*)':
out/lexer.cc:4799: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc: In member function 'int yyFlexLexer::yy_get_next_buffer()':
out/lexer.cc:4852: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc: In member function 'void yyFlexLexer::yyunput(int, char*)':
out/lexer.cc:5037: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc: In member function 'int yyFlexLexer::yyinput()':
out/lexer.cc:5079: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc: In member function 'virtual void yyFlexLexer::yyrestart(std::istream*)':
out/lexer.cc:5138: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc:5141: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc: In member function 'virtual void yyFlexLexer::yy_switch_to_buffer(yy_buffer_state*)':
out/lexer.cc:5148: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc:5151: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc:5159: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc: In member function 'void yyFlexLexer::yy_load_buffer_state()':
out/lexer.cc:5173: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc: In member function 'virtual void yyFlexLexer::yy_delete_buffer(yy_buffer_state*)':
out/lexer.cc:5210: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc: In member function 'void yyFlexLexer::yy_flush_buffer(yy_buffer_state*)':
out/lexer.cc:5252: error: 'yy_current_buffer' was not declared in this scope
gmake[1]: *** [out/lexer.o] Error 1
gmake[1]: Leaving directory `/usr/home/nab/temp/lilypond-2.10.25/lily'
gmake: *** [all] Error 2



My configure output is as follows



checking build system type... amd64-unknown-freebsd6.2
checking Package... LILYPOND
checking builddir... /usr/home/nab/temp/lilypond-2.10.25
checking for stepmake... ./stepmake  (${datarootdir}/stepmake not found)
checking host system type... amd64-unknown-freebsd6.2
checking for gmake... gmake
checking for find... find
checking for tar... tar
checking for bash... /bin/sh
checking for python... python
checking python version... 2.4.4
checking for python... /usr/local/bin/python
checking for gcc... gcc42
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc42 accepts -g... yes
checking for gcc42 option to accept ISO C89... none needed
checking whether compiler understands -pipe... yes
checking for IEEE-conformance compiler flags... none
checking for python... /usr/local/bin/python
checking /usr/local/bin/python version... 2.4.4
checking for /usr/local/bin/python... /usr/local/bin/python
checking for fc-match... fc-match
checking New Century Schoolbook PFB files... /usr/local/lib/X11/fonts/bitstream-vera/VeraBd.ttf /usr/local/lib/X11/fonts/bitstream-vera/Vera.ttf /usr/local/lib/X11/fonts/bitstream-vera/Vera.ttf /usr/local/lib/X11/fonts/bitstream-vera/Vera.ttf
checking for python... /usr/local/bin/python
checking /usr/local/bin/python version... 2.4.4
checking for /usr/local/bin/python... /usr/local/bin/python
checking gcc42 version... 4.2.1
checking whether we are using the GNU C++ compiler... yes
checking whether g++42 accepts -g... yes
checking g++42 version... 4.2.1
checking whether explicit instantiation is needed... no
checking for stl.data () method... yes
checking for ar... ar
checking for ranlib... ranlib
checking for dlopen in -ldl... no
checking for dlopen... yes
checking for bison... bison -y
checking for bison... bison
checking bison version... 1.75
checking for flex... flex
checking how to run the C++ preprocessor... g++42 -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 FlexLexer.h usability... yes
checking FlexLexer.h presence... yes
checking for FlexLexer.h... yes
checking for yyFlexLexer.yy_current_buffer... no
checking FlexLexer.h location... /usr/local/include/FlexLexer.h
checking language... English
checking g++42 version... 4.2.1
configure: WARNING: autoconf <= 2.59 with g++ >= 3.3 gettext test broken.
configure: WARNING: Trying gcc, cross fingers.
checking for gettext in -lintl... no
checking for gettext... no
checking for msgfmt... msgfmt
checking for mf-nowin... mf-nowin
checking for working metafont mode... ljfour
checking for kpsewhich... kpsewhich
checking how to run the C preprocessor... gcc42 -E
checking for guile-config... guile-config
checking guile-config version... 1.6.8
checking guile compile flags... -I/usr/local/include
checking guile link flags... -L/usr/local/lib -lguile -lguile-ltdl -L/usr/local/lib -lcrypt -lm
checking libguile.h usability... yes
checking libguile.h presence... yes
checking for libguile.h... yes
checking for scm_boot_guile in -lguile... yes
checking for scm_boot_guile... yes
checking for makeinfo... makeinfo
checking Python.h usability... yes
checking Python.h presence... yes
checking for Python.h... yes
checking for gs... gs
checking for gs... /usr/local/bin/gs
checking /usr/local/bin/gs version... 8.57
checking for mftrace... mftrace
checking mftrace version... 1.2.14
checking for fontforge... fontforge
checking for fontforge... /usr/local/bin/fontforge
checking /usr/local/bin/fontforge version... 20060822
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 sstream usability... yes
checking sstream presence... yes
checking for sstream... 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 fopencookie... no
checking for funopen... yes
checking for gettext... (cached) no
checking for isinf... yes
checking for mbrtowc... yes
checking for memmem... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for wcrtomb... yes
checking utf8/wchar.h usability... no
checking utf8/wchar.h presence... no
checking for utf8/wchar.h... no
checking for library containing mbrtowc... none required
checking for pkg-config... pkg-config
checking pkg-config version... 0.22
checking for pangoft2 >= 1.6.0... yes
checking PANGO_FT2_CFLAGS... -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
checking PANGO_FT2_LIBS... -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib - lpangoft2-1.0 -lfontconfig -lfreetype -lz -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv
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.2.0... yes
checking FONTCONFIG_CFLAGS... -I/usr/local/include
checking FONTCONFIG_LIBS... -L/usr/local/lib -lfontconfig
checking for freetype2 >= 0... yes
checking FREETYPE2_CFLAGS... -I/usr/local/include/freetype2 -I/usr/local/include
checking FREETYPE2_LIBS... -L/usr/local/lib -lfreetype -lz
checking host system type... (cached) amd64-unknown-freebsd6.2
checking host system type... (cached) amd64-unknown-freebsd6.2
checking for some flavor of Windows... no
checking for -windres... no
checking for windres... no
checking for guile... guile
checking for guile... /usr/local/bin/guile
checking for perl... perl
checking for perl... /usr/bin/perl
checking for makeinfo... (cached) makeinfo
checking makeinfo version... 4.8
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. 




I tried to google my problem, but there were no up to date information about building lilypond on freebsd amd64. The version provided in ports is more then 3 years old. Could there be any solution or I have to think about some other way of using lilypond?

Sincerely Yours,
Nikita.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]