Open GoogleCodeExporter opened 8 years ago
this error just means you don't have the Sun compiler installed. you can build
the shared object files with gcc. I had to do it manually because python (and
therefore pycc) is expecting to use the sun C compiler and therefore uses
options like -KPIC which don't work.
here are the gcc commands i used to build the shared libraries:
gcc -I/usr/include/python2.6 -c psutil/_psutil_sunos.c -o
build/temp.solaris-2.10-i86pc-2.6/psutil/_psutil_sunos.o
gcc -L. -L/usr/sfw/lib -R/usr/sfw/lib -G
build/temp.solaris-2.10-i86pc-2.6/psutil/_psutil_sunos.o -L/usr/lib -lkstat
-lnsl -lpython2.6 -o build/lib.solaris-2.10-i86pc-2.6/_psutil_sunos.so
gcc -I/usr/include/python2.6 -c psutil/_psutil_posix.c -o
build/temp.solaris-2.10-i86pc-2.6/psutil/_psutil_posix.o
gcc -L. -L/usr/sfw/lib -R/usr/sfw/lib -G
build/temp.solaris-2.10-i86pc-2.6/psutil/_psutil_posix.o -L/usr/lib -lpython2.6
-o build/lib.solaris-2.10-i86pc-2.6/_psutil_posix.so
Original comment by manch...@gmail.com
on 10 Sep 2013 at 6:22
Original issue reported on code.google.com by
g.rodola
on 25 Aug 2013 at 3:17