error building python24 on mac os x

Stuart Robertson s.glendinning.robertson at googlemail.com
Thu May 10 23:55:49 PDT 2007


On 11 May 2007, at 06:02, Jann Röder wrote:

> I just found something interesting in Mac/OSX/Dist/build :
>
> # If the filesystem is case-sensitive then "python" will be built, but
> # some parts of the install expect "python.exe which is what is built
> # on a case-insensitive filesystem.  Make a link just in case it is
> # needed.
> if [ ! -e python.exe ]; then
>     ln -s python python.exe
> fi
>
> So it is a case-sensitve vs. not case sensitive filesystem, but this
> code should fix it... Why isn't it working then ?
>
> Jann
>
> paul beard wrote:
>>
>> On May 10, 2007, at 3:40 PM, Stuart Robertson wrote:
>>
>>> "/opt/local/var/db/dports/build/ 
>>> _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdat 
>>> e_dports_lang_python24/work/Python-2.4.3"
>>>
>>
>> Well, for one thing, you should be at python 2.4.4, not 2.4.3. Might
>> be worth running "port sync" or "port selfupdate" and see what
>> happens after that.
>>
>> also, I didn't get an attachment.
>>
>> -- Paul Beard words: http://paulbeard.org/wordpress pictures:
>> http://www.flickr.com/photos/pdb206/ Are you trying to win an
>> argument or solve a problem?
>>
>>

Paul,

I have run port selfupdate but not port sync, I'll try that.

I forgot the attachment last time, sorry; here it is now.

Stuart

-------------- next part --------------
--->  Building python24 with target all
/usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/opt/local/include -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: In function 'PyMac_GetFSSpec':
Python/mactoolboxglue.c:376: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:376: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'PyMac_GetFSRef':
Python/mactoolboxglue.c:378: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:378: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'AEDesc_Convert':
Python/mactoolboxglue.c:382: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:382: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'CmpObj_Convert':
Python/mactoolboxglue.c:385: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:385: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'CmpInstObj_Convert':
Python/mactoolboxglue.c:387: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:387: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'CtlObj_Convert':
Python/mactoolboxglue.c:390: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:390: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'DlgObj_Convert':
Python/mactoolboxglue.c:393: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:393: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'DragObj_Convert':
Python/mactoolboxglue.c:397: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:397: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'ListObj_Convert':
Python/mactoolboxglue.c:400: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:400: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'MenuObj_Convert':
Python/mactoolboxglue.c:403: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:403: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'GrafObj_Convert':
Python/mactoolboxglue.c:406: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:406: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'BMObj_Convert':
Python/mactoolboxglue.c:408: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:408: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'QdRGB_Convert':
Python/mactoolboxglue.c:410: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:410: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'GWorldObj_Convert':
Python/mactoolboxglue.c:413: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:413: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: At top level:
Python/mactoolboxglue.c:415: warning: parameter names (without types) in function declaration
Python/mactoolboxglue.c:415: error: parse error before 'cobj'
Python/mactoolboxglue.c:415: warning: function declaration isn't a prototype
Python/mactoolboxglue.c: In function 'TrackObj_New':
Python/mactoolboxglue.c:415: error: 'cobj' undeclared (first use in this function)
Python/mactoolboxglue.c:415: error: (Each undeclared identifier is reported only once
Python/mactoolboxglue.c:415: error: for each function it appears in.)
Python/mactoolboxglue.c: At top level:
Python/mactoolboxglue.c:416: error: parse error before 'Track'
Python/mactoolboxglue.c:416: warning: function declaration isn't a prototype
Python/mactoolboxglue.c:416: error: parse error before 'Track'
Python/mactoolboxglue.c:416: warning: function declaration isn't a prototype
Python/mactoolboxglue.c: In function 'TrackObj_Convert':
Python/mactoolboxglue.c:416: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:416: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:416: error: 'pyobj' undeclared (first use in this function)
Python/mactoolboxglue.c:416: error: 'cobj' undeclared (first use in this function)
Python/mactoolboxglue.c: At top level:
Python/mactoolboxglue.c:417: warning: parameter names (without types) in function declaration
Python/mactoolboxglue.c:417: error: parse error before 'cobj'
Python/mactoolboxglue.c:417: warning: function declaration isn't a prototype
Python/mactoolboxglue.c: In function 'MovieObj_New':
Python/mactoolboxglue.c:417: error: 'cobj' undeclared (first use in this function)
Python/mactoolboxglue.c: At top level:
Python/mactoolboxglue.c:418: error: parse error before 'Movie'
Python/mactoolboxglue.c:418: warning: function declaration isn't a prototype
Python/mactoolboxglue.c:418: error: parse error before 'Movie'
Python/mactoolboxglue.c:418: warning: function declaration isn't a prototype
Python/mactoolboxglue.c: In function 'MovieObj_Convert':
Python/mactoolboxglue.c:418: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:418: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:418: error: 'pyobj' undeclared (first use in this function)
Python/mactoolboxglue.c:418: error: 'cobj' undeclared (first use in this function)
Python/mactoolboxglue.c: At top level:
Python/mactoolboxglue.c:419: warning: parameter names (without types) in function declaration
Python/mactoolboxglue.c:419: error: parse error before 'cobj'
Python/mactoolboxglue.c:419: warning: function declaration isn't a prototype
Python/mactoolboxglue.c: In function 'MovieCtlObj_New':
Python/mactoolboxglue.c:419: error: 'cobj' undeclared (first use in this function)
Python/mactoolboxglue.c: At top level:
Python/mactoolboxglue.c:420: error: parse error before 'MovieController'
Python/mactoolboxglue.c:420: warning: function declaration isn't a prototype
Python/mactoolboxglue.c:420: error: parse error before 'MovieController'
Python/mactoolboxglue.c:420: warning: function declaration isn't a prototype
Python/mactoolboxglue.c: In function 'MovieCtlObj_Convert':
Python/mactoolboxglue.c:420: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:420: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:420: error: 'pyobj' undeclared (first use in this function)
Python/mactoolboxglue.c:420: error: 'cobj' undeclared (first use in this function)
Python/mactoolboxglue.c: In function 'TimeBaseObj_Convert':
Python/mactoolboxglue.c:422: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:422: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: At top level:
Python/mactoolboxglue.c:423: warning: parameter names (without types) in function declaration
Python/mactoolboxglue.c:423: error: parse error before 'cobj'
Python/mactoolboxglue.c:423: warning: function declaration isn't a prototype
Python/mactoolboxglue.c: In function 'UserDataObj_New':
Python/mactoolboxglue.c:423: error: 'cobj' undeclared (first use in this function)
Python/mactoolboxglue.c: At top level:
Python/mactoolboxglue.c:424: error: parse error before 'UserData'
Python/mactoolboxglue.c:424: warning: function declaration isn't a prototype
Python/mactoolboxglue.c:424: error: parse error before 'UserData'
Python/mactoolboxglue.c:424: warning: function declaration isn't a prototype
Python/mactoolboxglue.c: In function 'UserDataObj_Convert':
Python/mactoolboxglue.c:424: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:424: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:424: error: 'pyobj' undeclared (first use in this function)
Python/mactoolboxglue.c:424: error: 'cobj' undeclared (first use in this function)
Python/mactoolboxglue.c: At top level:
Python/mactoolboxglue.c:425: warning: parameter names (without types) in function declaration
Python/mactoolboxglue.c:425: error: parse error before 'cobj'
Python/mactoolboxglue.c:425: warning: function declaration isn't a prototype
Python/mactoolboxglue.c: In function 'MediaObj_New':
Python/mactoolboxglue.c:425: error: 'cobj' undeclared (first use in this function)
Python/mactoolboxglue.c: At top level:
Python/mactoolboxglue.c:426: error: parse error before 'Media'
Python/mactoolboxglue.c:426: warning: function declaration isn't a prototype
Python/mactoolboxglue.c:426: error: parse error before 'Media'
Python/mactoolboxglue.c:426: warning: function declaration isn't a prototype
Python/mactoolboxglue.c: In function 'MediaObj_Convert':
Python/mactoolboxglue.c:426: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:426: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:426: error: 'pyobj' undeclared (first use in this function)
Python/mactoolboxglue.c:426: error: 'cobj' undeclared (first use in this function)
Python/mactoolboxglue.c: In function 'ResObj_Convert':
Python/mactoolboxglue.c:429: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:429: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'OptResObj_Convert':
Python/mactoolboxglue.c:431: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:431: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'TEObj_Convert':
Python/mactoolboxglue.c:434: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:434: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'WinObj_Convert':
Python/mactoolboxglue.c:437: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:437: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'CFObj_Convert':
Python/mactoolboxglue.c:440: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:440: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'CFTypeRefObj_Convert':
Python/mactoolboxglue.c:443: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:443: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'CFStringRefObj_Convert':
Python/mactoolboxglue.c:446: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:446: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'CFMutableStringRefObj_Convert':
Python/mactoolboxglue.c:448: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:448: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'CFArrayRefObj_Convert':
Python/mactoolboxglue.c:451: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:451: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'CFMutableArrayRefObj_Convert':
Python/mactoolboxglue.c:453: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:453: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'CFDictionaryRefObj_Convert':
Python/mactoolboxglue.c:456: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:456: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'CFMutableDictionaryRefObj_Convert':
Python/mactoolboxglue.c:458: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:458: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'CFURLRefObj_Convert':
Python/mactoolboxglue.c:461: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:461: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'OptionalCFURLRefObj_Convert':
Python/mactoolboxglue.c:462: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:462: warning: return makes integer from pointer without a cast
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.darwinports.org_dpupdate_dports_lang_python24/work/Python-2.4.3" && make all " returned error 2
Command output: Python/mactoolboxglue.c:440: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:440: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'CFTypeRefObj_Convert':
Python/mactoolboxglue.c:443: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:443: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'CFStringRefObj_Convert':
Python/mactoolboxglue.c:446: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:446: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'CFMutableStringRefObj_Convert':
Python/mactoolboxglue.c:448: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:448: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'CFArrayRefObj_Convert':
Python/mactoolboxglue.c:451: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:451: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'CFMutableArrayRefObj_Convert':
Python/mactoolboxglue.c:453: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:453: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'CFDictionaryRefObj_Convert':
Python/mactoolboxglue.c:456: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:456: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'CFMutableDictionaryRefObj_Convert':
Python/mactoolboxglue.c:458: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:458: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'CFURLRefObj_Convert':
Python/mactoolboxglue.c:461: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:461: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c: In function 'OptionalCFURLRefObj_Convert':
Python/mactoolboxglue.c:462: warning: return makes integer from pointer without a cast
Python/mactoolboxglue.c:462: warning: return makes integer from pointer without a cast
make: *** [Python/mactoolboxglue.o] Error 1

Warning: the following items did not execute (for python24): com.apple.activate com.apple.build com.apple.destroot com.apple.install
Error: Status 1 encountered during processing.


More information about the macports-users mailing list