Nathan <nar...@hotmail.com> writes:
> Sorry, do I CC "us...@subversion.apache.org"? I don't know how to keep it
> on the list specified.
There is no Cc: in the mails you are sending to me. They are not
showing up on the list:
http://svn.haxx.se/users/archive-2014-04/
--
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Sorry, do I CC "us...@subversion.apache.org"? I don't know how to keep it on the list specified.I am not cross-compiling subversion. It is only being compiled for the build/host/target machine:*****
$ svn co http://svn.apache.org/repos/asf/subversion/trunk subversion
$ leafpad configure.acremove "AC_PROG_LIBTOOL"$ LIBTOOL_CONFIG=/cross-tools/bin/libtoolize ./autogen.sh$ ./configure --prefix=/cross-tools CFLAGS="${buildCFLAGS}" CXXFLAGS="${buildCXXFLAGS}" LDFLAGS="${buildLDFLAGS}" CPPFLAGS="${buildCPPFLAGS}"//cannot run /bin/sh build/config.sub$ make > make.log 2>&1$ make install > install.log 2>&1*****Note, I also tried configure without any parameters.My setup:VM snapshots1 build-essential2 fastboot (android)mkimage (u-boot)
gnome-partition-editor (gparted)
gnome-search-tool
3 automake
gettext
I'm in the 3rd snapshot which is a culmination of all previous snapshots.
I've built:
BC 1.06.95
linux1 3.14 (cross compile headers that is irrelevent to this part of the process)
Automake 2.69.117-1717
Help2man 1.43.3
Autoconf 2.69.117-1717
libtool 2.4.2.444.28-053d-dirty
Xz 5.1.3alpha
zlib 1.2.8
ncurses1 5.9
texinfo 5.2.5381
pkg-config1 0.28
libffi 6.0.1?
glib 2.0.3992?
pkg-config2 0.28
cpython 2.7.3
perl 5.14.2
flex 2.5.37
bison 3.0.2.11-8044
gperf 3.1
gettext 0.18.3
m4 1.9a.643-c09a1-dirty
gawk 4.1.60
file1 5.18
curl 7.37.0-DEV
libgpg-error 0.10.0?
libgcrypt 20.0.0?
libxml2 2.9.1
apr 2.0.0.0 (assuming apr-util was included)
tcl 8.6.1
sqlite
subversion 1.9.0
This is just the part of the list I go through in that order before trying to build subversion and all before creating the actual cross-compile tools and binaries.Also using gcc 4.7.2-5On Wed, Apr 2, 2014 at 6:20 PM, Philip Martin <philip...@wandisco.com> wrote:
[Please keep this on the us...@sa.a.o list.]
It's still not clear to me whether you are trying to cross-compile or
not. Is the failing configure an attempt at a cross-compile?
I'm not sure anyone has ever cross-compiled Subversion before. Have you
already cross-compiled all the Subversion dependencies such as apr,
apr-util, zlib, serf, etc.?
--
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Oh wow Philip, that is bad. I was using outlook.com in Chrome on Windows and after seeing your reply, I looked at the Sent Messages and it was the same as when I copied and pasted from the command prompt in Debian in a VM.I now copied and pasted from Sent Items into Notepad++, changing the EOL from UNIX to Dos. I can only guess that maybe LF was never sent, only CR.Pasted:*****
"configure: error: cannot run /bin/sh build/config.sub"Steps:First Attempt:
$ svn co http://svn.apache.org/repos/asf/subversion/trunk subversion
$ ./autogen.shbuildcheck: checking installation...buildcheck: autoconf version 2.69.117-1717 (ok)buildcheck: autoheader version 2.69.117-1717 (ok)buildcheck: libtool version 2.4.2.444.28 (ok)Copying libtool helper: /cross-tools/share/aclocal/libtool.m4Copying libtool helper: /cross-tools/share/aclocal/ltoptions.m4Copying libtool helper: /cross-tools/share/aclocal/ltsugar.m4Copying libtool helper: /cross-tools/share/aclocal/ltversion.m4Copying libtool helper: /cross-tools/share/aclocal/lt~obsolete.m4
./autogen.sh: 1: cd: can't cd to /cross-tools/bin/../share/libtool/config/home/user/Desktop/subversion/config.guess not found (try setting the LIBTOOL_CONFIG environment variable)Second Attempt:
$ LIBTOOL_CONFIG=/cross-tools/bin/libtool ./autogen.sh$ ./configureconfigure: Configuring Subversion 1.9.0configure: creating config.nicechecking for gcc... gcc
checking whether the C compiler works... yeschecking for C compiler default output file name... a.outchecking for suffix of executables...checking whether we are cross compiling... nochecking for suffix of object files... o
checking whether we are using the GNU C compiler... yeschecking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... -std=gnu11checking if gcc -std=gnu11 accepts -std=c90... yeschecking if gcc -std=gnu11 accepts -w... yes
checking if gcc -std=gnu11 accepts -Werror=unknown-warning-option... nochecking for g++... g++checking whether we are using the GNU C++ compiler... yeschecking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... -std=gnu++11checking if g++ -std=gnu++11 accepts -std=c++98... yeschecking if g++ -std=gnu++11 accepts -w... yeschecking if g++ -std=gnu++11 accepts -Werror=unknown-warning-option... nochecking how to run the C preprocessor... gcc -std=gnu11 -Echecking for a sed that does not truncate output... /bin/sed
configure: error: cannot run /bin/sh build/config.sub
"configure:5076: error: cannot run /bin/sh build/config.sub""# Grab target_cpu, so we can use it in the Solaris pkginfo file# Make sure we can run config.sub.$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5"
$ /bin/bash ./build/config.sub sun4Usage: /home/user/Desktop/subversion/build/config.sub [OPTION]... [MODE-ARG]...Try 'config.sub --help' for more information.
config.sub: error: you must specify a MODEIt's odd because the same compiling method's worked with other programs like Cloog.
*****Platform: Linux debian72X8664 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64 GNU/LinuxShell: /bin/sh -> dashSubversion: svn co http://svn.apache.org/repos/asf/subversion/trunk*****dir15802492014-03-21T11:03:30.679527Z
1579922philiphas-props*****I will be cross-compiling. I compiled all of the tools and got to Check (also gitted) which was looking for subversion. That is when I opened a new command prompt, set the PATH to include the missing binaries I compiled into tools (not cross compiled), tried building subversion and get that error.I tried going through my notes I took along the way and went by scratch and when I encountered issues with binutils-gdb and then glibc (all gitted), I adjusted by "git checkout binutils-2_24-branch" and "git checkout glibc-2.19".Once I do get the target environment functional, I will natively build everything else.