[Python-Dev] python installation in solaris machine

V.Selvam vse at srasys.co.in
Tue Mar 2 07:40:11 EST 2004


Skipped content of type multipart/alternative-------------- next part --------------
sh-2.03# ls
Setup               config.o            makexp_aix          signalmodule.c
Setup.config        cryptmodule.c       mathmodule.c        signalmodule.o
Setup.config.in     cstubs              md5.h               socketmodule.c
Setup.dist          dbmmodule.c         md5c.c              sre.h
Setup.local         dlmodule.c          md5module.c         sre_constants.h
_codecsmodule.c     errnomodule.c       mmapmodule.c        stropmodule.c
_curses_panel.c     errnomodule.o       mpzmodule.c         structmodule.c
_cursesmodule.c     fcntlmodule.c       newmodule.c         sunaudiodev.c
_hotshot.c          flmodule.c          newmodule.o         svmodule.c
_localemodule.c     fmmodule.c          nismodule.c         symtablemodule.c
_sre.c              fpectlmodule.c      operator.c          symtablemodule.o
_sre.o              fpetestmodule.c     parsermodule.c      syslogmodule.c
_testcapimodule.c   gcmodule.c          pcre-int.h          tclNotify.c
_tkinter.c          gcmodule.o          pcre.h              termios.c
_weakref.c          gdbmmodule.c        pcremodule.c        testcapi_long.h
addrinfo.h          getaddrinfo.c       posixmodule.c       threadmodule.c
almodule.c          getbuildinfo.c      posixmodule.o       threadmodule.o
ar_beos             getbuildinfo.o      puremodule.c        timemodule.c
arraymodule.c       getnameinfo.c       pwdmodule.c         timing.h
audioop.c           getpath.c           pyexpat.c           timingmodule.c
binascii.c          getpath.o           pypcre.c            tkappinit.c
bsddbmodule.c       glmodule.c          python.c            unicodedata.c
cPickle.c           grpmodule.c         python.o            unicodedata_db.h
cStringIO.c         imageop.c           readline.c          unicodename_db.h
ccpython.cc         imgfile.c           regexmodule.c       xreadlinesmodule.c
cdmodule.c          ld_so_aix           regexpr.c           xxmodule.c
cgen.py             ld_so_beos          regexpr.h           xxsubtype.c
cgensupport.c       libpython2.2.a      resource.c          xxsubtype.o
cgensupport.h       license.terms       rgbimgmodule.c      yuv.h
clmodule.c          linuxaudiodev.c     rotormodule.c       yuvconvert.c
cmathmodule.c       main.c              selectmodule.c      zlibmodule.c
config.c            main.o              sgimodule.c
config.c.in         makesetup           shamodule.c
bash-2.03# cd .. 
bash-2.03# ls
Demo             Makefile.pre     Parser           config.log
Doc              Makefile.pre.in  Python           config.status
Grammar          Misc             README           configure
Include          Modules          RISCOS           configure.in
LICENSE          Objects          Tools            install-sh
Lib              PC               acconfig.h       pyconfig.h
Mac              PCbuild          buildno          pyconfig.h.in
Makefile         PLAN.txt         config.cache     setup.py
bash-2.03# /usr/ccs/bin/make 
rm -f libpython2.2.a
ar cr libpython2.2.a Modules/getbuildinfo.o
sh: ar: not found
*** Error code 1
make: Fatal error: Command failed for target `libpython2.2.a'
bash-2.03# /usr/ccs/bin/make clean
find . -name '*.o' -exec rm -f {} ';'
find . -name '*.s[ol]' -exec rm -f {} ';'
find . -name '*.py[co]' -exec rm -f {} ';'
bash-2.03# /usr/ccs/bin/make 
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Modules/python.o Modules/python.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Parser/acceler.o Parser/acceler.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Parser/grammar1.o Parser/grammar1.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Parser/listnode.o Parser/listnode.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Parser/node.o Parser/node.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Parser/parser.o Parser/parser.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Parser/parsetok.o Parser/parsetok.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Parser/tokenizer.o Parser/tokenizer.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Parser/bitset.o Parser/bitset.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Parser/metagrammar.o Parser/metagrammar.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Parser/myreadline.o Parser/myreadline.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Objects/abstract.o Objects/abstract.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Objects/bufferobject.o Objects/bufferobject.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Objects/cellobject.o Objects/cellobject.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Objects/classobject.o Objects/classobject.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Objects/cobject.o Objects/cobject.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Objects/complexobject.o Objects/complexobject.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Objects/descrobject.o Objects/descrobject.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Objects/fileobject.o Objects/fileobject.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Objects/floatobject.o Objects/floatobject.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Objects/frameobject.o Objects/frameobject.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Objects/funcobject.o Objects/funcobject.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Objects/intobject.o Objects/intobject.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Objects/iterobject.o Objects/iterobject.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Objects/listobject.o Objects/listobject.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Objects/longobject.o Objects/longobject.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Objects/dictobject.o Objects/dictobject.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Objects/methodobject.o Objects/methodobject.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Objects/moduleobject.o Objects/moduleobject.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Objects/object.o Objects/object.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Objects/rangeobject.o Objects/rangeobject.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Objects/sliceobject.o Objects/sliceobject.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Objects/stringobject.o Objects/stringobject.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Objects/structseq.o Objects/structseq.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Objects/tupleobject.o Objects/tupleobject.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Objects/typeobject.o Objects/typeobject.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Objects/weakrefobject.o Objects/weakrefobject.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Objects/unicodeobject.o Objects/unicodeobject.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Objects/unicodectype.o Objects/unicodectype.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Python/bltinmodule.o Python/bltinmodule.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Python/exceptions.o Python/exceptions.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Python/ceval.o Python/ceval.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Python/mysnprintf.o Python/mysnprintf.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Parser/firstsets.o Parser/firstsets.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Parser/grammar.o Parser/grammar.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Parser/pgen.o Parser/pgen.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Parser/printgrammar.o Parser/printgrammar.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Parser/pgenmain.o Parser/pgenmain.c
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes  Parser/acceler.o  Parser/grammar1.o  Parser/listnode.o  Parser/node.o  Parser/parser.o  Parser/parsetok.o  Parser/tokenizer.o  Parser/bitset.o  Parser/metagrammar.o Python/mysnprintf.o  Parser/firstsets.o  Parser/grammar.o  Parser/pgen.o  Parser/printgrammar.o  Parser/pgenmain.o -lsocket -lnsl -ldl  -lpthread -lthread -o Parser/pgen
Parser/pgen ./Grammar/Grammar ./Include/graminit.h ./Python/graminit.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Python/compile.o Python/compile.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Python/codecs.o Python/codecs.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Python/errors.o Python/errors.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Python/frozen.o Python/frozen.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Python/frozenmain.o Python/frozenmain.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Python/future.o Python/future.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Python/getargs.o Python/getargs.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Python/getcompiler.o Python/getcompiler.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Python/getcopyright.o Python/getcopyright.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Python/getmtime.o Python/getmtime.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H -DPLATFORM='"sunos5"' -o Python/getplatform.o ./Python/getplatform.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Python/getversion.o Python/getversion.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Python/graminit.o Python/graminit.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Python/import.o Python/import.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H -I. -o Python/importdl.o ./Python/importdl.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Python/marshal.o Python/marshal.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Python/modsupport.o Python/modsupport.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Python/mystrtoul.o Python/mystrtoul.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Python/pyfpe.o Python/pyfpe.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Python/pystate.o Python/pystate.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Python/pythonrun.o Python/pythonrun.c
Python/pythonrun.c: In function `initsigs':
Python/pythonrun.c:1348: warning: function declaration isn't a prototype
Python/pythonrun.c: In function `PyOS_getsig':
Python/pythonrun.c:1448: warning: function declaration isn't a prototype
Python/pythonrun.c: In function `PyOS_setsig':
Python/pythonrun.c:1470: warning: function declaration isn't a prototype
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Python/structmember.o Python/structmember.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Python/symtable.o Python/symtable.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Python/sysmodule.o Python/sysmodule.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Python/traceback.o Python/traceback.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Python/getopt.o Python/getopt.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Python/dynload_shlib.o Python/dynload_shlib.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Python/thread.o Python/thread.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Modules/config.o Modules/config.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -DPYTHONPATH='":plat-sunos5:lib-tk"' \
 -DPREFIX='"/usr/local"' \
 -DEXEC_PREFIX='"/usr/local"' \
 -DVERSION='"2.2"' \
 -DVPATH='""' \
 -o Modules/getpath.o ./Modules/getpath.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Modules/main.o Modules/main.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Modules/gcmodule.o Modules/gcmodule.c
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H   -c ./Modules/threadmodule.c -o Modules/threadmodule.o
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H   -c ./Modules/signalmodule.c -o Modules/signalmodule.o
./Modules/signalmodule.c:89: warning: function declaration isn't a prototype
./Modules/signalmodule.c: In function `signal_signal':
./Modules/signalmodule.c:213: warning: function declaration isn't a prototype
./Modules/signalmodule.c:215: warning: function declaration isn't a prototype
./Modules/signalmodule.c:226: warning: function declaration isn't a prototype
./Modules/signalmodule.c: In function `initsignal':
./Modules/signalmodule.c:333: warning: function declaration isn't a prototype
./Modules/signalmodule.c:337: warning: function declaration isn't a prototype
./Modules/signalmodule.c:356: warning: function declaration isn't a prototype
./Modules/signalmodule.c:358: warning: function declaration isn't a prototype
./Modules/signalmodule.c: In function `finisignal':
./Modules/signalmodule.c:562: warning: function declaration isn't a prototype
./Modules/signalmodule.c:570: warning: function declaration isn't a prototype
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H   -c ./Modules/posixmodule.c -o Modules/posixmodule.o
./Modules/posixmodule.c: In function `posix_fstatvfs':
./Modules/posixmodule.c:4393: warning: passing arg 2 of `fstatvfs64' from incompatible pointer type
./Modules/posixmodule.c: In function `posix_statvfs':
./Modules/posixmodule.c:4420: warning: passing arg 2 of `statvfs64' from incompatible pointer type
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H   -c ./Modules/errnomodule.c -o Modules/errnomodule.o
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H   -c ./Modules/_sre.c -o Modules/_sre.o
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H   -c ./Modules/newmodule.c -o Modules/newmodule.o
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H   -c ./Modules/symtablemodule.c -o Modules/symtablemodule.o
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H   -c ./Modules/xxsubtype.c -o Modules/xxsubtype.o
if test -f buildno; then \
 expr `cat buildno` + 1 >buildno1; \
 mv -f buildno1 buildno; \
else echo 1 >buildno; fi
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -DBUILD=`cat buildno` -o Modules/getbuildinfo.o ./Modules/getbuildinfo.c
rm -f libpython2.2.a
ar cr libpython2.2.a Modules/getbuildinfo.o
sh: ar: not found
*** Error code 1
make: Fatal error: Command failed for target `libpython2.2.a'




More information about the Python-Dev mailing list