On 11/22/13 6:10 PM, Hanspeter Niederstrasser wrote:
> On 11/22/2013 7:03 PM, Alexander Hansen wrote:
>> On 11/22/13 11:12 AM, magicapn...@yahoo.com wrote:
>>> Hi everyone,
>>>
>>> I have tried this multiple times, alternating with "fink selfupdate" and
>>> "fink update-all", uninstalled webkit once (hence the complete install
>>> it attempts) and updated Xcode to 4.6.3, and to the latest command-line
>>> tools there.  For some reason that eludes the uneducated me, it won't
>>> install webkit.  I hope this level of pasted detail is appropriate--I
>>> couldn't find a gcc or g++ line so just put the whole thing.  Thanks for
>>> any help you can give me!
>>>
>>> Bella
>>>
>>
>>
>> <snip> Yeah, the output doesn't print out the literal commands used in
>> this case.
>>
>>>      CXX    DerivedSources/libJavaScriptCore_la-Grammar.lo
>>> DerivedSources/Grammar.cpp:2578:16: error: no matching function for call
>>> to 'jscyylex'
>>>          yychar = yylex (&yylval, &yylloc);
>>>                   ^~~~~
>>> DerivedSources/Grammar.cpp:64:25: note: expanded from macro 'yylex'
>>> #define yylex           jscyylex
>>>                            ^~~~~~~~
>>
>> <snip>
>>
>> This looks like it might due to an incompatibility with bison-3.x.
>>
>> The following workaround may help (I haven't tried it yet because I'm
>> still trying the build myself):
>>
>> 1)  Grab the older version bison from
>> http://fink.cvs.sourceforge.net/viewvc/fink/dists/10.7/stable/main/finkinfo/devel/bison.info?revision=1.7
>> and save it as bison-2.7.1-1000.info in
>> /sw/fink/10.7/local/main/finkinfo .  Make sure not to change the file
>> extension.
>>
>> 2) Verify that "fink dumpinfo -fallversions bison" shows version
>> 2.7.1-1000 as an option.
>>
>> 3) If so, then "fink install bison-2.7.1-1000" will install that
>> version, and then you can try "fink install webkit-1.0.2".  Don't use
>> "fink update-all" just yet, since that may update bison before you get
>> webkit-1.0.2 built.
>
> I just tested webkit-1.0.2 on 10.7, and it does fail with bison-3, but
> builds if I use bison-legacy and prepend "%p/opt/bison-legacy/bin" to PATH.
>
> Hanspeter
>
>

Right.  That's an actual fix for the maintainer to implement, since fink 
will un-set a user's PATH.  :-)

The user workaround (with corrections of 1000 to 1001) puts the same 
version of bison in place, and I can confirm that it works for me.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to