[mod_python] Re: mod_python 3.3.1 make error

Rares Vernica rvernica at gmail.com
Mon Mar 5 19:29:44 EST 2007


Rares Vernica wrote:
>>> checking for flex... /opt/gnutools-1.1/bin/flex
>>> found /opt/gnutools-1.1/bin/flex, we'll use this. Use --with-flex to 
>>> specify another.
>>> checking flex version... awk: syntax error near line 1
>>> awk: bailing out near line 1
>>> awk: syntax error near line 1
>>> awk: bailing out near line 1
>>> awk: syntax error near line 1
>>> awk: bailing out near line 1
>>> ./configure: line 3187: test: : integer expression expected
>>> configure: WARNING: Flex version 2.5.4 found.
>>>     Version 2.5.31 or greater is required.  You can generally ignore 
>>> this
>>>     warning unless you need to regenerate psp_parser.c from psp_parse.l.
>>>     If you do need regenerate psp_parser.c, use --with-flex to 
>>> specify the
>>>     location of the correct flex version. See the README for more 
>>> information.
>>
>> Although this isn't stopping compilation, it is strange that awk is 
>> failing.
>>
>> Which 'awk' is found first in your path. Ie., run:
>>
>>   which awk
>>
>> Looks like it may be finding the brain damaged BSD version of 'awk' 
>> rather
>> than SYSV one. Do you have /usr/ucb in your PATH before normal /bin and
>> /usr/bin/directories.
>>
>> The mod_python configure script should really be doing a search for the
>> existence of 'gawk', 'nawk' and 'awk' in that order when it isn't.
>>
> 
> The awk is from /usr/bin. The OS is SunOs 5.10. I have no awk in 
> /usr/ucb. Anyway, I liked gawk to awk in a directory which is first in 
> path. So, no there is no error. I have an old flex so I have to fix thsi 
> too.
> 

I fixed the flex problem so, ./configure does not have any errors or 
warnings.

Still, the make errors are the same.

Thanks a lot,
Ray



More information about the Mod_python mailing list