Yeah, we could wrap it in a very simple Python script that checks the version, and then pulls in the "real" configure script.
It's not great, but it'd be better than relying on bash or something. On Fri, Jun 29, 2012 at 7:26 PM, Matt <[email protected]> wrote: > On Fri, Jun 29, 2012 at 9:43 PM, Ben Noordhuis <[email protected]> wrote: >> >> > Shouldn't the configure script print a friendlier message if a wrong >> > version of python is used? >> >> Chicken/egg problem. configure is a python script, it's the python >> interpreter that raises the error. >> >> I guess we could wrap it in a shell script that checks the python >> version but I don't find that very appealing. The build requirements >> are clearly documented in the README but that's not the main reason: I >> don't like layers upon layers, it makes debugging harder. > > > There are some decent answers here to this > problem: http://stackoverflow.com/questions/446052/python-best-way-to-check-for-python-version-in-program-that-uses-new-language-f > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
