On 17-05-2012 04:11, DJ Lucas wrote: > On 05/16/2012 08:22 PM, Fernando de Oliveira wrote: >> On 14-05-2012 20:26, DJ Lucas wrote: >>> On 05/14/2012 10:38 AM, Fernando de Oliveira wrote: >>>> --- Em seg, 14/5/12, DJ Lucas escreveu: >>>> >>>>> De: DJ Lucas >>>>> Assunto: [blfs-dev] OpenJDK downloads >>>>> Para: "BLFS Development List" >>>>> Data: Segunda-feira, 14 de Maio de 2012, 2:16 >>>>> The makefile will download the needed files as part of the build >>>>> process (alternately you can use the "download" make target). >> I will try one of these in my next build. Think It sould be this way in the >> book, like LibreOffice, so, in the next version, book's instructions could >> be used just changing the version. I believe that the versions in Anduin >> will be useless then. >>> I have not built on i686 yet. Help would be appreciated >>> here, but I'll get to it in a few days if nobody steps up. I've included >>> a tar.xz extract of the Fedora i686 RPM to use as an initial bootstrap >>> compiler. If anybody would like to create the i686 binary, please do a >>> bootstrap build using the Fedora JDK, followed by a bootstrap using the >>> previously created one, and then tar it up with the format of the x86_64 >>> file, after having run the test suite against the final. I'm currently >>> looking into the few remaining test suite failures, but I suspect a >>> number of them are related to running in twm (windows not automatically >>> anchored in awt tests). >> I had a fatal failure in make, due to the fact that oracle jdk was installed >> and found by configure. Moved out the /opt/jdk* (link and versioned dir), >> and still failed. Next, linked /opt/jdk to icedtea-bin, and next failure: no >> cpio. so, cpio is a requirement. Had noticed this requirement months ago >> also in book's version. >> >> Phase1: using Fedora-bin >> Phase2: using New-bin >> >> I have done phase 1 >> >> START - Building OpenJDK-1.7.0.3-i686-bin - Qua Mai 16 14:41:02 BRT 2012 >> END - Building OpenJDK-1.7.0.3-i686-bin - Qua Mai 16 18:32:12 BRT 2012 >> >> real 231m10.016s >> user 156m43.051s >> sys 36m36.799s >> >> For make -j1: 66m22.809s >> For make -k jtregcheck: 164m15.324s >> >> >> For phase2, after make, the tests are running, now. >> >> Please, keep on reading below. >> >>> Files are available here: >>> Bin builds: >>> http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/OpenJDK-1.7.0.3-x86_64-bin.tar.xz >>> or >>> http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/java-1.7.0-openjdk-1.7.0.3-i686-fedora-18.tar.xz >>> >>> Source files: >>> http://icedtea.classpath.org/download/source/icedtea-2.1.tar.gz >>> http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/corba.tar.gz >>> http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/hotspot.tar.gz >>> http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/jaxp.tar.gz >>> http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/jaxws.tar.gz >>> http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/jdk.tar.gz >>> http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/langtools.tar.gz >>> http://anduin.linuxfromscratch.org/files/BLFS/OpenJDK/openjdk.tar.gz >>> ftp://ftp.mozilla.org/pub/mozilla.org/js/rhino1_7R3.zip >>> >>> Patches: >>> http://www.linuxfromscratch.org/patches/downloads/icedtea/icedtea-2.1-upstream_fixes-2.patch >>> http://www.linuxfromscratch.org/patches/downloads/icedtea/icedtea-2.1-fixed_paths-1.patch >>> http://www.linuxfromscratch.org/patches/downloads/icedtea/icedtea-2.1-add_cacerts-1.patch >>> >>> >>> Instructions: >>> >>> Extract the binary installation, and move it to /opt/icedtea-bin >>> Extract Rhino and put the js.jar and js-14.jar files into /usr/share/java >>> >>> Extract the icedtea-2.1 tarball as would normally be done. >>> link the other tar.gz downloads into the source tree: >>> >>> ln -s ../openjdk.tar.gz .&& >>> ln -s corba.tar.gz .&& >>> ln -s jaxp.tar.gz .&& >>> ln -s jaxws.tar.gz .&& >>> ln -s jdk.tar.gz .&& >>> ln -s langtools.tar.gz .&& >>> ln -s hotspot.tar.gz . >> Of course, "ln -s ../" everywhere, above, right? >> > Yes, my bad. Also, with regard to dependencies, I have the following: > Need to have rhino1_7.3.zip (js.jar and js14.jar copied to /usr/share/java) > the xalan, xerces (replaced by libxslt/libxml2), and ecj (we are no longer > faking a gcj build to bootstrap) deps are gone.
Do you mean ecj would be required if bootstrapping? > Add Cups, GifLib, cpio, lcms2, and libXp/xprintproto (currently in Xorg but > will be separated with 7.7) as required deps. Ok, then. Only missing one was cpio, but now all are here: $ paco Cups GifLib cpio lcms2 libXp cpio-2.11 cups-1.5.2 giflib-4.1.6 lcms2-2.3 libXp-1.0.1 > Add PulseAudio and NSS as recommended deps. Finally, GTK2 remains for > xawt (though gtk3 is not out of the question, just not supported yet). About PulseAudio, for uploading to Anduin, is it really necessary that I rebuild with it? > Also, > IcedTea-Web should be built with gtk3 if your browser was. Not sure if that > affects FF, but for certain it does affect webkit. Patch is in the > patches repo. In this machine, webkit and midori have been built with gtk2, so, I believe the patch will not be necessary (?). Will reply your other mail and proceed to try building IcedTea-Web (xulrunner first), while waiting for your reply. Thanks for all. -- []s, Fernando -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
