I'm trying to build JDK-1.5.0_05 using SVN. I just build LFS 6.1 on my laptop and have gcc-3.4.3 installed. The build fails with a series of messages containing the phrase "does not give a valid preprocessing token." This build failure occurs regardless of how I'm logged in me, root, or the pkgusr.

I've not found anything specific in the BLFS archives--only vague references to people using the precompiled binary of JDK-1.5.0 because of build problems with it. I have, however, discovered that these errors come from the compiler--at least I think I've discovered that. I applied the jdk-1.5.0-gcc-3.4.2+-3 patch from the stable version of the book. I didn't apply the gcc patch from the SVN version because I don't have gcc-4 installed.

Have I done too much mixing and matching? Would it be best to install the version of jdk from the stable version?

I've tried going through the various makefiles, but can't make hide nor hair of what they're doing.

Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to