Hello. This weekend I successfully built Chandler CVS on Gentoo, using Gentoo's distribution gcc.
>From this, I will update the Gentoo build instructions on wiki, submit some future-release bugzilla entries, and write a couple tactical notes on LinuxDistroIntegration. A first step towards better Linux distro integration will be to better support building GCC using a distro's gcc. GCJ_HOME should get split into separate BIN and LIB variables; assuming a standard --prefix style install isn't fully general enough. Gentoo uses this for instance: /usr/i686-pc-linux-gnu/gcc-bin/3.4.3/gcj /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/lib/security/libgcj.security so a simple GCJ_HOME isn't suitable (GCJ_HOME/bin/gcj isn't always right). I propose that in the 0.7 timeframe, we'll perhaps have GCJ_BIN and GCJ_LIB, which can be explicitly set or inferred when only GCJ_HOME is set. (A slight additional update will be necessary for jar usage, as Gentoo installs that as GCJ_BIN/gcj-jar). I was able to build via GCJ_HOME by creating a /tmp/chandler-gcj-home and creating a symlink tree under that. PYLUCENE_* variables were correctly inferred from GCJ_HOME variables, so those didn't need to be set at all. (Distro builds can use this "fake GCJ_HOME" approach for now and switch to a GCJ_BIN/GCJ_LIB if and when it becomes available.) I also did a sanity check for distro installation; I was able to take the resulting $BUILD_ROOT/chandler/release, move it somewhere else and start it successfully. An initial Gentoo install will consequently take the $BUILD_ROOT/chandler/release directory, copy it to probably /usr/lib/chandler, and symlink /usr/bin/chandler to /usr/lib/chandler/release/RunChandler (or use a Gentoo-specific wrapper for /usr/bin/chandler). A Gentoo ebuild will need to depend on a minimum version of GCC (3.4.2) and require GCC be build with the GCJ "USE" flag, but should otherwise be able to be constructed without changes to the Chandler packaging. As time permits, I'll work towards such an ebuild (planning on one for CVS-sourced builds and one for official releases). After a functioning ebuild, I'll work towards a GCJ_BIN/GCJ_LIB patch to contribute. -- [EMAIL PROTECTED] "We suffer primarily not from our vices or our weaknesses, but from our illusions. We are haunted, not by reality, but by those images we have put in place of reality." - Daniel J. Boorstin _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Open Source Applications Foundation "Dev" mailing list http://lists.osafoundation.org/mailman/listinfo/dev
