[darwinbuild] RELEASE: Darwin Build Scripts 0.6
Shantonu Sen
ssen at opendarwin.org
Thu Jul 28 00:34:56 PDT 2005
Wait, why are you trying to build the Tiger launchd on Panther (where
it isn't supported, and probably won't build anyway)?
Shantonu
On Jul 27, 2005, at 6:22 PM, Kevin Van Vechten wrote:
> Looks like another Panther bug For some reason, the Tcl plugins to
> darwinxref were emitting carriage returns in the line endings
> instead of just linefeeds. The following patch (which has already
> been comitted to CVS) fixes this:
>
> --- darwinxref/DBTclPlugin.c 7 Jul 2005 22:43:39 -0000 1.5
> +++ darwinxref/DBTclPlugin.c 28 Jul 2005 01:18:49 -0000
> @@ -314,6 +314,7 @@
> Tcl_Obj* varname = tcl_cfstr(CFSTR("__args__"));
> Tcl_ObjSetVar2(plugin->interp, varname, NULL, tcl_args,
> TCL_GLOBAL_ONLY);
> int exitCode = -1;
> + (void)Tcl_Eval(plugin->interp, "fconfigure stdout -
> translation lf");
> if (Tcl_Eval(plugin->interp, "eval run ${__args__}") ==
> TCL_OK) {
> Tcl_Obj* result = Tcl_GetObjResult(plugin->interp);
> if (Tcl_GetCharLength(result) == 0) {
>
>
>
> On Jul 26, 2005, at 7:43 PM, Michael Franz wrote:
>
>
>> On 7/26/05, Kevin Van Vechten <kevin at 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
>>
>>
>
> _______________________________________________
> darwinbuild mailing list
> darwinbuild at opendarwin.org
> http://www.opendarwin.org/mailman/listinfo/darwinbuild
>
More information about the darwinbuild-dev
mailing list