Bug 46937 - apr build error
Summary: apr build error
Status: NEW
Alias: None
Product: APR
Classification: Unclassified
Component: APR (show other bugs)
Version: 0.9.12
Hardware: PC other
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache Portable Runtime bugs mailinglist
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-30 07:06 UTC by JOSE TABISI
Modified: 2015-06-04 07:13 UTC (History)
2 users (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JOSE TABISI 2009-03-30 07:06:49 UTC
I get the following error when trying to compile apr under an SCO 5.0.7 box

Making all in network_io/unix                                                   make[1]: Entering directory `/usr/local/src/subversion-1.4.5/apr/network_io/unix'                                                                               make[2]: Entering directory `/usr/local/src/subversion-1.4.5/apr/network_io/unix'                                                                               /bin/ksh /usr/local/src/subversion-1.4.5/apr/libtool --silent --mode=compile gcc -g -O2   -DHAVE_CONFIG_H -DSCO5 -D_REENTRANT   -I../../include -I../../include/arch/unix -I../../include/arch/unix  -c sockaddr.c && touch sockaddr.lo         sockaddr.c: In function `call_resolver':                                        sockaddr.c:389: `AF_INET6' undeclared (first use in this function)              sockaddr.c:389: (Each undeclared identifier is reported only once               sockaddr.c:389: for each function it appears in.)                               make[2]: *** [sockaddr.lo] Error 1                                              make[2]: Leaving directory `/usr/local/src/subversion-1.4.5/apr/network_io/unix'                                                                                make[1]: *** [all-recursive] Error 1                                            make[1]: Leaving directory `/usr/local/src/subversion-1.4.5/apr/network_io/unix'                                                                                make: *** [all-recursive] Error 1   

Apr and apr-util are both included in the dependencies for subversion 1.4.5

Any ideas ?
Comment 1 Bojan Smojver 2009-05-21 14:51:22 UTC
Have you tried passing --disable-ipv6 to ./configure?
Comment 2 Libo Song 2010-07-08 19:14:54 UTC
./configure --disable-ipv6
...
configuring package in xml/expat now
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
src/srclib/apr-util/xml/expat/configure: line 3352: syntax error near unexpected token `lt_decl_varnames,'
src/srclib/apr-util/xml/expat/configure: line 3352: `lt_if_append_uniq(lt_decl_varnames, SED, , ,'
configure failed for xml/expat
configure failed for srclib/apr-util