[Openmcl-devel] Problems trying to create CDB files for the Addressbook framework

Gary King gwking at metabang.com
Wed May 10 07:43:44 PDT 2006


For some reason -- probably tiredness -- I sent this only to myself.

Begin forwarded message:

> From: Gary King <gwking at metabang.com>
> Date: May 9, 2006 11:36:01 PM EDT
> To: gwking at metabang.com
> Subject: Re: [Openmcl-devel] Problems trying to create CDB files  
> for the Addressbook framework
> Reply-To: gwking at metabang.com
>
> OK. I now have FFI files but don't seem to turn them into a CDB. I  
> get the following when trying to parse-standard-ffi-fiiles:
>
> ;;; it works
>> ? (parse-standard-ffi-files :webkit)
>> T
>
> ;; it doesn't
>> ? (parse-standard-ffi-files :addressbook)
>> > Error: No such file or directory : #P"ccl:darwin- 
>> headers;addressbook;new-constants.cdb"
>> > While executing: CDBM-OPEN, in process listener(1).
>> > Type :POP to abort.
>> Type :? for other options.
>> 1 >
>
> I'm off to bed.
>
> keep peace,
>
>
> On May 9, 2006, at 11:12 PM, Gary King wrote:
>
>> OK. I got this to work using the following. I'd still be  
>> interested to know how to get this to work just using the  
>> AddressBook.h file (I did try adding -D__OBJC__ to the h-to-ffi  
>> command but that didn't do it).
>>
>>> #!/bin/sh
>>> # h-to-ffi.sh -D__OBJC__ /System/Library/Frameworks/ 
>>> AddressBook.framework/Headers/AddressBook.h
>>>
>>> h-to-ffi.sh /System/Library/Frameworks/AddressBook.framework/ 
>>> Headers/ABTypedefs.h
>>> h-to-ffi.sh /System/Library/Frameworks/AddressBook.framework/ 
>>> Headers/ABGlobals.h
>>> h-to-ffi.sh /System/Library/Frameworks/AddressBook.framework/ 
>>> Headers/ABAddressBook.h
>>> h-to-ffi.sh /System/Library/Frameworks/AddressBook.framework/ 
>>> Headers/ABRecord.h
>>> h-to-ffi.sh /System/Library/Frameworks/AddressBook.framework/ 
>>> Headers/ABGroup.h
>>> h-to-ffi.sh /System/Library/Frameworks/AddressBook.framework/ 
>>> Headers/ABPerson.h
>>> h-to-ffi.sh /System/Library/Frameworks/AddressBook.framework/ 
>>> Headers/ABImageLoading.h
>>> h-to-ffi.sh /System/Library/Frameworks/AddressBook.framework/ 
>>> Headers/ABSearchElement.h
>>> h-to-ffi.sh /System/Library/Frameworks/AddressBook.framework/ 
>>> Headers/ABMultiValue.h
>>
>>
>>
>> On May 9, 2006, at 11:09 PM, Gary King wrote:
>>
>>> I should mention that I can run the populate.sh program in other  
>>> framework directories (e.g., webkit).
>>>
>>> On May 9, 2006, at 10:52 PM, Gary King wrote:
>>>
>>>> I'm trying to create CDB files for the addressbook framework but  
>>>> I'm
>>>> not succeeding. I've made a sub-directory of darwin-headers named
>>>> addressbook and put a sub-directory named C under that with the
>>>> following populate.h in it:
>>>>
>>>>> #!/bin/sh
>>>>> h-to-ffi.sh -D__OBJC__ /System/Library/Frameworks/
>>>>> AddressBook.framework/Headers/AddressBook.h
>>>>
>>>> I've also tried this one:
>>>>
>>>>> #!/bin/sh
>>>>>
>>>>> h-to-ffi.sh /System/Library/Frameworks/AddressBook.framework/
>>>>> Headers/ABTypedefs.h
>>>>> h-to-ffi.sh /System/Library/Frameworks/AddressBook.framework/
>>>>> Headers/ABGlobalsC.h
>>>>> h-to-ffi.sh /System/Library/Frameworks/AddressBook.framework/
>>>>> Headers/ABAddressBookC.h
>>>>>
>>>>
>>>> In either case, I get errors like:
>>>>
>>>>> +++ /System/Library/Frameworks/AddressBook.framework/Headers/
>>>>> ABTypedefs.h
>>>>> : No such file or directoryary/Frameworks/AddressBook.framework/
>>>>> Headers/ABTypedefs.h
>>>>> +++ /System/Library/Frameworks/AddressBook.framework/Headers/
>>>>> ABGlobalsC.h
>>>>> : No such file or directoryary/Frameworks/AddressBook.framework/
>>>>> Headers/ABGlobalsC.h
>>>>> +++ /System/Library/Frameworks/AddressBook.framework/Headers/
>>>>> ABAddressBookC.h
>>>>> : No such file or directoryary/Frameworks/AddressBook.framework/
>>>>> Headers/ABAddressBookC.h
>>>>> [
>>>>
>>>> But trying "ls System/Library/Frameworks/AddressBook.framework/
>>>> Headers/ABGlobalsC.h" works fine.
>>>>
>>>> Can anyone tell me what I'm missing?
>>>>
>>>> thanks,
>>>> -- 
>>>> Gary Warren King
>>>> metabang.com
>>>> http://www.metabang.com/
>>>> (413) 210 7511
>>>> gwking on #lisp (occasionally)
>>>>
>>>>
>>>> _______________________________________________
>>>> Openmcl-devel mailing list
>>>> Openmcl-devel at clozure.com
>>>> http://clozure.com/mailman/listinfo/openmcl-devel
>>>
>>>
>>> -- 
>>> Gary Warren King
>>> metabang.com
>>> http://www.metabang.com/
>>> (413) 210 7511
>>> gwking on #lisp (occasionally)
>>>
>>>
>>
>>
>> -- 
>> Gary Warren King
>> metabang.com
>> http://www.metabang.com/
>> (413) 210 7511
>> gwking on #lisp (occasionally)
>>
>>
>
>
> -- 
> Gary Warren King
> metabang.com
> http://www.metabang.com/
> (413) 210 7511
> gwking on #lisp (occasionally)
>
>


-- 
Gary Warren King
metabang.com
http://www.metabang.com/
(413) 210 7511
gwking on #lisp (occasionally)





More information about the Openmcl-devel mailing list