On Thu, 2004-08-19 at 00:26 -0400, Nalmar wrote:
> here is how I managed to build the abicocoa module. I must say some of
> my solutions are hack so I send it here so someone can find the real
> solution and fix it.
>
> the source is from cvs, on 2004-08-19
>
> I tried to build it using the build_all.sh script
>
> 1- there is a problem in expat/lib/xmlparse.c around line 70 where
> somehow, the HAVE_MEMMOVE isn't defined even if macosx support it. I
> added the line 71 to get past the error but the real solution is out of
> my league.
>
> 71 #define HAVE_MEMMOVE
> 72 /* Handle the case where memmove() doesn't exist. */
> 73 #ifndef HAVE_MEMMOVE
> 74 #ifdef HAVE_BCOPY
> 75 #define memmove(d,s,l) bcopy((s),(d),(l))
> 76 #else
> 77 #error memmove does not exist on this platform, nor is a
> substitute available
> 78 #endif /* HAVE_BCOPY */
> 79 #endif /* HAVE_MEMMOVE */
Looks like changes with the new devtools. I don't have it on the iMac I
have access to remotely. I'll investigate.
>
> 2- 2 files are not included in the project abipbx2.pbproj :
> abi/src/text/fmt/xp/fp_FieldTableSumRun.cpp
> abi/src/wp/impexp/xp/ie_imp_RTFObjectsAndPicts.cpp
> which cause undefined symbols when it's trying to link the executable.
> Adding those 2 files with xcode to the project fix that
Sure. There were added lately and I haven't update the project file as I
can't do it remotely :-/
> 3- when running the resulting application, it crash with the following
> message on the console :
> dyld:
> /Developer/source/abicocoa/BUILD/AbiWord.app/Contents/MacOS/AbiWord
> can't open library: /usr@executable_path/../Frameworks/libintl.1.dylib
> (No such file or directory, errno = 2)
>
> My "solution" is to
> ln -s /Developer/source/abicocoa/BUILD/AbiWord.app/Contents/MacOS
> /usr@executable_path
> which work but again, the real solution is out of my league. Somehow,
> the "usr@executable_path" should have been replaced with the executable
> path but it hasn't
Looks like the .dyld files did not get copied over correctly. looks like
abipbx/preparelibs.sh or abipbx/finishlibs.sh do not work correctly. I
have to figure out why. I don't have XCode 1.5 installed and don't
intend to do it remotely. So that'll wait too.
BTW why is you stuff in /Developer instead of some $HOME sub-directory.
This is a really bad idea.
Sorry to not be more helpful.
Hub
-- Crazy French - http://www.figuiere.net/hub/Received on Thu Aug 19 18:54:01 2004
This archive was generated by hypermail 2.1.8 : Thu Aug 19 2004 - 18:54:01 CEST