From owner-freebsd-ports@FreeBSD.ORG Sat Jan 24 18:06:09 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DC7D1065680; Sat, 24 Jan 2009 18:06:09 +0000 (UTC) (envelope-from jimmiejaz@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.178]) by mx1.freebsd.org (Postfix) with ESMTP id B93688FC14; Sat, 24 Jan 2009 18:06:06 +0000 (UTC) (envelope-from jimmiejaz@gmail.com) Received: by el-out-1112.google.com with SMTP id r27so1266454ele.13 for ; Sat, 24 Jan 2009 10:06:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=pl6QcETWvCZGfS223yOfWfPctzRGcOfpMqT4z4hBfgA=; b=JcAVqCbxOw3bU6Cg0aFBWhPR2RyoIZqeUT9GQ1FXUfuW1Kk+gUCS4xKnwGmpWB3QKO NJbJrTto9r64lGs/NMNKlYtb78aTfwdNm+SjauNIQZ1cb4LovbVGsi2nFNRuJI3fay8b KJ5CpYEus/nPl2Rvh4q2gkSkJ7vLZg6tiQ7Ig= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=NPuw2seXsxre2A4NfmOMSif7mQJsNXOnWmtxnQrKOldRBh6jHlEeogxAO5isJ1cm4x 62uNRXqZoZ+CgCMwPcZX/3VxSA0YWiiuz5wPYd8J+bm4CO2C0HrUthPncmJhQ3ujdjXf cyxgLapq6q10uKomLWRkz3pQHabunIfbi8JNg= Received: by 10.64.181.19 with SMTP id d19mr1820081qbf.24.1232820365867; Sat, 24 Jan 2009 10:06:05 -0800 (PST) Received: from fortytwo.zapto.org ([70.51.165.247]) by mx.google.com with ESMTPS id 9sm21650291qbw.21.2009.01.24.10.06.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 24 Jan 2009 10:06:05 -0800 (PST) Message-ID: <497B5890.9050309@gmail.com> Date: Sat, 24 Jan 2009 13:06:08 -0500 From: Jimmie James User-Agent: Thunderbird 2.0.0.7pre (X11/20080610) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4979F1B1.4090808@gmail.com> <44eiysvmo8.fsf@lowell-desk.lan> In-Reply-To: <44eiysvmo8.fsf@lowell-desk.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: x11-toolkits/linux-gtk2 problem/question. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jimmiejaz@gmail.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jan 2009 18:06:10 -0000 Lowell Gilbert wrote: > Jimmie James writes: > >> While it looks like it install/runs fine (i.e, linux-flash9 works, >> skype works) the following error is show >> (process:47722): GLib-WARNING **: getpwuid_r(): failed due to unknown >> user id (0) >> >> Following this advice, all I could find, >> http://archive.netbsd.se/?ml=freebsd-emulation&a=2005-11&t=1506833 >> The fix is, to tell /compat/linux/etc/nsswitch.conf to look at NIS too. >> Is UID 0 in your /etc/passwd? Can you try changeing >> /compat/linux/etc/nsswitch.conf to something like this: >> >> passwd: files nisplus nis >> shadow: files nisplus nis >> group: files nisplus nis >> >> Uid 0 is in my /etc/passwd, there's no /compat/linux/etc/passwd., and >> changing /compat/linux/etc/nsswitch.conf to read the same doesn't fix >> the error message. >> >> Advice, suggestions? > > Those setting for nsswitch.conf don't look right to me. > There should have been a message printed out when you installed one of > the linux_base ports, telling you how to configure it. > I think the fc4 version is the default these days; if that is what you > are using, the message is in the file > /usr/ports/emulators/linux_base-fc4/pkg-message You're right, missed the message during the install, scrolled off screen. Following the pkg-message in /usr/ports/emulators/linux_base-f8/pkg-message and reinstalling linux-gtk2-2.6.10_1 still gives me the same message. I knew I forgot something with the original message. FreeBSD 7.1-STABLE #0: Tue Jan 6 03:43:02 EST 2009 jimmie@fortytwo.zapto.org:/usr/obj/usr/src/sys/FORTYTWO linux-atk-1.9.1_1 Accessibility Toolkit, Linux/i386 binary linux-cairo-1.0.2 Linux cairo binary linux-expat-1.95.8 Linux/i386 binary port of Expat XML-parsing library linux-flashplugin-9.0r152 Adobe Flash Player NPAPI Plugin linux-fontconfig-2.2.3_7 Linux/i386 binary of Fontconfig linux-gspca-kmod-1.0.20 A port of the linux gspcav1 webcam driver *** linux-gtk2-2.6.10_1 GTK+ library, version 2.X, Linux binary *** What's giving me the error. linux-jpeg-6b.34 RPM of the JPEG lib linux-kmod-compat-20080408 Adaptation layer to build linux drivers on FreeBSD linux-libsigc-2.0.17 Callback Framework for C++ (linux version) linux-openssl-0.9.7f SSL and crypto library (Linux Version) linux-pango-1.10.2_1 Linux pango binary linux-png-1.2.8_2 RPM of the PNG lib linux-tiff-3.7.1 TIFF library, Linux/i386 binary linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries *** linux_base-f8-8_10 Base set of packages needed in Linux mode (for i386/amd64)*** emulators/linux_base-f8 linux_dri-7.0 Binary Linux DRI libraries for 3D hardware acceleration of linuxdoc-1.1_1 The Linuxdoc SGML DTD lirc-0.8.0_2 Linux Infared Remote Control sgmlformat-1.7_2 Generates groff and HTML from linuxdoc and docbook SGML doc v4l_compat-1.0.20060801 Video4Linux compatibility header -- Over the years I've come to regard you as people I've met.