On Apr 28, 7:39 am, Tarek Ziadé <ziade.ta...@gmail.com> wrote: > On Tue, Apr 28, 2009 at 5:23 AM, David Cournapeau > > <da...@ar.media.kyoto-u.ac.jp> wrote: > > Tarek Ziadé wrote: > > >> I am not sur to understand what you are trying to achieve. > > >> This indicates your environment variable CC was properly set and sent > >> to the compiler. > > > I don't think it does: the user requires /opt/SUNWspro/bin/cc as a C > > compiler, and easy_install uses /opt/studio/SOS11/SUNWspro/bin/cc which > > are different compilers, unless one is a softlink to the other. > > Oops, correct, I didn't notice there were different. > > Rupert, can you try downloading that package, uncompress it and run : > > # CC=/opt/SUNWspro/bin/cc python setup.py install > > If this fails too, there's a problem in Distutils.sysconfig.customize_compiler > we need to look at. (basically, it looks at os.environ if your > compiler type is "unix" > and not mingw or bcpp, or msvc etc..) > > If it works, the problem is on easy_install itself. >
you are right! it works, nearly, but this might be a reportlab problem: # CC=/cs/SUNWspro/bin/cc python setup.py install ################################################ #Attempting install of _rl_accel, sgmlop & pyHnj #extensions from '/tmp/ReportLab_2_3/src/rl_addons/rl_accel' ################################################ ################################################ #Attempting install of _renderPM #extensions from '/tmp/ReportLab_2_3/src/rl_addons/renderPM' # installing with freetype version 21 ################################################ running install running build running build_py copying src/reportlab/lib/hyphen.mashed -> build/lib.solaris-2.10- sun4v-2.6/reportlab/lib running build_clib building '_renderPM_libart' library /cs/SUNWspro/bin/cc -DNDEBUG -O -xO3 -xarch=v8 -DLIBART_COMPILATION - DWORDS_BIGENDIAN -I/tmp/ReportLab_2_3/src/rl_addons/renderPM -I/tmp/ ReportLab_2_3/src/rl_addons/renderPM/libart_lgpl -c /tmp/ReportLab_2_3/ src/rl_addons/renderPM/libart_lgpl/art_uta.c -o build/ temp.solaris-2.10-sun4v-2.6/tmp/ReportLab_2_3/src/rl_addons/renderPM/ libart_lgpl/art_uta.o ... "/tmp/ReportLab_2_3/src/rl_addons/renderPM/libart_lgpl/art_uta.h", line 29: warning: invalid white space character in directive "/tmp/ReportLab_2_3/src/rl_addons/renderPM/libart_lgpl/art_uta.h", line 31: warning: invalid white space character in directive "/tmp/ReportLab_2_3/src/rl_addons/renderPM/libart_lgpl/art_uta.h", line 33: warning: invalid white space character in directive "/tmp/ReportLab_2_3/src/rl_addons/renderPM/libart_lgpl/art_uta.h", line 38: warning: invalid white space character in directive "/tmp/ReportLab_2_3/src/rl_addons/renderPM/libart_lgpl/art_uta.h", line 39: syntax error before or at: ... "/tmp/ReportLab_2_3/src/rl_addons/renderPM/libart_lgpl/art_uta.c", line 81: type specifier can not be used as array size expression qualifier "/tmp/ReportLab_2_3/src/rl_addons/renderPM/libart_lgpl/art_uta.c", line 82: warning: no explicit type given "/tmp/ReportLab_2_3/src/rl_addons/renderPM/libart_lgpl/art_uta.c", line 83: warning: old-style declaration or incorrect type for: art_uta_free "/tmp/ReportLab_2_3/src/rl_addons/renderPM/libart_lgpl/art_uta.c", line 88: cannot recover from previous errors cc: acomp failed for /tmp/ReportLab_2_3/src/rl_addons/renderPM/ libart_lgpl/art_uta.c error: command '/opt/SUNWspro/bin/cc' failed with exit status 2 _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig