You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@serf.apache.org by "Branko Čibej (JIRA)" <ji...@apache.org> on 2019/04/30 15:35:00 UTC

[jira] [Resolved] (SERF-182) Build fails on Solaris 10

     [ https://issues.apache.org/jira/browse/SERF-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Branko Čibej resolved SERF-182.
-------------------------------
    Resolution: Invalid

> 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
>            Priority: Major
>
> Build fails:
> {noformat}
> $ 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.
> {noformat}
> The following command seems to work, but I have no idea of the implications:
> {noformat}
> $ 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__
> {noformat}
> Quick note: there are two underscores around "EXTENSIONS" in the command line above. If you can only see one, that's caused by the bug tracker.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)