apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin J. Evans" <martin.ev...@easysoft.com>
Subject RE: [subversion] Re: Building apr on sinix mips
Date Mon, 24 May 2004 12:41:26 GMT

On 23-May-2004 Joe Orton wrote:
> On Thu, May 20, 2004 at 02:44:51PM +0100, Martin J. Evans wrote:
>> 1. cpp on sinix cannot process .h files.
>>    This affects the line below in the top level makefile:
> 
> Can you file a bug on this one?
> http://issues.apache.org/bugzilla/enter_bug.cgi?product=APR&component=APR&vers
> ion=HEAD

Done. See

http://issues.apache.org/bugzilla/show_bug.cgi?id=29169

>> 2. utimbuf not defined
> 
> That is fixed already for 0.9.5 and in the 0.9.5-snapshot included in
> recent SVN tarballs AFAIK...
> 
>>    For Sinix, sys/types.h and utime.h are required for utime.

Well when I was building 1.0.2 it didn't work but it has taken so long to get
this building, 1.0.3 and now I see 1.0.4 have come out.
 
>> Anyway, apr 0.9.4 builds and installs OK after that BUT now I find
>> subversion
>> needs 0.9.5 and I cannot find that on apr.apache.org (unless it is one of
>> those
>> snapshots). Any ideas?
> 
> I'd try and use the APR snapshot included in the SVN tarball since it's
> more recent.

Which I've done now. It would appear configuring and building apr, apr-util and
neon separately then using 

--with-apr=/usr/local/apr/bin/apr-config --with-apr-util=/usr/local/apr
--with-neon=/usr/local

works for me.

>> Also, the configure caching mechanism for subversion 1.0.2 seems to fail
>> with
>> /dev/null is not a file. This is something to do with attempts to copy the
>> configure cache down into the subversion dependencies and load it in the 
>> dependent configure. I think I've got around this (perhaps incorrectly) by
>> deleting.
> 
> I'm a bit confused by this one: did you regenerate the configure script? 

No. There is no automake or autoconf on this machine

> At least subversion-1.0.4/configure seems to cope with this correctly:

See email in this thread from jean-frederic clere as it included some fixes to
configure. They helped me but it was not the final solution as the hang I
was seeing simply moved to the configure for neon.

> if test -r "$cache_file"; then
>   # Some versions of bash will fail to source /dev/null (special
>   # files actually), so we avoid doing that.
>   if test -f "$cache_file"; then
> ...
> 
> not the text you included below?
> 
>> if test -r "$cache_file"; then
>>   echo "loading cache $cache_file"
>>   . $cache_file
>> else
>>   echo "creating cache $cache_file"
>>   > $cache_file
>> fi
>> 
>> everything but > $cache_file

I wasn't using 1.0.4. Originally it was 1.0.2 then after a week of fighting
that on and off 1.0.3 came out. I'm not sure I get this problem in 1.0.3 as by
then I had started configuring and building apr, apr-util and neon separately.

I'm now stuck with AIX 4.1 but only a few more platforms after that to go.
BTW, I've reported http://issues.apache.org/bugzilla/show_bug.cgi?id=29170 in
APR re adding -Wl,-brtl to compile lines during configure which does not work
with the AIX 4.1 native compiler.

Currently I have svn on:

o various linux
o sco unixware 7
o solaris 2.8 sparcv9
o AIX 5.1L
o HP-UX 11 parisc2
o Solaris 2.5 sparc
o Solaris 2.8 x86
o AIX 4.3
o sco unixware 2.1.3
o sco openserver
o HP-UX Itanium
o HP-UX 10.10 parisc1
o tru64 alpha
o freebsd
o sinix mips

and still have MAC OS X, QNX (various), Windows Services for UNIX (interix) and
OpenVMS (last because I think there is no chance - but if anyone knows better
please let me know).

Anything I can do to assist with 29169 or 29170 please let me know.

Thanks again for all your help.

Martin
--
Martin J. Evans
Easysoft Ltd, UK
Development


Mime
View raw message