On Aug 18, 2006, at 6:59 PM, Matthew Peltzer wrote:

> Has anone been able to resolve this yet?
>
>

I've gotten it to build on Intel, but then it wouldn't run (it told  
me that the component manager could not be found.  What follows is a  
reply that I meant to send to the group, but I believe instead sent  
privately to Alexander Hansen.

Here's how I got it to build (just on Intel, so far), by the way:

In /sw/fink/10.4/unstable/crypto/finkinfo/openoffice.org.info, I  
edited the "--with-jdk-home='$JAVA_HOME'" line to "--with-jdk-home=/ 
System/Library/Frameworks/JavaVM.framework/Home."  You'd use the  
"main" tree instead, of course, if you've not enabled crypto.

Then it will build for a long time till it fails over some code that  
defines "Enumeration enum," for the stated reason that Java 1.5 now  
uses "enum" as a keyword, hence it can't be an identifier. You can  
trace the readout to find the files and the number (8) of  
occurrences.  It says that one can specify an older version of Java  
to retain the identifiers, but what I did instead was to edit the  
files to rename them as "enumr."  I then restarted dmake.

By the way, instead of waiting for the failure, you could just as  
easily edit those files after they're unpacked, so they're correct  
when they're called (Lord knows you have plenty of time.)  They are  
(for "root" here I'll use /sw/src/fink.build/ 
openoffice.org-2.0.2-1001/00B680_m5/"):

Two instances of the description "enum" are in

xmerge/source/xmerge/java/org/openoffice/xmerge/ConvertData.java

While in this directory, go down further into converter/xml/xslt.   
Two files are here with three instances each.  They are

PluginFactoryImpl.java and DocumentDeserializerImpl.java.

While this allowed the Intel build to complete (albeit without being  
able to run,)  PowerPC has been a little different.  In this case, I  
get to a certain point and it seems to just hang..  Activity Monitor  
shows cc1plus hogging the CPU and using about 150 MB RAM, with very  
little disk activity.  I let it sit here for two days, the first  
time.  Here is what is in the terminal at the time.  Again, it's  
always at this spot.

Making: ../../unxmacxp.pro/obj/objtest.obj
g++ -fsigned-char -fmessage-length=0 -malign-natural -c -I.  -I. -I../ 
inc -I../../inc -I../../unx/inc -I../../unxmacxp.pro/inc -I. -I/sw/ 
src/fink.build/openoffice.org-2.0.2-1001/OOB680_m5/solver/680/ 
unxmacxp.pro/inc/stl -I/sw/src/fink.build/openoffice.org-2.0.2-1001/ 
OOB680_m5/solver/680/unxmacxp.pro/inc/external -I/sw/src/fink.build/ 
openoffice.org-2.0.2-1001/OOB680_m5/solver/680/unxmacxp.pro/inc -I/sw/ 
src/fink.build/openoffice.org-2.0.2-1001/OOB680_m5/solenv/unxmacxp/ 
inc -I/sw/src/fink.build/openoffice.org-2.0.2-1001/OOB680_m5/solenv/ 
inc -I/sw/src/fink.build/openoffice.org-2.0.2-1001/OOB680_m5/res -I/ 
sw/src/fink.build/openoffice.org-2.0.2-1001/OOB680_m5/solver/680/ 
unxmacxp.pro/inc/stl -I/System/Library/Frameworks/JavaVM.framework/ 
Versions/Current/Headers -I/System/Library/Frameworks/ 
JavaVM.framework/Headers -I/sw/include/db4 -I/sw/lib/freetype219/ 
include/freetype2 -I/sw/lib/freetype219/include -I/sw/include -I/usr/ 
X11R6/include     -I. -I../../res -I. -O2 -fno-strict-aliasing   - 
pipe -malign-natural -fsigned-char -Wno-long-double  -Wno-ctor-dtor- 
privacy -fexceptions -fno-enforce-eh-specs   -fPIC -fno-common - 
DMACOSX -DUNX -DVCL -DGCC -DC300 -DPOWERPC -DCVER=C300 - 
D_USE_NAMESPACE -DGLIBC=2 -D_PTHREADS -D_REENTRANT - 
DNO_PTHREAD_PRIORITY -DPOWERPC -DPPC -DSTLPORT_VERSION=400 - 
D_USE_NAMESPACE=1 -DX_LOCALE -DHAVE_GCC_VISIBILITY_FEATURE -DNO_AUDIO  
-D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/include/c++/ 
4.0.0 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL - 
DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA - 
DOOB680=OOB680  -DBUILD_OS_APPLEOSX -DBUILD_OS_MAJOR=10 - 
DBUILD_OS_MINOR=4 -DBUILD_OS_REV=7 -DMULTITHREAD   -o ../../ 
unxmacxp.pro/obj/objtest.o /sw/src/fink.build/ 
openoffice.org-2.0.2-1001/OOB680_m5/automation/source/testtool/ 
objtest.cxx







-----
"Drama is life with the dull bits cut out."
-Alfred Hitchcock

Jerry Fritschle
[EMAIL PROTECTED]



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to