zhupan / serf

Automatically exported from code.google.com/p/serf
Apache License 2.0
0 stars 0 forks source link

Serf 1.3.8 installation on Solaris 10 Sparc issue #162

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Building / installing serf 1.3.8 on Solaris 10 Sparc subversion project
2. Got IndexError: List Index out of range, Understand it is a known issue and 
there is a patch to fix.

3. I edited the SConstruct file as indicated in the patch and got another 
error. 

What is the expected output? What do you see instead?
Expected the serf to be successfully installed after editing the SConstruct 
file to fixed the known issue Instead I got another error. Please the attached 
file. 

What version of the product are you using? On what operating system?
 serf1.3.8 on Solaris 10 sparc

Please provide any additional information below.

Original issue reported on code.google.com by kayi...@gmail.com on 30 Jan 2015 at 5:13

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by andreas.stieger@gmx.de on 30 Jan 2015 at 5:37

GoogleCodeExporter commented 9 years ago
I have applied the patch (posix.patch) and I now got the following error. 
please help.

# scons APR=/usr/local/apr/bin/apr-1-config APU=/usr/local/apr/bin/apu-1-config 
OPENSSL=/usr
scons: Reading SConscript files ...

scons: warning: EnsureSConsVersion is ignored for development version
File "/dhhs1t/3rdparty/SERF/serf-1.3.8/SConstruct", line 22, in <module>
scons: done reading SConscript files.

scons: warning: Support for pre-2.7.0 Python version (2.6.4) is deprecated.
    If this will cause hardship, contact scons-dev@scons.org
File "/usr/bin/scons", line 199, in <module>
scons: Building targets ...
cc -o context.o -c -std=c89 -g -O2 -DNDEBUG -DSOLARIS2=10 
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I. 
-I/usr/local/apr/include/apr-1 -I/usr/include context.c
sh: cc: not found
scons: *** [context.o] Error 1
scons: building terminated because of errors.

Original comment by kayi...@gmail.com on 1 Feb 2015 at 12:21

GoogleCodeExporter commented 9 years ago
> sh: cc: not found

Please read that. It clearly sais that you do not have a C compiler (cc) 
installed or available. Please do not use the issue tracker as a support forum.

Original comment by andreas.stieger@gmx.de on 2 Feb 2015 at 11:43

GoogleCodeExporter commented 9 years ago
I am now getting this:
# scons APR=/usr/local/apr/bin/apr-1-config APU=/usr/local/apr/bin/apu-1-config 
OPENSSL=/usr CC=/usr/sfw/bin/gcc
scons: Reading SConscript files ...

scons: warning: EnsureSConsVersion is ignored for development version
File "/dhhs1t/3rdparty/SERF/serf-1.3.8/SConstruct", line 22, in <module>
scons: done reading SConscript files.

scons: warning: Support for pre-2.7.0 Python version (2.6.4) is deprecated.
    If this will cause hardship, contact scons-dev@scons.org
File "/usr/bin/scons", line 199, in <module>
scons: Building targets ...
/usr/sfw/bin/gcc -o context.o -c -std=c89 -g -O2 -DNDEBUG -DSOLARIS2=10 
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I. -I/usr/lo     
       cal/apr/include/apr-1 -I/usr/include context.c
In file included from /usr/local/apr/include/apr-1/apr_pools.h:43,
                 from context.c:16:
/usr/local/apr/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.

Original comment by kayi...@gmail.com on 2 Feb 2015 at 11:36