cvs commit: hints javafromscratch.txt mozilla.txt

timothy at timothy at
Fri Jul 5 06:51:56 PDT 2002

timothy     02/07/05 06:51:56

  Modified:    .        javafromscratch.txt mozilla.txt
  Updates by author.
  Revision  Changes    Path
  1.2       +15 -4     hints/javafromscratch.txt
  Index: javafromscratch.txt
  RCS file: /home/cvsroot/hints/javafromscratch.txt,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- javafromscratch.txt	23 Jun 2002 14:27:00 -0000	1.1
  +++ javafromscratch.txt	5 Jul 2002 13:51:56 -0000	1.2
  @@ -26,6 +26,7 @@
   	* XFree86 <>
           * InfoZip Zip and Unzip <>
           * InfoZip Unzip <>
  +	* GNU cpio <>
           * Turbo C Shell <>
   	* Sun JDK 1.4 <>
  @@ -36,6 +37,8 @@
   have included instructions on how to install it for the duration of the
  +Install cpio binary in /bin or make a symlink to the it from /bin.
   Note that when I build the SDK, I had many packages already installed, so I
   don't have the exact dependencies. If anyone runs into any problems regarding
   missing dependencies, let me know and I will update this section.
  @@ -49,7 +52,11 @@
   You will need to register at the website and agree to the "SUN COMMUNITY SOURCE
   LICENSE" before downloading the code.
  -	* My Patch <>
  +The Java Source doesn't work well with locally installed mozilla and motif
  +headers and requires the download of the header files from the above site where
  +you download the source.
  +	* My Patch <>
   The patch fixes some non-gcc3 compliant code and few missing library links. It
   took me some time to understand the build process and to figure out how to link
   additional libraries. You agree that by downloading the patch, you accept the
  @@ -57,7 +64,7 @@
   Alternate site:
   This hint is also available at <>. The latest
  -version of the hint is available there.
  +version of the hint is usually available there.
   Compiling Java 2 SDK:
  @@ -152,11 +159,15 @@
   as easy as:
   	ln -sf j2sdk-<required-version> j2sdk
  -Link the java plugin we built for mozilla. After that was the main reason for me
  -compiling jdk from scratch! Check out the mozilla hint on how to do this.
  +Link the java plugin we built for mozilla. After all that was the main reason
  +for me compiling jdk from scratch! Check out the mozilla hint on how to do this.
   Now LFS CVS is all ready for big time. The first system out there to be
   completely gcc3:))
  +If you deviate from the hint and you run into problems, first try following the
  +hint exactly to see if it works. Also, if you deviate from the hint and run into
  +successes, please let me know so that I can add the same to the hint.
   Don't forget to send me bug reports and enhancements so that I can keep the hint
   updated. An appropriate place to discuss problems is the blfs-support mailing
  1.7       +24 -7     hints/mozilla.txt
  Index: mozilla.txt
  RCS file: /home/cvsroot/hints/mozilla.txt,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- mozilla.txt	23 Jun 2002 14:27:00 -0000	1.6
  +++ mozilla.txt	5 Jul 2002 13:51:56 -0000	1.7
  @@ -50,11 +50,14 @@
   	* Info Zip >= 2.3 <>
   	* iCal <> [Optional]
   	* Mozilla:) <>
  +	* Mozilla SpellChecker <>
   Alternate site:
   This hint is also available at <>. The latest
   version of the hint is available there.
  +I also have a patch at the site that enables the password hack mentioned below
  +and enables compilation of spellchecker.
   Installing X:
  @@ -94,7 +97,8 @@
   Installing libical:
   libical is only required if you want to play around with calendar. I had
  -problems building Mozilla calendar, YMMV.
  +problems building Mozilla calendar, YMMV. Also, mozilla requires the libical
  +that is available from mozilla's CVS.
   	./configure --prefix=/usr --disable-static &&
   	make &&
   	make install
  @@ -121,6 +125,14 @@
   CFLAGS and CXXFLAGS to "-O3 -march=i686 -fforce-addr -funroll-loops
   -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4". YMMV.
  +If you would like to compile the spellchecker, you will need to download the
  +spellchecker source code via cvs. First the login.
  +	cvs -d :pserver:guest at login
  +The password is guest. Now download the spellchecker code.
  +	cvs -d :pserver:guest at co spellchecker/spellcheck
  +Move the spellcheck directory to the extensions directory of mozilla
  +	mv spellchecker/spellcheck $MOZSRC/extensions
   First try
   	cd $MOZSRC &&
   	./configure --help
  @@ -228,6 +240,9 @@
   If anyone tells you MS-IE is user friendly, give them this example:)
  +Optionally you can apply the patch I mentioned in the begining of the hint to
  +enable spellchecker and the password hack.
   Now configure and compile the package as usual. If there are problems run
   configure again by removing the offending option.
   	./configure &&
  @@ -275,12 +290,13 @@
   I use a different location for the Mozilla plugins so that I can keep remove and
   reinstall mozilla without affecting the plugins. If you do this set the
   MOZ_PLUGIN_PATH to the appropriate directory. I use:
  -	export MOZ_PLUGIN_PATH=/opt/gnome/lib/mozilla-plugins
  +	export MOZ_PLUGIN_PATH=/opt/mozilla-plugins
   Also make a link to the default plugin in the mozilla directory
  -To allow all users to run mozilla, I have found it is safer to run mozilla once
  -as the user that installed mozilla (usually root). So check out your shiny new
  +To allow for a multiple-user install, the easiest option is to run mozilla as
  +the user that installed mozilla (usually root). Else when some other user tries
  +to run mozilla, it results in a segmentation fault.  So check out your shiny new
  @@ -300,7 +316,8 @@
   	4. You have a GCC3 CVS and you would like to use a GCC2 compiled mozilla
   	   so that commercial plugins can work without problems. Though I am
  -	   using all the plugins mentioned below without problems.
  +	   using all the plugins (except for Real) mentioned below without
  +	   problems.
   If so, head over to and download the "talkback enabled full
   installer" and read the installation instructions in the release notes.
  @@ -351,7 +368,7 @@
   crash Mozilla since these plug-ins are compiled using GCC2. A work-around till
   the plug-ins are fixed is to pre-load a library that will make some required
   functions available to these plug-ins. Unfortunately, the Java Plugin does not
  -work using this approach.
  +work using this approach. But I have hacked the j2sdk to compile from scratch.
   Do the following.
   	cat > libc++mem.c << "EOF"
  @@ -385,7 +402,7 @@
   Download SUN JRE 1.4 from
  -Install IBM JDK in /opt/IBMJava2-13 and then link the plugin.
  +Install JDK in /opt/j2sdk and then link the plugin.
   	cd $MOZ_PLUGIN_PATH &&
   	ln -s ${JAVA_HOME}/jre/plugin/i386/ns610/
Unsubscribe: send email to listar at
and put 'unsubscribe hints' in the subject header of the message

More information about the hints mailing list