NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: need help with flash 10 plugin for NetBSD amd64



On Sat, Sep 17, 2011 at 11:15:36AM -0500, Jeremy C. Reed wrote:
> I installed gnash from pkgsrc. It was identified as flash 10, but some 
> websites don't accept it. (Some flash works at shutterfly, but later 
> check says to use flash 10.) I deinstalled it.

Never tested gnash, but multimedia/adobe-flash-plugin10.1 (which is
10.3 actually) works fine for me with suse113 packages.

> The MESSAGE also says tmpfs says /emul/linux/dec/shm  but I have emul32.
> 
> And how to do that manually?
> 
> $ sudo mount -t tmpfs -o rw -o -m1777 tmpfs /emul/linux32/dev/shm
> mount: realpath /emul/linux32/dev/shm: No such file or directory
> 
> $ ls -ld /emul/linux32/dev                            
> drwxr-xr-x  2 root  wheel  1024 Sep 17 10:35 /emul/linux32/dev
> sunflower:suse100_openssl$ ls -ld /emul/linux32/dev/shm
> ls: /emul/linux32/dev/shm: No such file or directory

Attached a patch i have in my local tree to create it automatically at
install (and does includes a fix to make mtab works with -current).

-- 
Nicolas Joly

Projects and Developments in Bioinformatics
Institut Pasteur, Paris.
Index: INSTALL
===================================================================
RCS file: /cvsroot/pkgsrc/emulators/suse113_base/INSTALL,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 INSTALL
--- INSTALL     24 Sep 2010 01:27:52 -0000      1.1.1.1
+++ INSTALL     11 Jul 2011 21:19:55 -0000
@@ -61,6 +61,9 @@ ADD,0)
                ( cd ${EMULDIR}/dev &&
                  ${SH} ./MAKEDEV std audio &&
                  ${LN} -fs sound dsp )
+       ${TEST} -d ${EMULDIR}/dev/shm ||
+               ( ${MKDIR} ${EMULDIR}/dev/shm &&
+                 ${CHMOD} 01777 ${EMULDIR}/dev/shm )
 
        # Create the appropriate symlink so that the kernel will
        # find the installed files.
@@ -142,7 +145,7 @@ POST-INSTALL)
 
        # Make /etc/mtab usable for Linux programs.
        ${RM} -f ${EMULDIR}/etc/mtab
-       ${LN} -fs ${EMULDIR}/proc/mounts ${EMULDIR}/etc/mtab
+       ${LN} -fs /proc/mounts ${EMULDIR}/etc/mtab
 
        # Run any actions that require root privileges.
        ${TEST} ! -x ./+ROOT_ACTIONS ||


Home | Main Index | Thread Index | Old Index