Try this:
APR:
./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} \
ac_cv_file__dev_zero="yes" ac_cv_func_setpgrp_void="yes" \
apr_cv_process_shared_works="yes" apr_cv_mutex_robust_shared="no" \
apr_cv_tcp_nodelay_with_cork="yes" ac_cv_sizeof_struct_iovec="8"
apr_cv_mutex_recursive="yes"
APR_UTILS:
./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} \
--with-apr=${DEV_IMAGE}/usr/bin/apr-1-config
Note however, that I'm using the APR packages that are included in the
httpd (Apache) package
because I had trouble with compiling APR on their own.
Regards
Jevgeni wrote:
> Do you have also configuration scripts for APR and APR-UTILS?
>
> Andreas Wehrmann wrote:
>> Hello,
>>
>> I only copied sqlite from the subversion-debs to the main subversion
>> directory,
>> because I had issues with compiling the sqlite package separately.
>> Yes, I use FSFS and no, no specific configuration.
>> The configuration parameters I used are as follows (you may safely
>> ignore the Python stuff):
>>
>> ac_cv_python_includes="-I${DEV_IMAGE}/usr/include/python2.4"
>> svn_cv_pycfmt_apr_int64_t=L \
>> ac_cv_python_compile="gcc -fPIC" ac_cv_python_link="gcc -shared" \
>> ac_cv_python_libs=" " \
>> ./configure PYTHON=${DEV_IMAGE}/usr/bin/python --prefix=%{_prefix}
>> --host=$CFGHOST --target=$CFGHOST --build=%{_build} \
>> --with-apr=${DEV_IMAGE}/usr/bin/apr-config
>> --with-apr-util=${DEV_IMAGE}/usr/bin/apu-config
>> --libdir=${DEV_IMAGE}/usr/lib \
>> --with-zlib=${DEV_IMAGE}/usr --without-serf --without-apxs
>> --without-berkeley-db --without-neon
>>
>>
>> Hope this helps...
>>
>> Regards,
>> Andreas Wehrmann
>>
>>
>> Jevgeni wrote:
>>
>>> Hi,
>>> Thanks for reply.
>>> Can you share configuration parameters your used during compilation?
>>> Did you use subversion-deps dependency tar file or you compiled
>>> dependences one by one apart from the subversion?
>>> Do you use FSFS?
>>> Do you have any specific configuration?
>>>
>>> Regards,
>>> Jevgeni
>>>
>>> Andreas Wehrmann wrote:
>>>
>>>> Hey,
>>>>
>>>> cannot really help you, but I just wanted to let everyone know that I
>>>> successfully compiled SVN 1.6.3 on a m68k machine and it
>>>> seems to work perfectly. I can also create directories in the root
>>>> of a
>>>> repo doing
>>>> "svn mkdir svn://myserver/mydir".
>>>>
>>>> Regards,
>>>> Andreas Wehrmann
>>>>
>>>>
>>>> Jevgeni wrote:
>>>>
>>>>> Hi
>>>>> I have cross-compiled subversion 1.6.3 for mipsel and continued to
>>>>> use my repository from 1.5. Everything worked like a charm until I
>>>>> tried to add one more folder to the root of the repository. Each
>>>>> time I tried, it wrote me next error message:
>>>>>
>>>>> svn mkdir "svn://192.168.2.5/test" -m "test"
>>>>> svn: Corrupt node-revision '0.0.t0-0'
>>>>> svn: Malformed text representation offset line in node-rev
>>>>>
>>>>> If I try one more time I will get
>>>>>
>>>>> svn: Corrupt node-revision '0.0.t0-1'
>>>>>
>>>>> and so on...
>>>>>
>>>>> Then I created new repository to check if I can add folder to
>>>>> blank repository. I still get the same error.
>>>>>
>>>>> svn mkdir "svn://192.168.2.5/test" -m "test"
>>>>> svn: Corrupt node-revision '0.0.t0-0'
>>>>> svn: Malformed text representation offset line in node-rev
>>>>>
>>>>> Any ideas?
>>>>>
>>>>> Toolchain:
>>>>> http://www.lundman.net/wiki/index.php/NMT:downloads
>>>>> nmt-linux-intel-toolchain-gcc-4.0.4-linux-2.6.15.7-uclibc-0.9.28.3-lundman-P1.tgz
>>>>> <http://www.lundman.net/ftp/nmt/nmt-linux-intel-toolchain-gcc-4.0.4-linux-2.6.15.7-uclibc-0.9.28.3-lundman-P1.tgz>
>>>>> The Linux binary toolchain.
>>>>>
>>>>> Toolchain environment:
>>>>>
>>>>> TOOLCHAIN=/usr/local/mips
>>>>> export PATH=${TOOLCHAIN}/bin:${PATH}
>>>>> export CC=${TOOLCHAIN}/bin/mipsel-linux-uclibc-gcc
>>>>> export LDFLAGS=-L/usr/mipsel-linux-uclibc/lib
>>>>> export CPPFLAGS=-I/usr/mipsel-linux-uclibc/include
>>>>> export CPP=${TOOLCHAIN}/bin/mipsel-linux-uclibc-cpp
>>>>> export CROSS_COMPILE=mipsel-linux-uclibc-
>>>>> export ARCH=mips
>>>>>
>>>>> Next are configuration parameters for each component I have:
>>>>>
>>>>> * expat-2.0.1
>>>>>
>>>>> ./configure --prefix=/home/$USER/Desktop/mips/expat
>>>>> --host=mipsel-linux-uclibc
>>>>>
>>>>> * apr-1.3.5
>>>>>
>>>>> ./configure --prefix=/home/$USER/Desktop/mips/apr
>>>>> --host=mipsel-linux-uclibc \
>>>>> ac_cv_file__dev_zero="yes" ac_cv_func_setpgrp_void="yes" \
>>>>> apr_cv_process_shared_works="yes" apr_cv_mutex_robust_shared="no" \
>>>>> apr_cv_tcp_nodelay_with_cork="yes" ac_cv_sizeof_struct_iovec="8" \
>>>>> apr_cv_mutex_recursive="yes"
>>>>>
>>>>> * apr-util-1.3.7
>>>>>
>>>>> ./configure --prefix=/home/$USER/Desktop/mips/apr-util
>>>>> --host=mipsel-linux --with-apr=/home/$USER/Desktop/mips/apr
>>>>>
>>>>> * zlib-1.2.3
>>>>>
>>>>> ./configure
>>>>> --prefix=/home/$USER/Desktop/mips/zlib/mipsel-linux-uclibc-gnu
>>>>>
>>>>> * sqlite-3.6.16
>>>>>
>>>>> ./configure --prefix=/home/$USER/Desktop/mips/sqlite
>>>>> --host=mipsel-linux-uclibc
>>>>>
>>>>> * subversion-1.6.3
>>>>>
>>>>> LDFLAGS="$LDFLAGS -L/home/$USER/Desktop/mips/expat/lib/"
>>>>> ./autogen.sh
>>>>> ./configure --prefix=/home/$USER/Desktop/mips/subversion
>>>>> --host=mipsel-linux-uclibc --with-apr=/home/$USER/Desktop/mips/apr \
>>>>> --with-apr-util=/home/$USER/Desktop/mips/apr-util
>>>>> --with-zlib=/home/$USER/Desktop/mips/zlib/mipsel-linux-uclibc-gnu/ \
>>>>> --with-sqlite=/home/$USER/Desktop/mips/sqlite
>>>>>
>>>>> What am I doing wrong? Is it possible to fix?
>>>>>
>>>>> Also I tried to cross-compile 1.5.6. But had no success yet.
>>>>>
>>>>> Regards,
>>>>>
>>>>> Jevgeni
>>>>>
>>>>> ------------------------------------------------------
>>>>> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2375785
>>>>>
>>>>>
>>>>> To unsubscribe from this discussion, e-mail:
>>>>> [users-unsubscribe_at_subversion.tigris.org].
>>>>>
>>>>>
>>>>
>>> ------------------------------------------------------
>>> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2375962
>>>
>>>
>>> To unsubscribe from this discussion, e-mail:
>>> [users-unsubscribe_at_subversion.tigris.org].
>>>
>>>
>>
>>
>
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2376485
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-29 10:50:20 CEST