From owner-freebsd-questions@FreeBSD.ORG Tue Jan 30 07:00:58 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9397116A48F for ; Tue, 30 Jan 2007 07:00:58 +0000 (UTC) (envelope-from marc@blackend.org) Received: from abigail.blackend.org (bgn92-3-82-227-222-164.fbx.proxad.net [82.227.222.164]) by mx1.freebsd.org (Postfix) with ESMTP id EED9F13C4E1 for ; Tue, 30 Jan 2007 07:00:55 +0000 (UTC) (envelope-from marc@blackend.org) Received: from abigail.blackend.org (localhost [127.0.0.1]) by abigail.blackend.org (8.13.4/8.13.3) with ESMTP id l0U6oege069712; Tue, 30 Jan 2007 07:50:40 +0100 (CET) (envelope-from marc@abigail.blackend.org) Received: (from marc@localhost) by abigail.blackend.org (8.13.4/8.13.3/Submit) id l0U6oUKV069711; Tue, 30 Jan 2007 07:50:30 +0100 (CET) (envelope-from marc) Date: Tue, 30 Jan 2007 07:50:30 +0100 From: Marc Fonvieille To: peter Message-ID: <20070130065030.GA61232@abigail.blackend.org> References: <1170132201.84201.47.camel@pjfs.renzhichu.cc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1170132201.84201.47.camel@pjfs.renzhichu.cc> X-Useless-Header: blackend.org X-Operating-System: FreeBSD 4.11-STABLE User-Agent: Mutt/1.5.9i Cc: ante@Update.UU.SE, freebsd-questions@freebsd.org Subject: Re: how to enable linux flash player in firefox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2007 07:00:58 -0000 On Tue, Jan 30, 2007 at 12:43:21PM +0800, peter wrote: > > Andreas Davour wrote: > > > Sorry for being so lost. I'm totally lost in the native/emulated mess > > and which of the ports work with which. > >It's terribly sad that nobody can make it work, as of now. I really > >hope > >FreeBSD 7 can make a change. > > I'm now using 6.2-PRERELEASE as the desktop with firefox > 2,linux-flashplugin7. All work well. > > That confused me for few days, now I write the detail steps for you. > > 1.Use portsnap update the ports tree.You can read the info from the > freebsd handbook, "Appendix A. Obtaining FreeBSD" > > 2.Install linux_base from /usr/ports/emulators/linux_base-fc4, > In /etc/rc.onf, add the line: linux_enable="YES" > > 3.Install firefox2 from /usr/ports/www/firefox. > > 4.Install linuxpluginwrapper in /usr/ports/www/linuxpluginwrapper. > cp /usr/local/share/examples/linuxpluginwrapper/libmap.conf-FreeBSD6 /etc/libmap.conf > > 5.Install linux-flashplugin7 in /usr/ports/www/linux-flashplugin7. > In handbook : > # ln -s /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so \ > /usr/X11R6/lib/browser_plugins/ > # ln -s /usr/local/lib/npapi/linux-flashplugin/flashplayer.xpt \ > /usr/X11R6/lib/browser_plugins/ > > but firefox plugin directory is /usr/local/lib/browser_plugins/, so you must change above line > /usr/X11R6/lib/browser_plugins/ to /usr/local/lib/browser_plugins/ > > 6.Check the libexec directory exists in /usr/src, > if no, #sysinstall-> custom->deistributions->src->libexec, then > # cd /usr/src/libexec > # fetch http://people.FreeBSD.org/~nork/rtld_dlsym_hack.diff > # patch < rtld_dlsym_hack.diff > # cd rtld-elf > # make clean > # make obj > # make depend > # make && make install > That last part is useless now and will not work with 6.2-RELEASE. The current working way, is using a freash port tree and following the Handbook instructions. This is for Flash 7 (with or without soound according to the site you visit), for Flash 9 it's another story... -- Marc