Tim Lee wrote:

Ah, compiling blender. I had that same exact problem. It's nothing with the alternatives. I think whoever built python, used distcc.

The Makefile in '/blender-2.25b/intern/python/freeze' uses a python script to create a Makefile in '/blender-2.25b/intern/python/frozen'. That script inserts some variables used in '/usr/lib/python2.2/config/Makefile' into '/blender-2.25b/intern/python/frozen/Makefile'. You could change the CC variable in '/usr/lib/python2.2/config/Makefile' to gcc as a dirty workaround, if you don't want to use distcc.

Tim
ah, yes, that would also explain why it also uses the old $RPM_OPT_FLAGS instead of the new ones
Now I kinda wonder what would be "the right way(tm)" to solve/work around this problem... Maybe I should just add distcc to BuildRequires for now...


From: Per �yvind Karlsen <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [Cooker] wrong compiler
Date: Sat, 23 Nov 2002 07:12:17 +0100

Per �yvind Karlsen wrote:

after updating against latest cooker today(it's been a few days since last time) things suddenly started to use distcc as standard compiler, even if distcc was'nt installed!
I don't know why, but this also happened when compiling on klama..

Worked fine right before I updated

just to show some errors, btw notice that it does'nt even specify which compiler distcc should use;
Warning: unknown modules remain: math operator strop struct time zlib
Now run "make" in ../frozen to build the target: VRMLmain
cd ../frozen && make -f Makefile.freeze && cd ../freeze
make[5]: Entering directory `/home/peroyvind/rpm/BUILD/blender-2.25b/intern/python/frozen'
make[5]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
distcc -I/usr/include/python2.2 -I/usr/include/python2.2 -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce -I. -I./Include -DHAVE_CONFIG_H -c -o config.o config.c
make[5]: distcc: Command not found
make[5]: *** [config.o] Error 127

--
Regards,
Per �yvind Karlsen
Sintrax Solutions
www.sintrax.net - +47 41681061

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail





--
Regards,
Per �yvind Karlsen
Sintrax Solutions
www.sintrax.net - +47 41681061



Reply via email to