Brandon Long wrote:
> Yeah, to my knowledge 2.3 should work. The list of versions there is
> just because of the annoyance of trying to find the right paths.
>
> Brandon
>
> On 04/20/04 dju` uttered the following other thing:
>
>>Brandon Long wrote:
>>
>>>This means the compile of the python module failed.
>>>
>>>Which OS, gcc version and python version are you using?
>>>
>>>Brandon
>>>
>>>On 04/20/04 dju` uttered the following other thing:
>>>
>>>
>>>>Hello,
>>>>
>>>>I'm writing because I get an error while compiling clearsilver-0.9.7:
>>>>
>>>>/neo_cgi.o build/temp.linux-i686-2.3/neo_cs.o
>>>>build/temp.linux-i686-2.3/neo_util.o -L../libs -lz -lneo_cgi -lneo_cs
>>>>-lneo_utl -o neo_cgi.so
>>>>gcc: cannot specify -o with -c or -S and multiple compilations
>>>>error: command 'gcc' failed with exit status 1
>>>>make[1]: *** [neo_cgi.so] Error 1
>>>>make[1]: Leaving directory
>>>>`/var/tmp/portage/clearsilver-0.9.7/work/clearsilver-0.9.7/python'
>>>>
>>>>but the build goes to the end. I was wondering how to fix that?
>>>>Thanks for feedback.
>>
>>i'm using gentoo linux, 2.6.5 kernel, python 2.3. that may be the source
>>of the problem: python 2.3 is the latest version and python 2.2 is not
>>installed on my system, so i have to add 2.3 to the python versions in
>>the configure. well, i won't install python 2.2 just for clearsilver to
>>work, so, if it the case, are you planning to support python 2.3 ? Thanks.
>>--
>>--dju`
corrected with this patch:
--- python/setup.py~ 2004-04-20 23:29:55.566483816 +0200
+++ python/setup.py 2004-04-20 23:30:07.642647960 +0200
@@ -69,6 +69,8 @@
LIB_DIRS = expand_vars(LIB_DIRS, make_vars)
LIBRARIES = expand_vars(LIBRARIES, make_vars)
+os.environ["CFLAGS"] = os.environ["CFLAGS"].replace(' -c', '')
+
setup(name="clearsilver",
version=VERSION,
description="Python ClearSilver Wrapper",
should work fin now on gentoo linux.
--
--dju`