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

Re: Subversion on AIX

From: David Weintraub <qazwart_at_gmail.com>
Date: Thu, 14 Oct 2010 09:18:29 -0400

Alas, we don't have "cc", only "gcc".

I finally got everything to work. I had to fudge the flags a bit. And,
I discovered that it wants a later version of Neon than came with the
Subversion package. (I believe the depedencies came with .28 and
Subversion said it needed .29 as a minimum.)

I had to manually compile zlib and set the --with-zlib= flag. It took
me a while to figure out that this flag isn't suppose to point to the
directory where libz.a exists, but instead points to the directory
that contains both the includes and lib directory where the zlib
headers and library are located.

APR presented another nasty trick. When I compiled APR, it created a
liba*.la files that are actually texts file and contains path
information. Despite compiling APR with the path /home/cmuser/lib, and
the fact that it actually installed there, it had set libdir to
/usr/local/apr/lib. I had to manually change all of these.

So, I now have 1.6.13 working on my AIX 5.3 system, but the http
protocol won't work. If I want that to work, I'll have to download the
latest copy of neon from the Apache neon project and recompile
everything again. Fortunately, we're going to try using svnserve, so
that may not be an issue.

I may have already stated this, but the way the build works really
sucks. Running "configure" on AIX powerpc would take 15 to 30 minutes.
Each time, determining whether my version of sed truncates characters,
the name of my default executable created by the linker, etc. And,
when things didn't work, it took hours to trace where the error was
occurring and why. The "configure" shell script is a very long and
confusing mess with almost no documentation.

I do have my build commands in a shell script in case anyone has to do
this again (I did this when I realized I had to do this over and over
again, and the entire Subversion build takes almost 3 hours to do).

I may try again with the latest Neon if we do need the http protocol.

On Thu, Oct 14, 2010 at 3:55 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 18:03
>> To: Giulio Troccoli
>> Cc: Subversion
>> Subject: Re: Subversion on AIX
>>
>> 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.
>>
>
> I didn't use gcc but cc
>
> 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
>
> Can you try that? Adjust paths for expat according to your previous build
>
> G
>

-- 
David Weintraub
qazwart_at_gmail.com
Received on 2010-10-14 15:19:09 CEST

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.