Re: RC2 reports on various platforms
| From: | Ben Mansell | Date: | Fri, 30 Mar 2001 13:20:42 +0000 |
| Subject: | Re: RC2 reports on various platforms | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-2687@lists.php.net to get a copy of this message | ||
On Wed, 28 Mar 2001, Andi Gutmans wrote:
> At 04:01 PM 3/28/2001 +0100, Ben Mansell wrote:
> >On Tue, 27 Mar 2001, Andi Gutmans wrote:
> >
> > > It seems that MAC OS X requires "\r\n" like Windows.
> > > The build of PHP must be fixed in some way. I don't have access to OS X so
> > > I can't mess around with it.
> > > Can you try and replace the \n with \r\n in php4/build/genif.sh?
> >
> >I changed it but no joy. I think the problem is in
> >build/print_include.awk, which has \"\\\\n" at the end of every include.
> >For some reason, MacOSX wants more backslashes here - don't ask me why!
>
> Maybe print_include.awk should print a \r before the \n? This is of course,
> assuming that MAC OS X requires \r\n. I also heard that it might be just \r
> (seems odd) :)
Doesn't seem to be, thank goodness. I got it working by adding two extra
backslashes to the line (there are now 6 before the final n!) Of course,
this would break all other platforms, so if MacOSX is to be supported,
build/print_include.awk needs to be re-generated by configure.
--
Ben Mansell, <ben@zeus.com> Zeus Technology Ltd
Download the world's fastest webserver! Universally Serving the Net
T:+44(0)1223 525000 F:+44(0)1223 525100 http://www.zeus.com
Zeus House, Cowley Road, Cambridge, CB4 0ZT, ENGLAND