Which Python Version you are using on Solaris environment ?
Mohsin
On Fri, Jan 30, 2015 at 12:15 AM, kay [via Subversion] <
ml-node+s1072662n191737h11_at_n5.nabble.com> wrote:
> I am currently having the same issues as previous author (Mohsin). I am
> trying to install serf 1.3.8 for subversion on solaris 10 sparc. I
> encountered the following error which I understand is a bug on serf1.3.8 on
> solaris 10. 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>
> IndexError: list index out of range:
> File "/dhhs1t/3rdparty/SERF/serf-1.3.8/SConstruct", line 275:
> lib_shared = env.SharedLibrary(LIBNAME, SOURCES + SHARED_SOURCES)
> File "/usr/lib/scons-2.3.3/SCons/Environment.py", line 260:
> return MethodWrapper.__call__(self, target, source, *args, **kw)
> File "/usr/lib/scons-2.3.3/SCons/Environment.py", line 224:
> return self.method(*nargs, **kwargs)
> File "/usr/lib/scons-2.3.3/SCons/Builder.py", line 633:
> return self._execute(env, target, source, OverrideWarner(kw), ekw)
> File "/usr/lib/scons-2.3.3/SCons/Builder.py", line 554:
> tlist, slist = self._create_nodes(env, target, source)
> File "/usr/lib/scons-2.3.3/SCons/Builder.py", line 518:
> target, source = self.emitter(target=tlist, source=slist, env=env)
> File "/usr/lib/scons-2.3.3/SCons/Builder.py", line 344:
> target, source = e(target, source, env)
> File "/usr/lib/scons-2.3.3/SCons/Tool/link.py", line 86:
> target[0].name = version_names[0]
>
>
>
> I edited my Sconstruct as suggested in the following patch below and I am
> now getting a different
>
>
> --- SConstruct.old Mon Mar 3 14:34:37 2014
> +++ SConstruct Mon Mar 3 14:34:21 2014
> @@ -210,7 +210,7 @@
> # Unfortunately we can't set the .dylib compatibility_version option
> separately
> # from current_version, so don't use the PATCH level to avoid that build
> and
> # runtime patch levels have to be identical.
> -env['SHLIBVERSION'] = '%d.%d.%d' % (MAJOR, MINOR, 0)
> +#env['SHLIBVERSION'] = '%d.%d.%d' % (MAJOR, MINOR, 0)
>
> LIBNAME = 'libserf-%d' % (MAJOR,)
> if sys.platform != 'win32':
> @@ -248,6 +248,7 @@
>
> if sys.platform == 'sunos5':
> env.Append(LIBS='m')
> + env['PLATFORM'] = 'posix'
> else:
> # Warning level 4, no unused argument warnings
> env.Append(CCFLAGS=['/W4', '/wd4100'])
>
>
> Below is the error the error that I am getting after editing the
> Sconstruct file:
>
> # scons
> 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_at_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.
>
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://subversion.1072662.n5.nabble.com/IndexError-list-index-out-of-range-serf-1-3-8-tp190986p191737.html
> To unsubscribe from IndexError: list index out of range: [serf 1.3.8], click
> here
> <http://subversion.1072662.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=190986&code=bW9oc2luY2hhbmRpYUBnbWFpbC5jb218MTkwOTg2fC03NjQ2ODYyNTM=>
> .
> NAML
> <http://subversion.1072662.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
Received on 2015-01-29 20:42:47 CET