Posted: Wed Oct 08, 2003 7:16 pm Post subject: Building Neo/J -- what's with all the copying?
I understand very little of what is going on, I just typed make and it is...as someone noted, for over a day now. Mostly the messages that scroll by seem to be about copying files or unzipping files or zipping files, very little compiling and linking.
It's not helped that my disk is on a W2K box mounted via NFS...but does all that copying need to happen? Can it be streamlined? Is it worth trying?
Copying and zipping? When I build NeoJ (and NeoJ builds OpenOffice.org which is 95% of the NeoJ build), almost all of the time is spent compiling.
Realistically, building against a mounted directory is asking for the build to take forever. After all, the compiler has to read all of the myriad of header files that it generates from the mounted disk. This can be very, very slow.
Normally, OpenOffice.org takes at least 24 hours to build on a G4 with lots of memory (> 512 MB) and lots of local disk. I can only imagine how much longer it would take to build it from a mounted directory.
After thinking about this a little more, I remember that the OpenOffice.org build spits out a bunch a "zipping" messages when it creates its installers. This is a good sign as it means that the NeoJ build has almost completed the OpenOffice.org build which is 95% of the NeoJ build.
Unfortunately, the OpenOffice.org build is very wasteful in this step and creates an installer for each separate supported language.
After this step is done, you should see some more compiling (where NeoJ compiles its replacement code for about 5% of the OpenOffice.org code) and then it will cycle through the installer builds a second time to a create a single combined installer for all languages.
Joined: May 25, 2003 Posts: 4752 Location: Santa Barbara, CA
Posted: Wed Oct 08, 2003 11:08 pm Post subject:
There are also a number of steps in the build where it does actually unzip external dependencies (e.g. didn't originate from Sun) like expat, STLport, and such. You'll definitely see a lot of unzip messages for those, which is normal.
The build also has a stage when it's compiling a lot of the idl files where, IIRC, it does create zipfiles. Other stages in addition to the installer phase patrick mentions are the help stage and odk stage, off the top of my head (I may be wrong).
In short, if you're just seeing copying and zipping after about 20 minutes or so, then there's something strange going on. But unless you have scrollback, it may be difficult to tell...not all the unzipping and zipping all occur at the same time, so you may just be unlucky and check in when it happens to be on the next stage
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum