Re: Lilypond wants FlexLexer
On 12/4/2011 5:40 AM, Pierre Abbat wrote: On Saturday 03 December 2011 21:01:28 Jeremy C. Reed wrote: On Sat, 3 Dec 2011, Pierre Abbat wrote: ERROR: Please install required programs: FlexLexer.h (flex package) flex-2.5.35nb2 = Fast clone of lex(1), the lexical scanner generator Maybe the lilypond/Makefile needs near end: .include ../../devel/flex/buildlink3.mk (make clean first before trying again) Didn't work. I verified that FlexLexer.h is present: /usr/include/c++/FlexLexer.h /usr/pkg/include/FlexLexer.h /usr/pkg/include/freehdl/FlexLexer.h /usr/pkgsrc/devel/flex/work/flex-2.5.35/FlexLexer.h /usr/src/usr.bin/lex/FlexLexer.h Where's pngtopnm? I didn't find it in pkgin or pkgsrc or anywhere else. Pierre You might want to try adding USE_TOOLS+= flex somewhere in the makefile (and remove the buildlink3 link that you added). No guarantees though, I didn't try this myself. John
Re: Lilypond wants FlexLexer
On Sunday 04 December 2011 04:08:11 John Marino wrote: You might want to try adding USE_TOOLS+= flex somewhere in the makefile (and remove the buildlink3 link that you added). No guarantees though, I didn't try this myself. flex is already in USE_TOOLS. Pierre -- .i toljundi do .ibabo mi'afra tu'a do .ibabo damba do .ibabo do jinga .icu'u la ma'atman.
Re: Lilypond wants FlexLexer
On Sunday 04 December 2011 05:32:56 John Marino wrote: print/lilypond has been showing up on the bulkbuild reports as a failed package. There are no NetBSD PR reports written about it. Unfortunately, it's also maintained by pkgsrc-users which means nobody in particular is responsible for it. However, that should not stop you from opening up a NetBSD PR on this package and maybe you'll get lucky and somebody working on pkgsrc will try to fix it. I've been fixing many packages recently, but I'm going in alphabetical order by category, and it will be a long time before i'm at the print category. And I only fix them if the fix is simple and obvious. I made a symlink to FlexLexer.h in /usr/include and it's compiling. That's not a fix to the package, but it shows that it's not looking for the include file in the right place. Pierre -- When a barnacle settles down, its brain disintegrates. Já não percebe nada, já não percebe nada.
Re: Lilypond wants FlexLexer
If I remember correctly, pngtopnm is part of the netpbm package. - Ed On 12/3/2011 11:40 PM, Pierre Abbat wrote: Where's pngtopnm? I didn't find it in pkgin or pkgsrc or anywhere else. Pierre
Re: Lilypond wants FlexLexer
On Sunday 04 December 2011 05:55:47 Pierre Abbat wrote: I made a symlink to FlexLexer.h in /usr/include and it's compiling. That's not a fix to the package, but it shows that it's not looking for the include file in the right place. Looks like it's including the wrong version of FlexLexer: rm -f ./out/lexer.dep; DEPENDENCIES_OUTPUT=./out/lexer.dep ./out/lexer.o c++ -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -Woverloaded-virtual -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/python2.6 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -DHAVE_CONFIG_H -I./include -I./out -I../flower/include -I../flower/./out -I../flower/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -g -pipe -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -pthread -I/usr/pkg/include/freetype2 -I/usr/pkg/include -pthread -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include/freetype2 -I/usr/pkg/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -Wno-pmf-conversions -W -Wall -Wconversion -o out/lexer.o out/lexer.cc In file included from out/lexer.cc:242: ./out/FlexLexer.h:130: error: expected unqualified-id before numeric constant out/lexer.cc: In member function 'virtual int Lily_lexer::yylex()': out/lexer.cc:3789: error: 'yy_current_buffer' was not declared in this scope out/lexer.cc:4718: error: 'yy_current_buffer' was not declared in this scope out/lexer.cc:4741: error: 'yy_current_buffer' was not declared in this scope out/lexer.cc: In constructor 'yyFlexLexer::yyFlexLexer(std::istream*, std::ostream*)': out/lexer.cc:4858: error: 'yy_current_buffer' was not declared in this scope out/lexer.cc: In destructor 'virtual yyFlexLexer::~yyFlexLexer()': out/lexer.cc:4870: 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:4877: 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:4930: error: 'yy_current_buffer' was not declared in this scope out/lexer.cc: In member function 'void yyFlexLexer::yyunput(int, char*)': out/lexer.cc:5115: error: 'yy_current_buffer' was not declared in this scope out/lexer.cc: In member function 'int yyFlexLexer::yyinput()': out/lexer.cc:5156: 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:5215: error: 'yy_current_buffer' was not declared in this scope out/lexer.cc:5218: 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:5225: error: 'yy_current_buffer' was not declared in this scope out/lexer.cc:5228: error: 'yy_current_buffer' was not declared in this scope out/lexer.cc:5236: 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:5250: 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:5287: 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:5329: error: 'yy_current_buffer' was not declared in this scope gmake[1]: *** [out/lexer.o] Error 1 gmake[1]: Leaving directory `/usr/obj/pkgsrc/print/lilypond/work/lilypond-2.14.2/lily' gmake: *** [all] Error 2 *** Error code 2 Stop. bmake: stopped in /usr/pkgsrc/print/lilypond *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/print/lilypond Pierre -- li ze te'a ci vu'u ci bi'e te'a mu du li ci su'i ze te'a mu bi'e vu'u ci