On Tue, Oct 12, 2010 at 2:00 PM, Antony Dovgal <t...@daylessday.org> wrote:
> On 10/11/2010 10:35 PM, Michael Felt wrote: > > As to 5.3 - personally, I have some oldish PHP code that does not like > > some of the new defaults in 5.3 (as least when I tried when it first > > came out). However, I shall soon do 5.2.14. > > I'd still recommend at least _to try_ 5.3 just to make sure it really does > compile & work fine. > If that is the case, you can start backporting AIX-related changes from 5.3 > to 5.2. > > I'll try it, of course. Just as I did when it first came out. I have even tried the Alpha version, but not had much luck (then - I'll look again). > > There is another AIX idiosycrancy I found. It does not like the > > BUILD_CLI string in the Makefile. If I edit it into seperate lines and > > put those where $(BUILD_CLI) stands, the sapi/cli/php program configures > > fine. > > Make sure you use GNU make and as much other GNU utils as possible - the > native ones are broken. > Native make might be broken - but I understand legacy make (or is it POSIX) better than gnu make. Sometimes I have to use gnumake (One of the packages I port requires it). > > > Fun in porting :) > This is a poke at myself - and trying to acknowledge that I know it is a very difficult challenge to write portable code. That is why I hesitate to call anything a bug. Just because it isn't working on my system effortlessly does not make it a bug. And you are quite correct. It does get very frustrating. > Well, I wouldn't call that fun.. it's more of a frustration to me. > > > Off topic I know - but how much interest is there is a more explicit > > "debug" info of the BUILD_CLI issue. Personally I find it very strange > > as it used to work fine (the string does not look to have changed in a > > long time. I would guess it is some security 'improvement' in make or > ksh. > > GNU bash and GNU make should certainly fix it. > > And, maybe I'll have to adapt my development system to use those. But after over 30 years of using sh (the original shell, short time at csh, and the last 15+ years using ksh - I dont really want to learn a new shell. AIX is also my work, and bash is an option. ksh is there all the time. I cannot demand that the people I support use bash, so I dont want to be overly dependent on it professionally either. I shall try gnu make and see if the problem with BUILDCLI goes away - as gnumake already built. And if that does not work I'll considering loading bash for a test run. wbr, Michael (p.s. I had to google wbr!) > -- > Wbr, > Antony Dovgal > --- > http://pinba.org - realtime statistics for PHP >