28b0b
![]() |
|
|
|
|
|||||||
| Howtos & FAQs (Moderated) Would you like to share some of your solutions for certain problems? Tips or tricks? Post here. All new topics are automatically moderated. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
I believe that you require linux compat8 or higher for this to work. I'm using linux compat f10 and it worked fine first time.
If you need to update your linux compat then just google or search the forums. As a rule of thumb for me when doing a fresh install... I always immediately add the following lines to /etc/make.conf before adding ANY ports: Code:
OVERRIDE_LINUX_BASE_PORT=f10 OVERRIDE_LINUX_NONBASE_PORTS=f10 And that all I'm going to cover on linux compatibility other than MAKE SURE ITS RUNNING!!! add 'linux_enable="YES"' to your /etc.rc.conf file. 1: check the above. 2: add this line to your /etc/fstab Code:
linproc /usr/compat/linux/proc linprocfs rw 0 0 Code:
mount /usr/compat/linux/proc 4: start some additional linux services (this can also be set in rc.conf) by typing the following at the terminal as root. Code:
/etc/rc.d/abi start /etc/rc.d/sysctl start Code:
cd /usr/ports/www/linux-f10-flashplugin10 && make install clean cd /usr/ports/www/nspluginwrapper && make install clean 6: close down firefox3 and find the file "libflashplayer.so" by typing the following at the terminal. Code:
# find / -name libflashplayer.so /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so 7: IMPORTANT.. at least I thought i was..... exit from super user mode and type the following command at the terminal: Code:
nspluginwrapper -v -i /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so 9: Go back to Youtube!!!
__________________
"Do or Do Not.... there is no try." Last edited by DutchDaemon; October 6th, 2009 at 22:03. Reason: fixed error |
| The Following 33 Users Say Thank You to gr1ml0ck For This Useful Post: | ||
alaric (March 24th, 2010), Alt (July 12th, 2010), curtisk (January 23rd, 2010), cyrille (April 20th, 2010), deranged (February 23rd, 2010), ericjansen (July 23rd, 2010), f-andrey (July 29th, 2009), FooBSDer (December 13th, 2009), foo_daemon (May 8th, 2010), gallon (June 8th, 2010), haidq (July 16th, 2010), hydra (July 25th, 2009), itsbrad212 (July 2nd, 2010), jotawski (December 27th, 2009), kalebman5000 (May 24th, 2011), ligregni (June 15th, 2010), miggir (April 19th, 2010), negotalles (August 9th, 2010), nhanquy (March 6th, 2010), Nightweaver (March 19th, 2011), norman881 (October 13th, 2011), overmind (September 28th, 2009), phantomssl (August 16th, 2011), RandomSF (October 27th, 2009), rbelk (September 27th, 2009), scottro (August 15th, 2010), sirving (December 7th, 2009), skangraf (September 18th, 2010), sossego (November 4th, 2009), trancercho (August 29th, 2010), VdoP (October 9th, 2010), zeiz (August 4th, 2009) | ||
|
#2
|
|||
|
|||
|
Btw (seamonkey) and (gnash) here enable youtube.
Although practically no other flash site that I have tried (5 or so). (Both rebuilt after the libjpeg version bump) And no linux compat. layer yet. |
|
#3
|
||||
|
||||
|
Same here. Next thing I try is Firefox2.exe running on wine, but It eats too much cpu and memory.
|
|
#4
|
||||
|
||||
|
Quote:
I used Gnash (or tried to) for several months as a alternative to flash on BSD but found it to be way to buggy.. many sites simply wouldnt play ball which led to either sloppy loads, buggy loads or just non operational sites. No linux compat layer yet? what do you mean by that?
__________________
"Do or Do Not.... there is no try." |
|
#5
|
||||
|
||||
|
I'll try this one.
Not ready installing yet, but issues until now: The "linux-compat" ports is actually called emulators/linux_base-f10-10 needed for build: kldload linux sysctl compat.linux.osrelease=2.6.16Build breaks because rpm2cpio is not found: pkg_add -r rpm2cpioThen build breaks again on wrong filename: ln -s /usr/local/bin/rpm2cpio.pl /usr/local/bin/rpm2cpio(don't know if this is good but at least the file exists now) I seem to not have a mount_linprocfs command, but: mount -t linprocfs linproc /usr/compat/linux/procThen linux-f10-flashplugin10 breaks with: Code:
"/usr/ports/Mk/bsd.linux-apps.mk", line 413: Malformed conditional (${cyrus-sasl2_DETECT}=="")
"/usr/ports/Mk/bsd.linux-apps.mk", line 413: Malformed conditional (${openldap_DETECT}=="")
"/usr/ports/Mk/bsd.port.mk", line 6256: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 6259: if-less endif
make: fatal errors encountered -- cannot continue
Last edited by DutchDaemon; July 26th, 2009 at 01:52. Reason: And you need [cmd] and [code] tags ... |
|
#6
|
|||
|
|||
|
Quote:
Code:
pkg_add -r seamonkey cd /usr/ports/graphics/gnash make install && yell Sometime later, I discovered youtube worked. (I forget if I configured paths after gnash, any) "no linux compat layer" means I've never installed any linux (like this thread mentions) compatability ports. |
|
#7
|
||||
|
||||
|
You will not be able to use any linux compat functionality until you have successfully installed the emulation layer..
MG? Are you building the compat from ports or using pkg_add? What version of freebsd are you running? what WM are you using? I have a kind of cheat that I use to install linux compat during a fresh install.. maybe that will work on your box. I have never had the need to edit sysctl, nor create symlinks for any missing or removed files? If you dont mind installing skype (or any other linux ported programme) then all you need to do is make the changes (or create) /etc/make.conf as suggested in my post and simply build any linux based port.. it will them automagically build any dependent emulation with the criteria that you set in make.conf. I use skype for comms with work collegues and so when I install that.. it also builds all of my linux compat for me for the fedora 10 core without me having to do anything other than edit make.conf, add 'linux_enable="YES"' to /etc/rc.conf and building skype from ports... hey presto.. i have working linux compat f10 within 20 mins on a decent connection and pc.
__________________
"Do or Do Not.... there is no try." |
|
#8
|
||||
|
||||
|
Keep getting Firefox freezing up for a good 20-30 seconds, then:
Code:
*** NSPlugin Wrapper *** ERROR: NPP_New() wait for reply: Message timeout
__________________
Proud FreeBSD 8-RELEASE user. CodeBlock on irc.freenode.net and irc.eighthbit.net. Last edited by DutchDaemon; August 8th, 2009 at 21:33. Reason: [code], not [quote] |
|
#9
|
||||
|
||||
|
Well I fixed the issue in my previous post. The issue, I *think*, was related to me upgrading the linux compat to f10, before removing/renaming /usr/compat/linux... so I had different versions of different files, etc...
So I removed everything related to the linux compat install (linux-f10-*), moved /usr/compat/linux to /usr/compat/oldlinux, reinstalled -f10, flash 10, and nspluginwrapper... and everything worked fine, including audio on flash (which some people I recall, had issues with). Hopefully this can help someone, not trying to dig up an old post, but be informative and helpful in case someone else has the same issue .
__________________
Proud FreeBSD 8-RELEASE user. CodeBlock on irc.freenode.net and irc.eighthbit.net. Last edited by CodeBlock; September 27th, 2009 at 08:49. |
|
#10
|
|||
|
|||
|
Following this guide I got flash half working in opera 10.00 -- sound works, but video does not. At least I can play some of my songs-on-youtube bookmarks :-D
|
|
#11
|
|||
|
|||
|
after following this I get really big CPU spikes when I visit a flash page (YouTube for example), and see the following errors on the terminal, anyone have any light they can shed on this?
I get this when I first visit the site: Code:
(process:4117): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Code:
*** NSPlugin Wrapper *** ERROR: NPP_Write() wait for reply: Message timeout *** NSPlugin Wrapper *** WARNING:(/usr/ports/obj/usr/ports/www/nspluginwrapper/work/nspluginwrapper-1.2.2/src/npw-wrapper.c:2236):invoke_NPP_DestroyStream: assertion failed: (rpc_method_invoke_possible(plugin->connection)) *** NSPlugin Wrapper *** WARNING:(/usr/ports/obj/usr/ports/www/nspluginwrapper/work/nspluginwrapper-1.2.2/src/npw-wrapper.c:1855):invoke_NPP_Destroy: assertion failed: (rpc_method_invoke_possible(plugin->connection)) |
|
#12
|
|||
|
|||
|
Hello
I followed your tutorial and in firefox 3.5 I could not see flash plugin using about:plugins. Then I did: Code:
cd /usr/local/lib/firefox3/plugins ln -s /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so npwrapper.libflashplayer.so Thank your for you tutorial and best regards. (you can update the tutorial with this tip) |
| The Following 4 Users Say Thank You to overmind For This Useful Post: | ||
bsd10 (June 19th, 2010), ericjansen (July 27th, 2010), jailed (July 11th, 2010), magistr (June 23rd, 2010) | ||
|
#13
|
||||
|
||||
|
The symlink I did in order for nspluginwrapper to work as advertised was the one indicated on section 6.2.3 of the Handbook
Quote:
__________________
Just another crazy UNIX snob. FreeBSD 7.2-STABLE graedus@aspireone:/usr/obj/usr/src/sys/GENERIC i386 |
|
#14
|
|||
|
|||
|
Are there any special tricks i have to perform to get f10 working properly in 7.2?
Code:
===> linux-f10-flashplugin-10.0r32 bsd.linux-apps.mk test failed: The component openldap is not defined for LINUX_DIST_SUFFIX= (the corresponding variable openldap_FILE is not defined). This usually means that the current port should be used with non default linux base and/or infrastructure port(s). *** Error code 1 Stop in /usr/ports/www/linux-f10-flashplugin10. Any info appreciated. Last edited by DutchDaemon; October 6th, 2009 at 12:35. |
|
#15
|
||||
|
||||
|
You're missing the lines in /etc/make.conf (see top of first post).
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#16
|
|||
|
|||
|
No, they're definitely there. Should I do an export bla=f10?
Thx, |
|
#17
|
||||
|
||||
|
Please post the output of
Code:
pkg_version -v | grep linux
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#18
|
|||
|
|||
|
Code:
linux_base-f10-10_2 = up-to-date with port |
|
#19
|
||||
|
||||
|
Hmm... Still think it's an /etc/make.conf issue. Do you have any spaces in those lines?
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
| The Following User Says Thank You to SirDice For This Useful Post: | ||
narcolepsy (October 6th, 2009) | ||
|
#20
|
|||
|
|||
|
was a typo in the first thing, the NONBASE_PORT= should have been NONBASE_PORTS=
Of course i should have been clever enough to spot it :/ Thanks for the help, flash now works (even the iplayer!) Impressive, think that was the last gating factor to being able to use FreeBSD as both a server and desktop. Cheers |
|
#21
|
||||
|
||||
|
Changed that in OP's post.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki Before you post: How to ask questions the smart way If you must know .. So, what does an Administrator/Moderator do? ---> Do not PM me with FreeBSD questions. I do not work here. <--- |
|
#22
|
|||
|
|||
|
Figured out what I was doing wrong today. I am running 8.0-RC1 and I followed the original post pretty well only to find that mounting linproc in /compat/linux/proc is the solution for me. If it is mounted in /usr/compat/linux/proc like the original post says, flash will detect in the browser but not work at all.
|
|
#23
|
||||
|
||||
|
Ok my turn.
I was using flash 9 with FreeBSD 8.0-RC1 upgraded from version 7.2-STABLE with linux compat f8. With 7.2-STABLE it was working quite great , except sometime , i have to kill -9 npviewer.bin when firefox was frozen. Then i upgraded to FreeBSD 8.0 RC1 , it was still working but sometime firefox was crashing. So i decided last night to follow this Howto , so i upgraded Firefox from version 3.0.3 to 3.5. I upgraded also from linux compat f8 to f10 by changing f8 to f10 in /etc/make.conf (before doing this i renamed usr/compat/linux to usr/compat/linux.old) Then I followed this howto. To build nspluginwrapper i had to deinstall several linux-xxx Then at the end i achieved to build and upgrade all. Firefox 3.5 is showing plugin flash 10 in about:plugins but now ,youtube is showing black screen , firefox is freezing and .core is generated for firefox and npviewer. May be i have to reboot , will see this evening as i m at work right now.
__________________
FreeBSD sp-freebsd 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #1: Sun Dec 23 18:57:51 CET 2012 root@sp-freebsd:/usr/obj/usr/src/sys/SPKERNEL amd64 |
|
#24
|
||||
|
||||
|
Personally, I would have removed all linux8 ports before changing the settings in /etc/make.conf and installing linux10.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki Before you post: How to ask questions the smart way If you must know .. So, what does an Administrator/Moderator do? ---> Do not PM me with FreeBSD questions. I do not work here. <--- |
|
#25
|
||||
|
||||
|
Well , i m afraid that it's now a big spaghetti dish , and i m thinking about formating and doing a fresh install
__________________
FreeBSD sp-freebsd 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #1: Sun Dec 23 18:57:51 CET 2012 root@sp-freebsd:/usr/obj/usr/src/sys/SPKERNEL amd64 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| java plugin not recognized in firefox3 | mdg | Installation and Maintenance of FreeBSD Ports or Packages | 4 | June 22nd, 2009 10:56 |
| Firefox 3 & f8-Flash10 hangs when navigating away from page | monty_hall | Installation and Maintenance of FreeBSD Ports or Packages | 3 | June 14th, 2009 15:35 |
| glitz installation needed by Firefox3 FreeBSD-6.0 | gurukmlore | Installation and Maintenance of FreeBSD Ports or Packages | 7 | June 12th, 2009 12:30 |
| problem of java plugin and firefox3.x | nicholas1918717 | Installation and Maintenance of FreeBSD Ports or Packages | 6 | June 3rd, 2009 10:07 |
| Flashplayer7 with KDE and FireFox3 | H-300 | Multimedia | 5 | January 2nd, 2009 22:23 |