Re: linux-flashplugin-9 && firefox-3.0.7, 1 does not play in -CURRENT

From: Matthias Apitz <guru_at_unixarea.de>
Date: Sun, 19 Apr 2009 16:35:37 +0200
El día Sunday, April 19, 2009 a las 01:50:05PM +0200, Nicolas escribió:

> Ok, i think i know your problem.
> Can you try this:
> 
> -----------------------------------------------------------------------
> 1. Delete all directories related to linux in /var/db/pkg
> 
> 2. Delete all directories in /usr/compat/linux (except proc directory)
> 
> 3. Add OVERRIDE_LINUX_BASE_PORT=f8 and OVERRIDE_LINUX_NONBASE_PORTS=f8 
> to your /etc/make.conf
> 
> 4. Go to /usr/ports/emulators/linux_base-f8 and make install
> 
> 5. Go to /usr/ports/www/linux-flashplugin9 and make install
> 
> 6. Go to /usr/compat/linux/lib and type in terminal (in root of course): 
> ln -s libssl.so.6 libssl.so.5
> 
> 7. Reboot
> -----------------------------------------------------------------------
> 
> Is it working ?
> Nicolas.

Hi Nicolas,

As I said I build the ports + resulting packages on a faster host
(vm-naranja), moved all packages resulting from

# pkg_create -Rnb xxxxx

to an EeePC and pkg_add'ed them there; before following your procedure
above I was trying to understand what your procedure means in my case of
the flow of installation and espec. I've checked /usr/compat/linux/lib
on the target host, the EeePC; and there is no /usr/compat/linux/lib:

tiny# cd /usr/compat/linux/
tiny# ls -l
total 0
dr-xr-xr-x  1 root  wheel  0 19 abr 16:05 proc

while /usr/compat/linux/lib  is there on
the host where the ports have been compiled and installed during 'make
install'; this could mean that something is wrong in my procedure at
all; for example the file libreadline.so.5.2 in /usr/compat/linux/lib
was created there yesterday (when I build the linux_base-f8) but is not
visible as a part of any package:

vm-naranja# cd /usr/compat/linux/lib
vm-naranja# pkg_info -W libreadline.so.5.2
vm-naranja# ls -l libreadline.so.5.2
-rwxr-xr-x  1 root  wheel  212996 Apr 18 13:54 libreadline.so.5.2

the package linux_base-f8-8_11.tbz itself does contain it:

tiny# cd /PKGDIR-CURRENT
tiny# tar tzf linux_base-f8-8_11.tbz | fgrep libread
lib/libreadline.so.5
lib/libreadline.so.5.2
tiny# find / -name libreadline.so.5.2 -exec ls -l {} \;
-rwxr-xr-x  1 root  wheel  212996 18 abr 13:54 /compat/linux/lib/libreadline.so.5.2

i.e. the 'pkg_add linux_base-f8-8_11.tbz' put the libs below
/compat/linux/lib...

yes, all stuff from the package is below /compat/linux:

tiny# ls -l /compat/linux
total 28
drwxr-xr-x   2 root  wheel  1024 19 abr 10:21 bin
drwxr-xr-x  22 root  wheel  1024 19 abr 10:22 etc
drwxr-xr-x   7 root  wheel  4096 19 abr 10:22 lib
drwxr-xr-x   2 root  wheel   512 19 abr 10:22 media
drwxr-xr-x   2 root  wheel   512 19 abr 10:22 mnt
...

and /usr/compat/linux/proc only exist because I've created it by hand as
said in http://crnl.org/blog/2008/11/01/flash-9-for-freebsd-71

# mkdir -p /usr/compat/linux/proc
# mount /usr/compat/linux/proc

I followd a wild gues and changed /etc/fstab for linproc to:

linproc /compat/linux/proc linprocfs rw 0 0

rebooted and now it plays fine;

but: what does this mean concerning the package linux_base-f8-8_11.tbz?
why are some files (libreadline.so.5.2) not registered? and why they are
installed on the building host in /usr/compat/linux/ and on the target
host with pkg_add in /compat/linux?

Thanks for your time in any case;

	matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <matthias.apitz_at_oclc.org> - w http://www.oclc.org/ http://www.UnixArea.de/
People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD.
Received on Sun Apr 19 2009 - 12:35:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:46 UTC