serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SERF-182) Build fails on Solaris 10
Date Tue, 30 Apr 2019 15:24:00 GMT

    [ https://issues.apache.org/jira/browse/SERF-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16830395#comment-16830395
] 

Michael Osipov commented on SERF-182:
-------------------------------------

Why is your stuff in {{/usr/local}}? Solaris is System V UNIX.

> 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)

Mime
View raw message