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 Building apr on sinix mips
Date Thu, 20 May 2004 13:44:51 GMT
Hi,

Posted to dev@apr.apache.org and users@subversion.tigris.org.

I am primarily trying to get a subversion client running on Sinix MIPS:

bash-2.04$ uname -a
SINIX-N erp 5.43 C4001 RM400 1/128 R4000

but running into a lot of problems in apr. Initially I ran configure for
subversion but it hangs during configure for apr. So I went to apr.apache.org
and got apr 0.9.4 thinking I could configure apr separately and then
tell subversion about the separate apr. I ran into a couple of problems with
apr 0.9.4:

1. cpp on sinix cannot process .h files.
   This affects the line below in the top level makefile:

 $(CPP) $(ALL_CPPFLAGS) $(ALL_INCLUDES) export_vars.h | sed -e
's/^\#[^!]*//' | sed -e '/^$$/d' >> $@

   Given export_vars.h only contained:

  apr_month_snames
  apr_day_snames

  I changed this line to:

  cat export_vars.h | sed -e 's/^\#[^!]*//' | sed -e '/^$$/d' >> $@

  which got me past this.

2. utimbuf not defined

   For Sinix, sys/types.h and utime.h are required for utime.

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?

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:

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

This problem looks like it may be fixed in subversion 1.0.3 as I'm not having
the same issue in 1.0.3.

Any pointers for how to get apr and subversion running on sinix would be
greatly appreciated.

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


Mime
View raw message