Opened 18 years ago
Closed 18 years ago
#11156 closed defect (invalid)
python errors on installing
Reported by: | xsteadfastx@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | High | Milestone: | |
Component: | ports | Version: | 1.3.2 |
Keywords: | python | Cc: | |
Port: |
Description
Hi,
i cant compile python25 and python24. here is the full output of port -v install python25
mini:~ mini$ sudo port -v install python25 Password: ---> Building python25 with target all /usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG - g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DPy_BUILD_CORE -o Python/mactoolboxglue.o Python /mactoolboxglue.c In file included from Python/mactoolboxglue.c:27: ./Include/pymactoolbox.h:11:33: error: QuickTime/QuickTime.h: No such file or directory In file included from Python/mactoolboxglue.c:27: ./Include/pymactoolbox.h:137: warning: parameter names (without types) in function declaration ./Include/pymactoolbox.h:138: error: parse error before 'Track' ./Include/pymactoolbox.h:138: warning: function declaration isn't a prototype ./Include/pymactoolbox.h:139: warning: parameter names (without types) in function declaration ./Include/pymactoolbox.h:140: error: parse error before 'Movie' ./Include/pymactoolbox.h:140: warning: function declaration isn't a prototype ./Include/pymactoolbox.h:141: warning: parameter names (without types) in function declaration ./Include/pymactoolbox.h:142: error: parse error before 'MovieController' ./Include/pymactoolbox.h:142: warning: function declaration isn't a prototype ./Include/pymactoolbox.h:145: warning: parameter names (without types) in function declaration ./Include/pymactoolbox.h:146: error: parse error before 'UserData' ./Include/pymactoolbox.h:146: warning: function declaration isn't a prototype ./Include/pymactoolbox.h:147: warning: parameter names (without types) in function declaration ./Include/pymactoolbox.h:148: error: parse error before 'Media' ./Include/pymactoolbox.h:148: warning: function declaration isn't a prototype Python/mactoolboxglue.c:420: warning: parameter names (without types) in function declaration Python/mactoolboxglue.c:420: error: parse error before 'cobj' Python/mactoolboxglue.c:420: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'TrackObj_New': Python/mactoolboxglue.c:420: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c:420: error: (Each undeclared identifier is reported only once Python/mactoolboxglue.c:420: error: for each function it appears in.) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:421: error: parse error before 'Track' Python/mactoolboxglue.c:421: warning: function declaration isn't a prototype Python/mactoolboxglue.c:421: error: parse error before 'Track' Python/mactoolboxglue.c:421: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'TrackObj_Convert': Python/mactoolboxglue.c:421: error: 'pyobj' undeclared (first use in this function) Python/mactoolboxglue.c:421: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:422: warning: parameter names (without types) in function declaration Python/mactoolboxglue.c:422: error: parse error before 'cobj' Python/mactoolboxglue.c:422: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'MovieObj_New': Python/mactoolboxglue.c:422: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:423: error: parse error before 'Movie' Python/mactoolboxglue.c:423: warning: function declaration isn't a prototype Python/mactoolboxglue.c:423: error: parse error before 'Movie' Python/mactoolboxglue.c:423: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'MovieObj_Convert': Python/mactoolboxglue.c:423: error: 'pyobj' undeclared (first use in this function) Python/mactoolboxglue.c:423: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:424: warning: parameter names (without types) in function declaration Python/mactoolboxglue.c:424: error: parse error before 'cobj' Python/mactoolboxglue.c:424: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'MovieCtlObj_New': Python/mactoolboxglue.c:424: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:425: error: parse error before 'MovieController' Python/mactoolboxglue.c:425: warning: function declaration isn't a prototype Python/mactoolboxglue.c:425: error: parse error before 'MovieController' Python/mactoolboxglue.c:425: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'MovieCtlObj_Convert': Python/mactoolboxglue.c:425: error: 'pyobj' undeclared (first use in this function) Python/mactoolboxglue.c:425: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:428: warning: parameter names (without types) in function declaration Python/mactoolboxglue.c:428: error: parse error before 'cobj' Python/mactoolboxglue.c:428: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'UserDataObj_New': Python/mactoolboxglue.c:428: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:429: error: parse error before 'UserData' Python/mactoolboxglue.c:429: warning: function declaration isn't a prototype Python/mactoolboxglue.c:429: error: parse error before 'UserData' Python/mactoolboxglue.c:429: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'UserDataObj_Convert': Python/mactoolboxglue.c:429: error: 'pyobj' undeclared (first use in this function) Python/mactoolboxglue.c:429: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:430: warning: parameter names (without types) in function declaration Python/mactoolboxglue.c:430: error: parse error before 'cobj' Python/mactoolboxglue.c:430: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'MediaObj_New': Python/mactoolboxglue.c:430: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:431: error: parse error before 'Media' Python/mactoolboxglue.c:431: warning: function declaration isn't a prototype Python/mactoolboxglue.c:431: error: parse error before 'Media' Python/mactoolboxglue.c:431: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'MediaObj_Convert': Python/mactoolboxglue.c:431: error: 'pyobj' undeclared (first use in this function) Python/mactoolboxglue.c:431: error: 'cobj' undeclared (first use in this function) make: * [Python/mactoolboxglue.o] Error 1 Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local _var_db_dports_sources_rsync.rsync.macports.org_dpupdate_dports_lang_python25/work/Python-2.5" && ma ke all" returned error 2 Command output: Python/mactoolboxglue.c:425: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:428: warning: parameter names (without types) in function declaration Python/mactoolboxglue.c:428: error: parse error before 'cobj' Python/mactoolboxglue.c:428: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'UserDataObj_New': Python/mactoolboxglue.c:428: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:429: error: parse error before 'UserData' Python/mactoolboxglue.c:429: warning: function declaration isn't a prototype Python/mactoolboxglue.c:429: error: parse error before 'UserData' Python/mactoolboxglue.c:429: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'UserDataObj_Convert': Python/mactoolboxglue.c:429: error: 'pyobj' undeclared (first use in this function) Python/mactoolboxglue.c:429: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:430: warning: parameter names (without types) in function declaration Python/mactoolboxglue.c:430: error: parse error before 'cobj' Python/mactoolboxglue.c:430: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'MediaObj_New': Python/mactoolboxglue.c:430: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:431: error: parse error before 'Media' Python/mactoolboxglue.c:431: warning: function declaration isn't a prototype Python/mactoolboxglue.c:431: error: parse error before 'Media' Python/mactoolboxglue.c:431: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'MediaObj_Convert': Python/mactoolboxglue.c:431: error: 'pyobj' undeclared (first use in this function) Python/mactoolboxglue.c:431: error: 'cobj' undeclared (first use in this function) make: * [Python/mactoolboxglue.o] Error 1
Warning: the following items did not execute (for python25): com.apple.activate com.apple.build com. apple.destroot com.apple.install Error: Status 1 encountered during processing.
when its my fault then im sorry for this ticket.
im sorry. this bug can be closed. i read the answer in this here: http://trac.macports.org/projects/macports/ticket/4881
so sorry.