Skip to search.
ClearSilver

Group Information

  • Members: 245
  • Category: Open Source
  • Founded: Jul 2, 2001
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

  Messages Help
Advanced
gcc error in 0.9.7   Message List  
Reply Message #242 of 1440 |
Re: gcc error in 0.9.7

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`



Tue Apr 20, 2004 9:57 pm

dju.ml@...
Send Email Send Email

Message #242 of 1440 |
Expand Messages Author Sort by Date

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...
dju`
dju.ml@... Send Email
Apr 20, 2004
3:59 pm

This means the compile of the python module failed. Which OS, gcc version and python version are you using? Brandon ... -- "Never let your sense of morals...
Brandon Long
blong42 Offline Send Email
Apr 20, 2004
4:06 pm

... 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...
dju`
dju.ml@... Send Email
Apr 20, 2004
9:10 pm

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 ... -- "No man...
Brandon Long
blong42 Offline Send Email
Apr 20, 2004
5:25 pm

... (gcc 3.3.2, python 2.3.3 to be exact) so, what should i do? the message seems to indicate there is something wrong with the makefile, so maybe the...
dju`
dju.ml@... Send Email
Apr 20, 2004
9:12 pm

... +++ python/setup.py 2004-04-20 23:30:07.642647960 +0200 @@ -69,6 +69,8 @@ LIB_DIRS = expand_vars(LIB_DIRS, make_vars) LIBRARIES =...
dju`
dju.ml@... Send Email
Apr 20, 2004
9:57 pm
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help