Re: flex [was mod_python 3.2.0-BETA available for testing]
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Mod-Python > Re: flex [was mod_python 3.2.0-BETA available for testing]




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: flex [was mod_python 3.2.0-BETA available for testing]  
Jim Gallacher


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-18-05 10:47 PM

Gregory (Grisha) Trubetskoy wrote:
>
> OK, here is the flex scoop - as the the docs point out, anything before
> 2.5.31 is not reentrant and I think even uses a slightly different
> interface so older flex won't even process the psp_parser.l file correctly
.
>
> Looking at Fedora Core 4, it still has flex 2.5.4a. (Note that 2.5.31 >
> 2.5.4 because 31 > 4 - I for a while had trouble seeing that for some
> reason), so the new flex is still not commonplace.

This is true. I took a quick survey when I was adding the --with-flex
option, and 2.5.4 was the most common. Oh, and the version numbering
confused me for a while as well, but the configure script does take it
into account when deciding if it has the correct flex.

> So until reentrant flex becomes commonplace, the solution was to include
> a pre-parsed psp_parser.c so that you woudln't need flex at all to
> compile mod_python. Looks like this still should be the case.
>
> The ./configure should just print a warning that if flex is not found or
> too old, should you need to rebuild psp_parser.c you will need to get
> the right version of flex.

When I added the flex detection I had not considered the case where
there was *no* flex on the system... just tested for the correct
version. :-(

Also, I wasn't sure how verbose to make the configure message. I just
figured that people would see the WARNING and then go to the README to
see what the deal was, which would have been the perfect plan... if I
had actually updated the README accordingly.

I'll make the fixes to configure and the README. Is the explanation in
doc-html/inst-configure.html clear or does it need to be revised as well?

Jim

[vbcol=seagreen] 






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:54 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register