[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Building apr on sinix mips

From: Martin J. Evans <martin.evans_at_easysoft.com>
Date: 2004-05-24 14:31:26 CEST

Jean-frederic,

Thanks for that. It helped but the problem seemed to move to the configure for
neon where that hung (and I could not see a similar issue in that configure).
I've now configured apr, apr-util and neon separately in the subversion tree
then configured subversion with:

CFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib -ltrio -lsocket -lnsl"
./configure --with-apr=/usr/local/apr/bin/apr-config
--with-apr-util=/usr/local/apr --with-neon=/usr/local

and finally got a working svn.

Thanks again for your help.

Martin

--
Martin J. Evans
Easysoft Ltd, UK
Development
On 24-May-2004 jean-frederic clere wrote:
> Martin J. Evans wrote:
>> 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.
> 
> That is a problem in the configure of subversion.
> I have worked it around by changing the configure:
> ++++++
> --- configure.org       Wed May 19 10:02:51 2004
> +++ configure   Mon May 24 09:40:00 2004
> @@ -3158,7 +3158,7 @@
>       esac
> 
>       # The eval makes quoting arguments work.
> -    if eval $ac_abs_srcdir/configure $ac_configure_args 
> --cache-file=$ac_sub_cache_file --srcdir=$ac_abs_srcdir
> +    if eval $SHELL $ac_abs_srcdir/configure $ac_configure_args 
> --cache-file=$ac_sub_cache_file --srcdir=$ac_abs_srcdir
>       then :
>         echo "apr configured properly"
>       else
> @@ -3446,7 +3446,7 @@
>       esac
> 
>       # The eval makes quoting arguments work.
> -    if eval $ac_abs_srcdir/configure $ac_configure_args 
> --cache-file=$ac_sub_cache_file --srcdir=$ac_abs_srcdir --with-apr=../apr
> +    if eval $SHELL $ac_abs_srcdir/configure $ac_configure_args 
> --cache-file=$ac_sub_cache_file --srcdir=$ac_abs_srcdir --with-apr=../apr
>       then :
>         echo "apr-util configured properly"
>       else
> ++++++
> 
>> 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
>> 
>> 
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 24 14:32:42 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.