On 7/26/05, Kevin Van Vechten <kevin@opendarwin.org> wrote:
edit.c fails to compile on Panther, which results in an empty edit.so file. The build should have failed but didn't, I'll work on enhancing the makefiles. Apply the following patch to edit.c and reinstall (alternatively you could remove /usr/local/share/darwinxref/ plugins/edit.so).
Well, it did break the first time I ran make. But the second time it worked.
--- darwinxref/plugins/edit.c.orig Tue Jul 26 19:33:06 2005 +++ darwinxref/plugins/edit.c Tue Jul 26 19:33:19 2005 @@ -32,6 +32,7 @@ #include "DBPlugin.h" #include <sys/stat.h> +#include <sys/wait.h> #include <unistd.h> int editPlist(CFStringRef project);
This patched allowed me to get farther. Now I am getting: Panther:/Volumes/Builds/Build8C46 root# darwinbuild -depsbuild=8C46 launchd *** Fetching Sources ... Found launchd-106.3.tar.gz in /Volumes/Builds/Build8C46/Sources *** Copying Sources ... *** Installing Roots ... /8C46/files.root.tar.gz ...://darwinsource.opendarwin.org/Roots/ ERROR: could not find root: files Panther:/Volumes/Builds/Build8C46 root# darwinbuild -fetch apache_mod_php *** Fetching Sources ... Found apache_mod_php-18.tar.gz in /Volumes/Builds/Build8C46/Sources Panther:/Volumes/Builds/Build8C46 root# darwinbuild apache_mod_php *** Fetching Sources ... Found apache_mod_php-18.tar.gz in /Volumes/Builds/Build8C46/Sources *** Copying Sources ... *** Installing Roots ... /8C46/files.root.tar.gz ...://darwinsource.opendarwin.org/Roots/ ERROR: could not find root: files Michael