[OGo-MacOSX] xcode compilation
Marcus Müller
macosx@opengroupware.org
Fri, 17 Aug 2007 17:11:50 +0200
--Apple-Mail-9-750396957
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
delsp=yes;
format=flowed
Hi Stephen,
On 17.08.2007, at 13:58, Stephen wrote:
> Hi All,
>
> As an objective C/Xcode newbie, I'm endeavoring to compile SOPE
> within XCode. I can get SOPE to compile on the command line but not
> from Xcode. I tried setting up a new local OS X account and
> compiling and got the same result (shown below). This is the second
> attempt; the last one was several months ago when the same result
> happened and so at that time I put SOPE development back in in the
> "cupboard". This time around it really is time to get something
> delivered and so some assistance is really appreciated.
> [...]
> rm: /tmp/SaxObjCBundledSAXDriversDestinationPath: Permission denied
> rm: /tmp/SaxObjCBundledSAXDriversDestinationPath: Permission denied
I'm not sure about these, looks like a permission problem - it's safe
to delete /tmp/SaxObjCBundledSAXDriversDestinationPath when in doubt.
> [...]
> In file included from /Volumes/sys2/project_ogo/sope-trunk-latest/
> sope/sope-xml/libxmlSAXDriver/libxmlDocSAXDriver.m:22:
> /Volumes/sys2/project_ogo/sope-trunk-latest/sope/sope-xml/
> libxmlSAXDriver/libxmlDocSAXDriver.h:22:34: error: SaxObjC/
> SaxXMLReader.h: No such file or directory
> /Volumes/sys2/project_ogo/sope-trunk-latest/sope/sope-xml/
> libxmlSAXDriver/libxmlDocSAXDriver.h:23:39: error: SaxObjC/
> SaxLexicalHandler.h: No such file or directory
> /Volumes/sys2/project_ogo/sope-trunk-latest/sope/sope-xml/
> libxmlSAXDriver/libxmlDocSAXDriver.h:24:36: error: SaxObjC/
> SaxDeclHandler.h: No such file or directory
> In file included from /Volumes/sys2/project_ogo/sope-trunk-latest/
> sope/sope-xml/libxmlSAXDriver/libxmlDocSAXDriver.m:22:
> /Volumes/sys2/project_ogo/sope-trunk-latest/sope/sope-xml/
> libxmlSAXDriver/libxmlDocSAXDriver.h:35: error: cannot find
> protocol declaration for 'SaxXMLReader'
> /Volumes/sys2/project_ogo/sope-trunk-latest/sope/sope-xml/
> libxmlSAXDriver/libxmlDocSAXDriver.h:37: error: cannot find
> protocol declaration for 'SaxContentHandler'
> /Volumes/sys2/project_ogo/sope-trunk-latest/sope/sope-xml/
> libxmlSAXDriver/libxmlDocSAXDriver.h:38: error: cannot find
> protocol declaration for 'SaxDTDHandler'
> /Volumes/sys2/project_ogo/sope-trunk-latest/sope/sope-xml/
> libxmlSAXDriver/libxmlDocSAXDriver.h:39: error: cannot find
> protocol declaration for 'SaxErrorHandler'
> /Volumes/sys2/project_ogo/sope-trunk-latest/sope/sope-xml/
> libxmlSAXDriver/libxmlDocSAXDriver.h:40: error: cannot find
> protocol declaration for 'SaxEntityResolver'
> /Volumes/sys2/project_ogo/sope-trunk-latest/sope/sope-xml/
> libxmlSAXDriver/libxmlDocSAXDriver.h:42: error: cannot find
> protocol declaration for 'SaxLexicalHandler'
> /Volumes/sys2/project_ogo/sope-trunk-latest/sope/sope-xml/
> libxmlSAXDriver/libxmlDocSAXDriver.h:43: error: cannot find
> protocol declaration for 'SaxDeclHandler'
> In file included from /Volumes/sys2/project_ogo/sope-trunk-latest/
> sope/sope-xml/libxmlSAXDriver/libxmlDocSAXDriver.m:23:
> ...
> Many lines deleted to save space
> ...
You need to setup links for all frameworks - or setup the build area
as document in README-OSX.txt (i.e. found in sope-xml):
--- snip ---
Development
-----------
Development usually means you're happily hacking away at your pet
projects and sometimes want to update the SOPE frameworks. For this
purpose
use the "all" target and the accompanied "Development" build style.
Later,
you can narrow the target down to something more specific. For
development we
assume the destination for frameworks to be /Library/Frameworks. Once
you are
done building all the frameworks the loader commands of the
frameworks will
have that destination path built in. In order to use the frameworks
you either
have to install them (by copying them manually to their destination)
or to
prepare symlinks from /Library/Frameworks to the place where the
built products
are. I usually build everything in a central place (i.e. /Local/
BuildArea) and
have symlinks from /Library/Frameworks to /Local/BuildArea for each
of the
products.
--- snap ---
Cheers,
Marcus
--
Marcus Mueller . . . crack-admin/coder ;-)
Mulle kybernetiK . http://www.mulle-kybernetik.com
Current projects: http://www.mulle-kybernetik.com/znek/
--Apple-Mail-9-750396957
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=ISO-8859-1
<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; ">
Hi Stephen,<div><br><div><div>On 17.08.2007, at 13:58, Stephen =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">Hi All,</div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><br></div><div style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">As an =
objective C/Xcode newbie, I'm endeavoring to compile SOPE within XCode. =
I can get SOPE to compile on the command line but not from Xcode. I =
tried setting up a new local OS X account and compiling and got the same =
result (shown below). This is the second attempt; the last one was =
several months ago when the same result happened and so at that time I =
put SOPE development back in in the "cupboard". This time around it =
really is time to get something delivered and so some assistance is =
really appreciated.</div></blockquote><div><br =
class=3D"webkit-block-placeholder"></div><blockquote type=3D"cite"><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">[...]</div></blockquote><br><blockquote =
type=3D"cite"><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">rm: =
/tmp/SaxObjCBundledSAXDriversDestinationPath: Permission =
denied</div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">rm: =
/tmp/SaxObjCBundledSAXDriversDestinationPath: Permission =
denied</div></blockquote><div><br =
class=3D"webkit-block-placeholder"></div>I'm not sure about these, looks =
like a permission problem - it's safe to delete =
/tmp/SaxObjCBundledSAXDriversDestinationPath when in =
doubt.</div><div><br><blockquote type=3D"cite"><div style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span =
class=3D"Apple-style-span" style=3D"-webkit-text-stroke-width: -1; =
"></span></div></blockquote><br><blockquote type=3D"cite"><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><span class=3D"Apple-style-span" =
style=3D"-webkit-text-stroke-width: -1; =
">[...]</span></div></blockquote><br><blockquote type=3D"cite"><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><span class=3D"Apple-style-span" =
style=3D"-webkit-text-stroke-width: -1; ">In file included from =
/Volumes/sys2/project_ogo/sope-trunk-latest/sope/sope-xml/libxmlSAXDriver/=
libxmlDocSAXDriver.m:22:</span></div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">/Volumes/sys2/project_ogo/sope-trunk-latest/sope/sope-xml/libxmlSAXDrive=
r/libxmlDocSAXDriver.h:22:34: error: SaxObjC/SaxXMLReader.h: No such =
file or directory</div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; =
">/Volumes/sys2/project_ogo/sope-trunk-latest/sope/sope-xml/libxmlSAXDrive=
r/libxmlDocSAXDriver.h:23:39: error: SaxObjC/SaxLexicalHandler.h: No =
such file or directory</div><div style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; =
">/Volumes/sys2/project_ogo/sope-trunk-latest/sope/sope-xml/libxmlSAXDrive=
r/libxmlDocSAXDriver.h:24:36: error: SaxObjC/SaxDeclHandler.h: No such =
file or directory</div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">In file included from =
/Volumes/sys2/project_ogo/sope-trunk-latest/sope/sope-xml/libxmlSAXDriver/=
libxmlDocSAXDriver.m:22:</div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">/Volumes/sys2/project_ogo/sope-trunk-latest/sope/sope-xml/libxmlSAXDrive=
r/libxmlDocSAXDriver.h:35: error: cannot find protocol declaration for =
'SaxXMLReader'</div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; =
">/Volumes/sys2/project_ogo/sope-trunk-latest/sope/sope-xml/libxmlSAXDrive=
r/libxmlDocSAXDriver.h:37: error: cannot find protocol declaration for =
'SaxContentHandler'</div><div style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; =
">/Volumes/sys2/project_ogo/sope-trunk-latest/sope/sope-xml/libxmlSAXDrive=
r/libxmlDocSAXDriver.h:38: error: cannot find protocol declaration for =
'SaxDTDHandler'</div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; =
">/Volumes/sys2/project_ogo/sope-trunk-latest/sope/sope-xml/libxmlSAXDrive=
r/libxmlDocSAXDriver.h:39: error: cannot find protocol declaration for =
'SaxErrorHandler'</div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; =
">/Volumes/sys2/project_ogo/sope-trunk-latest/sope/sope-xml/libxmlSAXDrive=
r/libxmlDocSAXDriver.h:40: error: cannot find protocol declaration for =
'SaxEntityResolver'</div><div style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; =
">/Volumes/sys2/project_ogo/sope-trunk-latest/sope/sope-xml/libxmlSAXDrive=
r/libxmlDocSAXDriver.h:42: error: cannot find protocol declaration for =
'SaxLexicalHandler'</div><div style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; =
">/Volumes/sys2/project_ogo/sope-trunk-latest/sope/sope-xml/libxmlSAXDrive=
r/libxmlDocSAXDriver.h:43: error: cannot find protocol declaration for =
'SaxDeclHandler'</div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">In file included from =
/Volumes/sys2/project_ogo/sope-trunk-latest/sope/sope-xml/libxmlSAXDriver/=
libxmlDocSAXDriver.m:23:</div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">...</div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">Many lines deleted to save space</div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">...</div></blockquote><br></div><div>You need to =
setup links for all frameworks - or setup the build area as document in =
README-OSX.txt (i.e. found in sope-xml):</div><div><br =
class=3D"webkit-block-placeholder"></div><div>--- snip =
---</div><div><div><br =
class=3D"webkit-block-placeholder"></div><div>Development</div><div>------=
-----</div><div>Development usually means you're happily hacking away at =
your pet</div><div>projects and sometimes want to update the SOPE =
frameworks. For this purpose</div><div>use the "all" target and the =
accompanied "Development" build style. Later,</div><div>you can narrow =
the target down to something more specific. For development =
we</div><div>assume the destination for frameworks to be =
/Library/Frameworks. Once you are</div><div>done building all the =
frameworks the loader commands of the frameworks will</div><div>have =
that destination path built in. In order to use the frameworks you =
either</div><div>have to install them (by copying them manually to their =
destination) or to</div><div>prepare symlinks from /Library/Frameworks =
to the place where the built products</div><div>are. I usually build =
everything in a central place (i.e. /Local/BuildArea) and</div><div>have =
symlinks from /Library/Frameworks to /Local/BuildArea for each of =
the</div><div>products.</div>--- snap ---</div><div><br =
class=3D"webkit-block-placeholder"></div><div><br =
class=3D"webkit-block-placeholder"></div><div> <span =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><span =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><p style=3D"margin: =
0.0px 0.0px 0.0px 0.0px"><font face=3D"Helvetica" size=3D"3" =
style=3D"font: 12.0px Helvetica">Cheers,</font></p><p style=3D"margin: =
0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: =
14.0px"><br></p><p style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><font =
face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px Helvetica"><span =
class=3D"Apple-converted-space">=A0<span =
class=3D"Apple-converted-space">=A0</span></span>Marcus</font></p><p =
style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; =
min-height: 14.0px"><br></p><p style=3D"margin: 0.0px 0.0px 0.0px =
0.0px"><font face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px =
Helvetica">--<span class=3D"Apple-converted-space">=A0</span></font></p><p=
style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><font face=3D"Helvetica" =
size=3D"3" style=3D"font: 12.0px Helvetica">Marcus Mueller<span =
class=3D"Apple-converted-space">=A0<span =
class=3D"Apple-converted-space">=A0</span></span>.<span =
class=3D"Apple-converted-space">=A0<span =
class=3D"Apple-converted-space">=A0</span></span>.<span =
class=3D"Apple-converted-space">=A0<span =
class=3D"Apple-converted-space">=A0</span></span>.<span =
class=3D"Apple-converted-space">=A0<span =
class=3D"Apple-converted-space">=A0</span></span>crack-admin/coder =
;-)</font></p><p style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><font =
face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px Helvetica">Mulle =
kybernetiK<span class=3D"Apple-converted-space">=A0<span =
class=3D"Apple-converted-space">=A0</span></span>.<span =
class=3D"Apple-converted-space">=A0<span =
class=3D"Apple-converted-space">=A0</span></span><a =
href=3D"http://www.mulle-kybernetik.com">http://www.mulle-kybernetik.com</=
a></font></p><p style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><font =
face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px Helvetica">Current =
projects:=A0<a =
href=3D"http://www.mulle-kybernetik.com/znek/">http://www.mulle-kybernetik=
.com/znek/</a></font></p><br =
class=3D"Apple-interchange-newline"></span></span> =
</div><br></div></body></html>=
--Apple-Mail-9-750396957--