From owner-freebsd-emulation@FreeBSD.ORG Sat Mar 29 00:06:43 2008 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9675106564A for ; Sat, 29 Mar 2008 00:06:43 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (farley.org [67.64.95.201]) by mx1.freebsd.org (Postfix) with ESMTP id 84E938FC35 for ; Sat, 29 Mar 2008 00:06:43 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from thor.farley.org (HPooka@thor.farley.org [192.168.1.5]) by mail.farley.org (8.14.2/8.14.2) with ESMTP id m2T06fsb020744 for ; Fri, 28 Mar 2008 19:06:41 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Fri, 28 Mar 2008 19:06:41 -0500 (CDT) From: "Sean C. Farley" To: freebsd-emulation@FreeBSD.org Message-ID: User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on mail.farley.org Cc: Subject: linux_base-f8/Linux emulation notes X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Mar 2008 00:06:43 -0000 Here are some general notes about linux_base-f8 and linux emulation (mostly) in general. Other than these notes, almost (see #7) all appears to work for me with RELENG_7 (after latest commit today), linux_base-f8 and compat.linux.osrelease=2.6.16. Thank you. 1. I noticed that linux-glib conflicts at least with the glib20.mo files and glib2.sh. Is linux-glib even needed if linux_base-f8 is installed? Messages from acroread8: rm: cannot remove `/home/sean/.adobe/Acrobat/8.0/Preferences/mozilla/prefs.js': Function not implemented (acroread:76704): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Fontconfig error: "conf.d", line 1: not well-formed (invalid token) Fontconfig error: "conf.d", line 1: not well-formed (invalid token) (acroread:76704): Gdk-WARNING **: gdk_property_get(): length value has wrapped in calculation (did you pass G_MAXLONG?) 2. I am not sure what is throwing the "Function not implemented" message. Running rm (FreeBSD or Linux binary) works. The Linux binary works even if executed from with /compat/linux/bin/bash. I checked with ktrace -d and linux_kdump. I do not see prefs.js mentioned, and the message does not show itself. ENOSYS nor 38 was found in the dump. 3. What is missing to make glibc happy with locales (LANG=en_US.UTF-8)? 4. Is an update needed for some other linux port to fix the Gdk-WARNING? Do other linux-* ports need updating to more current versions? Currently, they are fc4-level. 5. The "Beyond Adobe Reader" window that acroread shows if not run with a file to load is blank. According to this FAQ[1] #10 by Adobe, it could be a problem with gtkembedmoz (installed by the linux-nvu port). 6. Some Linux binaries try to print using /usr/bin/lp without success. I always install the following script to make them work: /compat/linux/usr/bin/lp: #!/bin/sh - exec /usr/bin/lpr "$@" 7. I still get core dumps within a Linux chroot (fc2-based) using cmake[2]. Sean 1. http://blogs.adobe.com/acroread/2007/09/adobe_reader_811_faqs.html 2. http://lists.freebsd.org/pipermail/freebsd-emulation/2008-March/004535.html -- scf@FreeBSD.org