From owner-freebsd-questions Mon Aug 12 21:13:51 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 591A237B400 for ; Mon, 12 Aug 2002 21:13:47 -0700 (PDT) Received: from wonkity.com (wonkity.com [63.93.4.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDCA743E6E for ; Mon, 12 Aug 2002 21:13:46 -0700 (PDT) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost.wonkity.com [127.0.0.1]) by wonkity.com (8.12.1/8.11.6) with ESMTP id g7D4DjuF052715 for ; Mon, 12 Aug 2002 22:13:45 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.12.1/8.12.1/Submit) with ESMTP id g7D4Djcf052712 for ; Mon, 12 Aug 2002 22:13:45 -0600 (MDT)?g (envelope-from wblock@wonkity.com) Date: Mon, 12 Aug 2002 22:13:45 -0600 (MDT) From: Warren Block To: FreeBSD-Questions@FreeBSD.org Subject: Complete Linux-Mozilla Install Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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