macosforge / darwinbuild

Darwinbuild is a collection of tools that assist compilation of the many projects contained in Darwin, the open source base of Apple's macOS operating system.
https://macosforge.github.io/darwinbuild/
Other
128 stars 54 forks source link

dtrace missing dependacy #67

Open macosforgebot opened 15 years ago

macosforgebot commented 15 years ago

_mclguard-netmail@… originally submitted this as ticket:69


d-trace is missing depenaccies needed to build in builddarwin. The following need to be added: 1) file_cmds -- /bin/ln 2) xnu? -- sys/cdefs.h 3) cctools -- /usr/bin/as 4) CarbonHeaders -- Availability.h 5) libdyld -- dlfcn.h 6) cctools_ofiles -- mach-o/loader.h, mach-o/nlist.h, mach-o/stab.h 7) Libc_headers, architecture -- time.h, limits.h

Probably more.

After installing these the build fails at:

Yacc /SourceCache/dtrace/dtrace-48.1/libdtrace/dt_grammar.y

mkdir /private/var/tmp/dtrace/dtrace-48.1.obj/dtrace.build/libdtrace.so.build/DerivedSources cd /SourceCache/dtrace/dtrace-48.1 /XCD/loper/usr/bin/yacc -d -b /private/var/tmp/dtrace/dtrace-48.1.obj/dtrace.build/libdtrace.so.build/DerivedSources/y /SourceCache/dtrace/dtrace-48.1/libdtrace/dt_grammar.y

error: couldn't exec /XCD/loper/usr/bin/yacc: No such file or directory

Yacc /SourceCache/dtrace/dtrace-48.1/libdtrace/dt_grammar.y

cd /SourceCache/dtrace/dtrace-48.1 /XCD/loper/usr/bin/yacc -d -b /private/var/tmp/dtrace/dtrace-48.1.obj/dtrace.build/libdtrace.so.build/DerivedSources/y /SourceCache/dtrace/dtrace-48.1/libdtrace/dt_grammar.y

error: couldn't exec /XCD/loper/usr/bin/yacc: No such file or directory BUILD FAILED

Also th version should be 9J61 for this ticket the submition system has not been updated with this option yet.

macosforgebot commented 15 years ago

wsiegrist@… originally submitted this as comment:1:⁠ticket:69


I added these plus other dependencies in r516. However, dtrace is still not buildable due to dependencies which are not open source.