I was able to build everything until neon. There I get
$ ./configure --with-expat=/app/fms/build/lib/libexpat.la
--enable-shared=yes --prefix=/app/fms/build
checking for a BSD-compatible install... ./install-sh -c
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/app/fms/build/subversion-1.6.13/neon':
configure: error: C compiler cannot create executables
See `config.log' for more details.
cmuser_at_fmsdwbap01:~/subversion-1.6.13/neon
$
Can you give me any help? It looks like it's crapping out when it is
trying to determine the default link output. However, apr, apr-util,
and expat all worked.
==============================================
CONFIG.LOG OUTPUT
$ cat config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by neon configure 0.28.6, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ ./configure --with-expat=/app/fms/build/lib/libexpat.la
--enable-shared=yes --prefix=/app/fms/build
## --------- ##
## Platform. ##
## --------- ##
hostname = fmsdwbap01
uname -m = 00C2526E4C00
uname -r = 3
uname -s = AIX
uname -v = 5
/usr/bin/uname -p = powerpc
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = 5.3.0.0
/bin/universe = unknown
PATH: /app/WebSphere/was6x/Was61Install/java/bin
PATH: /home/cmprod/ant/bin
PATH: /usr/bin
PATH: /etc
PATH: /usr/sbin
PATH: /usr/ucb
PATH: /usr/bin/X11
PATH: /sbin
PATH: /home/cmprod/bin
PATH: /usr/atria/bin/
PATH: .
PATH: /app/fms/build/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2163: checking for a BSD-compatible install
configure:2231: result: ./install-sh -c
configure:2354: checking for gcc
configure:2370: found /usr/bin/gcc
configure:2381: result: gcc
configure:2613: checking for C compiler version
configure:2621: gcc --version >&5
gcc (GCC) 4.0.0
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2625: $? = 0
configure:2632: gcc -v >&5
Using built-in specs.
Target: powerpc-ibm-aix5.3.0.0
Configured with: ../configure --with-as=/usr/bin/as
--with-ld=/usr/bin/ld --disable-nls --enable-languages=c,c++
--prefix=/opt/freeware --enable-threads
--enable-version-specific-runtime-libs --host=powerpc-ibm-aix5.3.0.0
Thread model: aix
gcc version 4.0.0
configure:2636: $? = 0
configure:2643: gcc -V >&5
gcc: '-V' option must have argument
configure:2647: $? = 1
configure:2670: checking for C compiler default output file name
configure:2692: gcc -l/app/fms/build/include/ -brtl conftest.c >&5
gcc: '-b' must come at the start of the command line
configure:2696: $? = 1
configure:2734: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "neon"
| #define PACKAGE_TARNAME "neon"
| #define PACKAGE_VERSION "0.28.6"
| #define PACKAGE_STRING "neon 0.28.6"
| #define PACKAGE_BUGREPORT "neon_at_lists.manyfish.co.uk"
| #define _GNU_SOURCE 1
| #define NEON_IS_LIBRARY 1
| #define NEON_VERSION "0.28.6"
| #define NE_VERSION_MAJOR (0)
| #define NE_VERSION_MINOR (28)
| #define NE_VERSION_PATCH (6)
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2740: error: in `/app/fms/build/subversion-1.6.13/neon':
configure:2742: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CC_set=''
ac_cv_env_CC_value=''
ac_cv_env_CFLAGS_set=''
ac_cv_env_CFLAGS_value=''
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=-l/app/fms/build/include/
ac_cv_env_CPP_set=''
ac_cv_env_CPP_value=''
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-brtl
ac_cv_env_LIBS_set=''
ac_cv_env_LIBS_value=''
ac_cv_env_build_alias_set=''
ac_cv_env_build_alias_value=''
ac_cv_env_host_alias_set=''
ac_cv_env_host_alias_value=''
ac_cv_env_target_alias_set=''
ac_cv_env_target_alias_value=''
ac_cv_prog_ac_ct_CC=gcc
## ----------------- ##
## Output variables. ##
## ----------------- ##
ALLOW_INSTALL='yes'
ALL_LINGUAS=''
AR=''
CC='gcc'
CERTUTIL=''
CFLAGS=''
CPP=''
CPPFLAGS='-l/app/fms/build/include/'
DEFS=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GNUTLS_CONFIG=''
GREP=''
HELPERS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
KRB5_CONFIG=''
LD=''
LDFLAGS='-brtl'
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
NEONOBJS=''
NEON_BUILD_BUNDLED='yes'
NEON_CFLAGS=''
NEON_EXTRAOBJS=''
NEON_LIBS=''
NEON_LINK_FLAGS=''
NEON_LTLIBS=''
NEON_OBJEXT=''
NEON_PC_LIBS=''
NEON_SUPPORTS_SSL=''
NEON_TARGET=''
NEON_VERSION='0.28.6'
NE_FLAG_DAV=''
NE_FLAG_I18N=''
NE_FLAG_IPV6=''
NE_FLAG_LFS=''
NE_FLAG_SOCKS=''
NE_FLAG_SSL=''
NE_FLAG_TS_SSL=''
NE_FLAG_ZLIB=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OPENSSL=''
OTOOL64=''
OTOOL=''
PACKAGE_BUGREPORT='neon_at_lists.manyfish.co.uk'
PACKAGE_NAME='neon'
PACKAGE_STRING='neon 0.28.6'
PACKAGE_TARNAME='neon'
PACKAGE_VERSION='0.28.6'
PATH_SEPARATOR=':'
PK12UTIL=''
PKG_CONFIG=''
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
TESTS=''
TEST_LDFLAGS=''
XML2_CONFIG=''
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
lt_ECHO='print -r'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/app/fms/build'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
top_builddir=''
user_LDFLAGS='-brtl'
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME "neon"
#define PACKAGE_TARNAME "neon"
#define PACKAGE_VERSION "0.28.6"
#define PACKAGE_STRING "neon 0.28.6"
#define PACKAGE_BUGREPORT "neon_at_lists.manyfish.co.uk"
#define _GNU_SOURCE 1
#define NEON_IS_LIBRARY 1
#define NEON_VERSION "0.28.6"
#define NE_VERSION_MAJOR (0)
#define NE_VERSION_MINOR (28)
#define NE_VERSION_PATCH (6)
configure: exit 77
On Wed, Oct 13, 2010 at 11:09 AM, Giulio Troccoli
<Giulio.Troccoli_at_uk.linedata.com> wrote:
>>
>
>
> Linedata Limited
> Registered Office: 85 Gracechurch St., London, EC3V 0AA
> Registered in England and Wales No 3475006 VAT Reg No 710 3140 03
>
> -----Original Message-----
>
>
>> From: David Weintraub [mailto:qazwart_at_gmail.com]
>> Sent: 13 October 2010 16:01
>> To: Giulio Troccoli
>> Cc: Subversion
>> Subject: Re: Subversion on AIX
>>
>> I just tried building APR with your proceedure and socktest
>> still fails. Did you run the tests? I suspect that this
>> particular test might not be that important.
>
> I think I did, sorry I don't remember. If I did, it either passed or it was skipped. I'll try and run them again and let you know
>
>> On Wed, Oct 13, 2010 at 3:49 AM, Giulio Troccoli
>> <Giulio.Troccoli_at_uk.linedata.com> wrote:
>> >>
>> >
>> >
>> > Linedata Limited
>> > Registered Office: 85 Gracechurch St., London, EC3V 0AA
>> Registered in
>> > England and Wales No 3475006 VAT Reg No 710 3140 03
>> >
>> > -----Original Message-----
>> >
>> >
>> >> From: David Weintraub [mailto:qazwart_at_gmail.com]
>> >> Sent: 12 October 2010 18:41
>> >> To: Subversion
>> >> Subject: Subversion on AIX
>> >>
>> >> We are trying to get a Subversion install on an IBM AIX
>> box we have
>> >> here. Unfortunately, I really don't have root access to
>> the box, and
>> >> I know that our admins will probably not be very helpful in this
>> >> endeavor.
>> >>
>> >> I do have gcc version 4.0.0, but I don't have the APR library. We
>> >> don't plan to use Apache httpd, but just svnserve instead.
>> >>
>> >> I downloaded the Universal AIX tarball (only 1.4, but I'd be happy
>> >> with anything now), and had problems since it was tarred up at the
>> >> root of the directory. I used pax to untar the file, so I
>> could put
>> >> it under something besides /opts.
>> >> The files are placed under /home/david.
>> >>
>> >> $ LIBPATH=/home/david/subversion/opt/subversion/lib:$LIBPATH
>> >> $ ./svn
>> >> exec(): 0509-036 Cannot load program ./svn because of the
>> following
>> >> errors:
>> >> 0509-022 Cannot load module
>> >> /home/david/subversion/opt/subversion/lib/libsvn_client-1.so.
>> >> 0509-150 Dependent module
>> >> /opt/subversion/lib/libsvn_wc-1.so
>> >> could not be loaded.
>> >> 0509-022 Cannot load module
>> >> /opt/subversion/lib/libsvn_wc-1.so.
>> >> 0509-026 System error: A file or directory in the
>> path name
>> >> does not exist.
>> >> 0509-022 Cannot load module svn.
>> >> 0509-150 Dependent module
>> >> /home/david/subversion/opt/subversion/lib/libsvn_client-1.so
>> >> could not be loaded.
>> >> 0509-022 Cannot load module .
>> >>
>> >> Any ideas at this point?
>> >>
>> >
>> > I have successfully compiled Subversion 1.6.9 on both AIX
>> 4.3 and 5.3. The following is for AIX 5.3 and with user dev.
>> You will need to change all the reference to ~dev to the
>> correct user (or different path altogether). Also, these
>> instruction do not specify any --prefix, because I wanted to
>> install SVN in the standard directory. However, I have used
>> the exact same instruction for testing 1.6.9 prior to
>> installation and it that case I used the --prefix. As long as
>> you specify the same location for --prefix everything should work.
>> >
>> > cd ~dev
>> > gunzip -c subversion-deps-1.6.9.tar.gz | tar xvf - gunzip -c
>> > subversion-1.6.9.tar.gz | tar xvf - cd ~dev/subversion-1.6.9/apr
>> > CC="/usr/vac/bin/cc" \
>> > CFLAGS="-qmaxmem=-1 -O2 -qlanglvl=extended" \ ./configure \
>> > --enable-shared \ --enable-static make make install cd
>> > ~dev/subversion-1.6.9/apr-util/xml/expat
>> > CC="/usr/vac/bin/cc" \
>> > CFLAGS="-qmaxmem=-1 -O2 -qlanglvl=extended" \ ./configure \
>> > --enable-shared=yes make make install cd
>> > ~dev/subversion-1.6.9/apr-util CC="/usr/vac/bin/cc" \
>> > CFLAGS="-qmaxmem=-1 -O2 -qlanglvl=extended" \ ./configure \
>> > --with-apr=/usr/local/apr \ --with-expat=builtin make make
>> install cd
>> > ~dev/subversion-1.6.9/neon CC="/usr/vac/bin/cc" \
>> > CFLAGS="-qmaxmem=-1 -O2 -qlanglvl=extended" \
>> > CPPFLAGS="-I/usr/local/include" \ LDFLAGS="-brtl" \ ./configure \
>> > --with-expat=/usr/local/lib/libexpat.la \ --enable-shared=yes make
>> > make install cd ~dev/subversion-1.6.9 CC="/usr/vac/bin/cc" \
>> > CFLAGS="-qmaxmem=-1 -O2 -qlanglvl=extended" \
>> > CPPFLAGS="-I/usr/local/include" \ LDFLAGS="-L/usr/local/lib" \
>> > ./configure \ --disable-shared \ --without-ssl \
>> --without-berkeley-db
>> > \ --with-apr=/usr/local/apr \ --with-apr-util=/usr/local/apr \
>> > --without-apxs \ --with-neon=/usr/local \ --without-serf make make
>> > install
>> >
>> > I found that the order of the installation was important,
>> e.g expat before apr-util. Also, you may need to use the
>> --with-sqlite option when configuring Subversion to point to
>> sqlite3.c in the Subversion dependency tree (I had SQLite
>> installed). And obviously you can change other option to
>> consifure Subversion for your needs.
>> >
>> > Giulio
>> >
>>
>>
>>
>> --
>> David Weintraub
>> qazwart_at_gmail.com
>
--
David Weintraub
qazwart_at_gmail.com
Received on 2010-10-13 19:03:46 CEST