Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Aug 2002 22:13:45 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        FreeBSD-Questions@FreeBSD.org
Subject:   Complete Linux-Mozilla Install
Message-ID:  <Pine.BSF.4.21.0208122209490.52703-100000@wonkity.com>

next in thread | raw e-mail | index | archive | help
Steps I've used to set up a fully-functional Linux-Mozilla
browser with Java, Flash, and Acrobat Reader on FreeBSD
4.6-Release or -Stable.

0. This works for me, maybe not for anyone else anywhere,
   no warranties expressed or implied, may be harmful if
   taken internally, don't blame me if it wipes out the
   250,000-word novel that you've never backed up.

1. Make sure you have Linux support enabled (version 6,
   the version that /stand/sysinstall off the 4.6-Release
   CD will install is fine.)

2. Install Java:

   # cd /usr/ports/java/linux-sun-jdk13
   # make
   (file not found, sign away all your rights and everything
    you'll ever make, own, or dream and download it from Sun)
   # make
   # make install

3. Install Acrobat 5:

   # cd /usr/ports/print/acroread5
   # make
   # make install
   If it won't run, fix it (sigh) by editing
   /usr/local/bin/acroread .  Search for "Linux)" and
   replace with "FreeBSD|Linux)" (no quotes).

4. Install linux-mozilla:

   At present, it's FORBIDDEN.  Left for the reader to figure
   out and decide if it's worth the risk to install.  (The reason
   is a bug shown at http://bugzilla.mozilla.org/show_bug.cgi?id=150339 )

5. Install linux-gtk for linux_base-6.  You can't use a recent port
   for this, because it'll want linux_base (v7), which is bad juju
   for Java and Acrobat5.  No wrapping:
   
   # fetch ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.6-release/x11-toolkits/linux-gtk-1.2_1.tgz
   # pkg_add linux-gtk-1.2_1.tgz

6. Install linux-flashplugin:

   # cd /usr/ports/www/linux-flashplugin
   # make
   # make install

7. Make links to the plugins so linux-mozilla will find them.
   This script will do it (no wrapping, now):

   #!/bin/sh
   cd /usr/local/lib/linux-mozilla/plugins
   ln -s /usr/local/lib/netscape-linux/plugins/ShockwaveFlash.class
   ln -s /usr/local/lib/netscape-linux/plugins/libflashplayer.so
   ln -s /usr/local/linux-jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.s
   ln -s /usr/local/Acrobat5/Browsers/intellinux/nppdf.so

8. Extra credit: go to http://games.yahoo.com and click on
   Diamond Mine.  It'll prompt for a new Java--don't get
   discouraged, this is a good thing.  Tell it to install.
   After it finishes, close linux-mozilla and run it again.

Done.  It looks painful--and it is--but really the compile
time is the worst part.  All this work is *not* a fault of
the ports system, or anything really, just a bunch of stuff
happening at the same time.

At this point, I'd suggest we all say a word of thanks to
the port maintainers for making all of this stuff available.
They get no pay and little thanks.  Thank you, porters and
port maintainers!

Another thing we could all do is make a donation to the
FreeBSD Foundation (http://www.freebsdfoundation.org) so
they can pay for the legal work on the Java license.  I'm
ashamed to say that I haven't, so I'm going to do it right
now.  Come on, it's like PBS only much more entertaining
and without the week-long begathons.

-Warren Block * Rapid City, South Dakota USA




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0208122209490.52703-100000>