[OpenAFS-port-darwin] How do I create an OS X Package

Tony Perrie tony@involution.com
Tue, 22 Nov 2005 20:27:06 -0600 (CST)


I tried creating an 1.4.1-RC1 package with:

% make package

cd src && cd config && make allmake[1]: Nothing to be done for `all'.cd 
src && cd pinstall && make allmake[1]: Nothing to be done for `all'.cd src 
&& cd procmgmt && make allmake[1]: Nothing to be done for `all'.cd src && 
cd des && make all make[1]: Nothing to be done for `all'.cd src && cd util 
&& make allmake[1]: Nothing to be done for `all'.cd src && cd comerr && 
make allmake[1]: Nothing to be done for `all'.make[1]: Nothing to be done 
for `all'.make[1]: Nothing to be done for `all'.bison -y  gram.y 
conflicts:  8 shift/reducemv -f y.tab.c gram.ccc  -O 
-I/Users/jperrie/openafs/src/config -I. -I. 
-I/Users/jperrie/openafs/include -I/Users/jperrie/openafs/include/afs 
-I/Users/jperrie/openafs/include/rx -I/Users/jperrie/openafs 
-I/Users/jperrie/openafs/src -I/Users/jperrie/openafs/src -DKFLAG -DANDREW 
-DVICE -UDEBUG -c gram.cgram.y: In function 'yyparse':gram.y:91: error: 
'test_linecounter' undeclared (first use in this function)gram.y:91: 
error: (Each undeclared identifier is reported only oncegram.y:91: error: 
for each function it appears in.)gram.y:297: warning: assignment makes 
pointer from integer without a castgram.y:299: warning: assignment makes 
pointer from integer without a castgram.y:301: warning: assignment makes 
pointer from integer without a castgram.y:303: warning: assignment makes 
pointer from integer without a castgram.y: At top level:gram.y:345: error: 
conflicting types for 'ch2str'gram.y:297: error: previous implicit 
declaration of 'ch2str' was heregram.y:358: error: conflicting types for 
'appendchtostr'gram.y:301: error: previous implicit declaration of 
'appendchtostr' was heregram.y: In function 'appendchtostr':gram.y:365: 
warning: incompatible implicit declaration of built-in function 
'strlen'make[1]: *** [gram.o] Error 1rm gram.cmake: *** [package] Error 2

Tony Perrie