Port 2.2.99 cannot be built on PPC Mac OS X 10.4.11 (Tiger) because of missing spawn.h C header file
cc -g -O2 -std=c99 -Wextra -Wall -fPIC -arch i386 -arch ppc -DHAVE_CONFIG_H -I.. -I. -I"/usr/include" -c -o proc.o proc.c
proc.c:45:19: error: spawn.h: No such file or directory
proc.c:45:19: error: spawn.h: No such file or directory
proc.c:293: warning: type defaults to ‘int’ in declaration of ‘posix_spawn_file_actions_t’
proc.c:293: error: parse error before ‘*’ token
proc.c:302: warning: type defaults to ‘int’ in declaration of ‘posix_spawn_file_actions_t’
proc.c:302: error: parse error before ‘*’ token
proc.c: In function ‘posix_spawn’:
proc.c:309: error: ‘path’ undeclared (first use in this function)
proc.c:309: error: (Each undeclared identifier is reported only once
proc.c:309: error: for each function it appears in.)
proc.c:317: error: ‘attrp’ undeclared (first use in this function)
proc.c:318: warning: implicit declaration of function ‘posix_spawnattr_getflags’
proc.c:319: error: ‘POSIX_SPAWN_SETEXEC’ undeclared (first use in this function)
proc.c:343: error: ‘envp’ undeclared (first use in this function)
proc.c:344: error: ‘pid’ undeclared (first use in this function)
proc.c:344: error: ‘file_actions’ undeclared (first use in this function)
proc.c:344: error: ‘argv’ undeclared (first use in this function)
proc.c:293: warning: type defaults to ‘int’ in declaration of ‘posix_spawn_file_actions_t’
proc.c:293: error: parse error before ‘*’ token
proc.c:302: warning: type defaults to ‘int’ in declaration of ‘posix_spawn_file_actions_t’
proc.c:302: error: parse error before ‘*’ token
proc.c: In function ‘posix_spawn’:
proc.c:309: error: ‘path’ undeclared (first use in this function)
proc.c:309: error: (Each undeclared identifier is reported only once
proc.c:309: error: for each function it appears in.)
proc.c:317: error: ‘attrp’ undeclared (first use in this function)
proc.c:318: warning: implicit declaration of function ‘posix_spawnattr_getflags’
proc.c:319: error: ‘POSIX_SPAWN_SETEXEC’ undeclared (first use in this function)
proc.c:343: error: ‘envp’ undeclared (first use in this function)
proc.c:344: error: ‘pid’ undeclared (first use in this function)
proc.c:344: error: ‘file_actions’ undeclared (first use in this function)
proc.c:344: error: ‘argv’ undeclared (first use in this function)
lipo: can't figure out the architecture type of: /var/tmp//cc6rtmmO.out
make[3]: *** [proc.o] Error 1
make[2]: *** [all] Error 1
make[1]: *** [all] Error 1
make: *** [all] Error 2
The file really does not exist on Tiger. I can find it on Leopard. Tiger has something in Python plus these:
/opt/local/include/glib-2.0/glib/gspawn.h
/opt/local/include/gtk-2.0/gdk/gdkspawn.h
Change History (5)
Cc: |
cal@… removed
|
Keywords: |
tiger added
|
Owner: |
changed from macports-tickets@… to cal@…
|
Status: |
new →
assigned
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
Milestone: |
→ MacPorts Future
|
Milestone: |
MacPorts Future
|
Fixed in r113821, r113822, r113823.