Greetings, exciting times ahead! Icedtea are about to compile nativly on fc8 arm. I have left my own machine to compile during this weekend, i expect the compilation to take about 60h on my 200Mhz 64Mb ram machine. the compile of the icedtea source ought to be as simply yet it doesnt ;) I have done some workarounds in order to setup my build environment and to be able to start the compilation. This mail will point out my current issues, dig in! ---- Setup the build environment: Install fc8 on a native arm macine, make sure to add some swapspace. take a peek on : http://icedtea.classpath.org/wiki/BuildRequirements try installing the reccomended packages yum install /usr/bin/ecj mercurial cups-devel lesstif-devel libXp-devel libXtst-devel libXi-devel xalan-j2 xerces-j2 \ libXt-devel libgcj freetype-devel gcc gcc-c++ wget java-1.5.0-gcj-devel alsa-lib-devel firefox-devel glib2-devel gtk2-devel \ ant libXinerama-devel libjpeg-devel libpng-devel giflib-devel zlib-devel for each package that yum cant find, remove tha package name from the command line and try again.. ---- Fist issue: getting the sourcecode with mercurial The mercurial package found in fc8arm are 0.9.4 icedtea build wants 0.9.5 with forest extensions http://icedtea.classpath.org/wiki/BuildRequirements 0.9.5 mercurial would need updated python to work... even when i tried to checkout the icedtea source with 0.9.4 mercurial hg command the checkout did never seem to complete (got 2.9mb of .hg data and no more) Workaround to the mercurial issue: I simply downloaded the .bz2 snapshots of the icedtea and openjdk directly from the mercurial repositorys webinterface: http://icedtea.classpath.org/hg/ ---- Second issue: eclipse-ecj package not found while installing gcc-java in main fc8arm repositorys Workaround: i simply downloaded the rpm from http://www.wantstofly.org/~buytenh/RPMS.built.crap/ and ran rpm -i eclipse-ecj.<version>.rpm this package does not need bootstrapping as kindly pointed out by Rabeeh Khoury! now it is possible to install the packages java-1.5.0-gcj-devel and gcc-java with yum ---- Third issue: firefox webplug build requirements firefox firefox-devel could not be installed from main repositorys Workaround to firefox webplug build requirements: run ./configure with switches to skip the compile of the firefox plugins something like --disable-webplug (look in configure.am for correct switch) ---- Fourth isse: ./configure expects to find gcj in a dir something like /usr/java/gcc-gjc/bin Workaround: since gcj are located in /usr/bin by default in fc8 i simple made a symlink from ln -s /usr/bin /usr/java/gcc-gjc/bin perhaps the gcc-java shoudl populate the java alternatives directory correctly. ---- install some addisional basic packages required by ./configure like diff Milestone: now the ./configure works and the compile can begin by simply calling make! ---- Fifts issue: compiletime im currently here: having some issues with compile time My 200Mhz 64Mb ram armv5tejl machine have been compiling for several hours... since the code takes about 6h to compile on a quad 2ghz G5 machine for the PPC platform, i expect my compile time to take atleast 60h. Not for the faint of heart! possible speedup fix untested: ---- Sixth probably comming issue: as pointed out by Gary Benson who made the zero code, the compile ought to require libffi good news a libffi source package exists for fc8 Seventh comming issue: porting of assembler code for ARM (implementation of spinlocks and the like) ---- Well thats it! Have a great hacking day! Xerxes Rånby IT-Exorcist ZAFENA AB 17 feb 2008 kl. 10.56 skrev Rabeeh Khoury:
|
_______________________________________________ fedora-arm mailing list fedora-arm@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-arm