1834742 Members
2868 Online
110070 Solutions
New Discussion

Re: Subversion error

 
SOLVED
Go to solution
tekkie_1
New Member

Subversion error

I am trying to make subversion on HP-UX 11.23
The ./configure runs fine but the make doesnt work. Here are the errors, What do I need to do? I dont have a gcc compiler. Is that needed?
I installed the same tar file on HP-UX 11.0 which had gcc and aCC and it worked fine. Please help.

/tmp/subversion-1.3.2
# make
------ making all in apr
Making all in strings
/bin/sh /tmp/subversion-1.3.2/apr/libtool --silent --mode=compile cc -g -Ae +Z +DAportable -DHAVE_CONFIG_H -DH
PUX11 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED -I../include -I../include/arch/unix -c apr_cpystrn.c && touch apr_cpystrn
.lo
(Bundled) cc: warning 480: The -g option is available only with the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +Z option is available only with the C/ANSI C product; ignored.
(Bundled) cc: "../include/apr_errno.h", line 52: error 1000: Unexpected symbol: "statcode".
(Bundled) cc: "../include/apr_errno.h", line 53: error 1000: Unexpected symbol: "apr_size_t".
(Bundled) cc: "../include/apr_errno.h", line 52: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../include/apr_errno.h", line 52: error 1677: Parameter type has an invalid storage class specifier "stat
ic".
(Bundled) cc: "../include/apr_errno.h", line 53: error 1573: Type of "bufsize" is undefined due to an illegal declaratio
n.
(Bundled) cc: "../include/apr_general.h", line 179: error 1000: Unexpected symbol: "apr_initialize".
(Bundled) cc: panic 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
4 REPLIES 4
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Subversion error

You are going to find it very difficult to use the Bundled C compiled. It really only understands K & R C syntax and is really only intended for building kernels. You need to use HP's aCC (C++/ANSI C) compiler or install gcc.
If it ain't broke, I can fix that.
Arunvijai_4
Honored Contributor

Re: Subversion error

Hi,

Install GCC and try do it. It should work. You can download GCC from,

http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-4.1.1/

Make you install Runtime dependencies as well.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
tekkie_1
New Member

Re: Subversion error

I downloaded gcc in /usr/local/bin and the subversion make still fails with a different error. Please help. Does anyone have compiled subversion binaries for 11.23

make
------ making all in apr
Making all in strings
/bin/sh /home/dev1/subversion-1.3.2/apr/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -DHPUX11 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED -I../include -I../include/arch/unix -c apr_cpystrn.c && touch apr_cpystrn.lo
/bin/sh /home/dev1/subversion-1.3.2/apr/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -DHPUX11 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED -I../include -I../include/arch/unix -c apr_snprintf.c && touch apr_snprintf.lo
In file included from /usr/include/pthread.h:11,
from ../include/apr_portable.h:47,
from apr_snprintf.c:23:
/usr/include/sys/pthread.h:1130: parse error before '*' token
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

tekkie_1
New Member

Re: Subversion error

Hurray I found the binaries. I am not going to worry abt compiling this anymore now.

http://hpux.cs.utah.edu/hppd/hpux/Development/Tools/subversion-1.3.1/