Mozilla plugins broken after port upgrade

Beech Rintoul akbeech at gmail.com
Tue Jan 3 15:53:39 PST 2006


On Tuesday 03 January 2006 02:11 pm, Chris Whitehouse wrote:
> Chris Hill wrote:
> > This led me to
> > http://lists.freebsd.org/pipermail/freebsd-questions/2005-December/107925
> >.html
> >
> > ...which was exactly what I was looking for.
> >
> >> For acroread make sure you rename /usr/local/bin/acroread7
> >> to /usr/local/bin/acroread.
> >
> > Beech,
> >
> > Thank you that, and especially thank you for writing the "107925" post
> > referred to above. Your procedure worked beautifully.
>
> Did the 107925 post work for you? it was superceded by
> http://lists.freebsd.org/pipermail/freebsd-questions/2005-December/107927.h
>tml which corrected a typo, specifically
>
> rm -rf /usr/X11R6/lib/browser_plugins /usr/X11R6/lib/browser_linux_plugins
>
> (possibly wrapped) was replaced by
>
> rm -rf /usr/X11R6/lib/browser_linux_plugins
>
> I used the second and it worked. I can't see how the first would work
> (but that doesn't mean much :).

That was a typo, I attached the text file. Sorry about that.

Beech
-- 

---------------------------------------------------------------------------------------
Beech Rintoul - System Administrator - akbeech at gmail.com
/"\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://akparadise.byethost33.com
---------------------------------------------------------------------------------------











-------------- next part --------------
## Workaround for broken port linuxpluginwrapper.
## Beech Rintoul - akbeech at gmail.com

## Before building linuxpluginwrapper:

rm -R /usr/X11R6/lib/browser_linux_plugins

ln -s /usr/X11R6/lib/browser_plugins /usr/X11R6/lib/browser_linux_plugins


## Build linuxpluginwrapper:

cd /usr/ports/www/linuxpluginwrapper

make -DWITH_PLUGINS install clean

## or upgrade:

portupgrade -vm -DWITH_PLUGINS linuxpluginwrapper

## Remove symlink (Will break Mozilla).

rm -rf /usr/X11R6/lib/browser_linux_plugins

## Fix acroread:

rm -rf /usr/local/bin/acroread	# If upgrade.

mv  /usr/local/bin/acroread7  /usr/local/bin/acroread

rm -rf /usr/X11R6/lib/browser_plugins/nppdf.so

ln -s  /usr/local/lib/acroread/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so /usr/X11R6/lib/browser_plugins/nppdf.so

## Change path to nppdf.so in /etc/libmap.conf:

# Acrobat7 with Mozilla/Firebird/Galeon/Epiphany/Konqueror
[/usr/local/lib/acroread/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so] 
libc.so.6			pluginwrapper/acrobat.so

## Note:
## Acroread now works properly in browser.
## Helix plugin does not work with Firefox or Mozilla at this time. 
## Flash 6.0 works without modification.
## Flash7 is VERY unstable and will crash Firefox (possibly Mozilla).

## Launch browser and type "about:plugins" without the quotes to check that plugins are enabled.


More information about the freebsd-questions mailing list