Issue Details (XML | Word | Printable)

Key: MODPYTHON-52
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Jim Gallacher
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
mod_python

path to flex used in compiling mod_python is hard coded

Created: 11/May/05 06:39 AM   Updated: 05/Mar/06 01:58 PM
Return to search
Component/s: None
Affects Version/s: 3.2.7
Fix Version/s: 3.2.7

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works flex-patch.diff 2005-05-14 09:52 AM Jim Gallacher 5 kB
Environment: All

Resolution Date: 27/Jun/05 02:50 PM


 Description  « Hide
The path to flex in src/Makefile is hard coded to /usr/local/bin/flex. As a result compiling mod_python will fail on many systems.

The path and version of flex should be handled by the configure script. The fix is fairly simple and I will attach a patch when I've done a bit more testing.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Jim Gallacher added a comment - 14/May/05 09:52 AM
Patch adds flex path and version detection to configure.in. The configure script will need to be regenerated using autoconf.
Diff was generated using svn diff.
Changes were made to README, configure.in, src.Makefile.in and Doc/modpython2.tex

Jim Gallacher made changes - 14/May/05 09:52 AM
Field Original Value New Value
Attachment flex-patch.diff [ 20075 ]
Jim Gallacher made changes - 14/May/05 09:52 AM
Environment Linux Debian unstable (sid) All
Repository Revision Date User Message
ASF #201853 Sun Jun 26 13:52:26 UTC 2005 jgallacher Added flex detection and --with-flex option to configure.
Ref MODPYTHON-52
Files Changed
MODIFY /httpd/mod_python/trunk/Doc/modpython2.tex
MODIFY /httpd/mod_python/trunk/configure.in
MODIFY /httpd/mod_python/trunk/src/Makefile.in

Repository Revision Date User Message
ASF #201854 Sun Jun 26 13:56:54 UTC 2005 jgallacher Regenerated configure file for flex support.
Ref MODPYTHON-52
Files Changed
MODIFY /httpd/mod_python/trunk/configure

Jim Gallacher added a comment - 26/Jun/05 11:02 PM
Support for flex detection has now been committed, including documentation. This issue can be closed.

Nicolas Lehuen made changes - 27/Jun/05 02:50 PM
Resolution Fixed [ 1 ]
Fix Version/s 3.2.0 [ 11060 ]
Status Open [ 1 ] Resolved [ 5 ]
Graham Dumpleton made changes - 05/Mar/06 01:58 PM
Status Resolved [ 5 ] Closed [ 6 ]