Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 51497 invoked from network); 20 May 2004 13:46:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 20 May 2004 13:46:20 -0000 Received: (qmail 94954 invoked by uid 500); 20 May 2004 13:45:44 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 94876 invoked by uid 500); 20 May 2004 13:45:43 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 94781 invoked by uid 98); 20 May 2004 13:45:42 -0000 X-Qmail-Scanner-Mail-From: martin.evans@easysoft.com via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(213.249.238.28):. Processed in 0.068894 secs) Message-ID: X-Mailer: XFMail 1.5.5-RC1 on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Thu, 20 May 2004 14:44:51 +0100 (BST) Organization: Easysoft Ltd, Home From: "Martin J. Evans" To: dev@apr.apache.org, users@subversion.tigris.org Subject: Building apr on sinix mips ESL-X-MailScanner-Information: ESL-X-MailScanner: Found to be clean ESL-X-MailScanner-SpamCheck: not spam, SpamAssassin (score=-4.9, required 7, BAYES_00) X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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