serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Frank (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SERF-182) Build fails on Solaris 10
Date Tue, 02 May 2017 14:08:04 GMT
Daniel Frank created SERF-182:
---------------------------------

             Summary: Build fails on Solaris 10
                 Key: SERF-182
                 URL: https://issues.apache.org/jira/browse/SERF-182
             Project: serf
          Issue Type: Bug
    Affects Versions: serf-1.3.9
         Environment: SunOS usclst11 5.10 Generic_150400-30 sun4us sparc FJSV,GPUZC-M
            Reporter: Daniel Frank


Build fails:
$ scons APR=/usr/local/stow/apr-1.5.2 APU=/usr/local/stow/apr-util-1.5.4 OPENSSL=/usr/local/stow/openssl-1.1.0e
PREFIX=/usr/local/stow/serf-1.3.9 CC=/usr/sfw/bin/gcc
scons: Reading SConscript files ...
Checking for GNU-compatible C compiler...yes
scons: done reading SConscript files.
scons: Building targets ...
/usr/sfw/bin/gcc -o context.o -c -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes
-Wall -g -O2 -DNDEBUG -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE
-I. -I/usr/local/stow/apr-1.5.2/include/apr-1 -I/usr/local/stow/apr-util-1.5.4/include/apr-1
-I/usr/local/stow/openssl-1.1.0e/include context.c
In file included from /usr/local/stow/apr-1.5.2/include/apr-1/apr_pools.h:43,
                 from context.c:21:
/usr/local/stow/apr-1.5.2/include/apr-1/apr.h:613:2: #error no decision has been made on APR_PATH_MAX
for your platform
scons: *** [context.o] Error 1
scons: building terminated because of errors.

The following command seems to work, but I have no idea of the implications:
$ scons APR=/usr/local/stow/apr-1.5.2 APU=/usr/local/stow/apr-util-1.5.4 OPENSSL=/usr/local/stow/openssl-1.1.0e
PREFIX=/usr/local/stow/serf-1.3.9 CC=/usr/sfw/bin/gcc CFLAGS=-D__EXTENSIONS__




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message