From owner-freebsd-questions@FreeBSD.ORG Fri Nov 21 12:38:54 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 30F4F151 for ; Fri, 21 Nov 2014 12:38:54 +0000 (UTC) Received: from mail-lb0-x231.google.com (mail-lb0-x231.google.com [IPv6:2a00:1450:4010:c04::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A154AAB8 for ; Fri, 21 Nov 2014 12:38:53 +0000 (UTC) Received: by mail-lb0-f177.google.com with SMTP id 10so1109196lbg.36 for ; Fri, 21 Nov 2014 04:38:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=Fw1DmWoEmGin9eyk9pljzNVoHxZpp/CHeb8eXWcmVQ4=; b=R4Vyi9RYjzLj6yzrQYx0NN102zvcgxgHAvFeKTI29CE9XcfUmz0W+z9KmzF/fDhMRB 7PYlqIHOKb8UwSRJE7RLYoRuatEUFKvYkHMG+zef0zu8t3fnBoUo/SWBsxR/0GFsRemu GyCRi0b5zAlcimWFzQGJ2edyfKT0pFbYB+DsYRh2m/jTQ7Gb9e48JQM732OXslqHcczH AnrDlSJx8X6WlFsKw9h0xVgDZK0K/xmVVZ7h+EGy4GVYpk5X8XmrknT0Dxw71sKH+rkr MvC9ct49WU2HZ/tdyTxygRhlHUktEmZiqm+PFrm7B4BB4Ockc3LhzihIolV0CptT2jF5 O7lQ== X-Received: by 10.152.115.230 with SMTP id jr6mr4359584lab.2.1416573531592; Fri, 21 Nov 2014 04:38:51 -0800 (PST) Received: from blazon-pc.rw.local ([78.84.244.14]) by mx.google.com with ESMTPSA id j2sm1156446lbp.16.2014.11.21.04.38.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Nov 2014 04:38:50 -0800 (PST) Message-ID: <546F3259.6000205@gmail.com> Date: Fri, 21 Nov 2014 14:38:49 +0200 From: Alnis Morics User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: olvwm on amd64 References: <546E5D2D.6010603@gmail.com> <546EE14E.7050507@gmail.com> <546F277B.8030204@qeng-ho.org> In-Reply-To: <546F277B.8030204@qeng-ho.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2014 12:38:54 -0000 On 11/21/2014 13:52, Arthur Chance wrote: > On 21/11/2014 11:29, Luciano Rottava da Silva wrote: >> That´s the point. Binary packages are available for i386, but I guess >> it´s >> not possible to run them in FreeBSD. Maybe similar to OpenBSD where >> amd64 >> platform does not run i386 packages, as far as I know. > > I thought that was the entire point of the lib32 subsystem under amd64 > - to allow 32 bit code to run on a 64 bit machine? After all, Wine > (mentioned below) is 32 bit and runs on amd64. Plus FreeBSD i386 build environment described in the link I shared below, installed in /compat, if there's no binary package. The packages of Wine for amd64 and i386 are different (named "i386-wine" and "wine"); the hard work is already done for us, as it is in the Linux distros mentioned. lib32 doesn't supply libraries for every application we might wish to install; they need to be built. > >> Because of that, I thought about running binary packages (i386 also) >> from >> Linux using FreeBSD compat layer. Hope it will work. >> >> However, I wonder how Linux distributions do that! I have a Ubuntu >> desktop, >> amd64, running olvwm. >> >> We know xview is not availabe for 64-bit platforms, but applications >> based >> on it run perfectly in Linux. >> >> How come?! >> >> Best Regards. >> >> On 21 November 2014 04:53, Alnis Morics wrote: >> >>> >>> On 11/21/2014 00:09, Luciano Rottava da Silva wrote: >>> >>>> Thanks Alnis but, isn't xview only available for i386? >>>> >>>> I am stuck because of it. Or am I doing something wrong? >>>> >>>> root@desktop:/usr/ports/x11-wm/olvwm # make install clean >>>> ===> olvwm-4.2_1 depends on file: /usr/local/sbin/pkg - found >>>> ===> Fetching all distfiles required by olvwm-4.2_1 for building >>>> ===> Extracting for olvwm-4.2_1 >>>> => SHA256 Checksum OK for olvwm4.tar.Z. >>>> => SHA256 Checksum OK for olvwm4.Patch01.Z. >>>> => SHA256 Checksum OK for olvwm4.Patch02.Z. >>>> ===> Patching for olvwm-4.2_1 >>>> ===> Applying distribution patches for olvwm-4.2_1 >>>> ===> Applying FreeBSD patches for olvwm-4.2_1 >>>> ===> olvwm-4.2_1 depends on executable: imake - found >>>> ===> olvwm-4.2_1 depends on executable: tradcpp - found >>>> ===> olvwm-4.2_1 depends on file: >>>> /usr/local/libdata/pkgconfig/xpm.pc - >>>> found >>>> ===> olvwm-4.2_1 depends on shared library: libxview.so - not found >>>> ===> Verifying for libxview.so in /usr/ports/x11-toolkits/xview >>>> ===> xview-3.2.1.4.19c_1 is only for i386, while you are running >>>> amd64. >>>> *** Error code 1 >>>> >>>> Stop. >>>> make[1]: stopped in /usr/ports/x11-toolkits/xview >>>> *** Error code 1 >>>> >>>> Stop. >>>> make: stopped in /usr/ports/x11-wm/olvwm >>>> >>>> >>>> On 20 November 2014 19:29, Alnis Morics >>>> wrote: >>>> >>>> On 11/20/2014 23:01, Luciano Rottava da Silva wrote: >>>>> >>>>> Hello, >>>>>> >>>>>> I am trying to setup up a new FreeBSD desktop at home based on >>>>>> the new >>>>>> 10.1 >>>>>> release. >>>>>> >>>>>> As usual, my wm of choice is olvwm. Well, didn't know >>>>>> ports/packages are >>>>>> not available for amd64, only for i386. >>>>>> >>>>>> Searching on the Internet I've read in many places the problem is >>>>>> with >>>>>> xview and there's no hope for 64-bit platform. >>>>>> >>>>>> But then I've found the following website: >>>>>> >>>>>> http://physionet.caregroup.harvard.edu/physiotools/xview/ >>>>>> >>>>>> So, question is, is it possible to run a i386 Linux package in my >>>>>> amd64 >>>>>> Free machine? Would it be possible run the i386 FreeBSD packages >>>>>> xview >>>>>> and >>>>>> olvwm? >>>>>> >>>>>> How can I run my beloved olvwm? There must be a way! >>>>>> >>>>>> Thanks & Regards, >>>>>> Luciano. >>>>>> _______________________________________________ >>>>>> freebsd-questions@freebsd.org mailing list >>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>>> To unsubscribe, send any mail to "freebsd-questions- >>>>>> unsubscribe@freebsd.org" >>>>>> >>>>>> Of course ports are available for amd64. Just run >>>>> >>>>> portsnap fetch extract >>>>> >>>>> to download and extract the ports tree. >>>>> >>>>> And olvwm is in ports. To install it, run: >>>>> >>>>> cd /usr/ports/x11-wm/olvwm >>>>> make install clean >>>>> >>>>> The manual chapter on how to work with ports: >>>>> >>>>> https://www.freebsd.org/doc/en_US.ISO8859-1/books/ >>>>> handbook/ports-using.html >>>>> >>>>> -Alnis >>>>> > [list bumf snipped] >>>> >>> Ah, I see. Then it's way more complicated. You need a 32-bit build >>> environment. There are examples of how to build Wine (which is a 32-bit >>> application, too) on a amd64 system (no longer needed because now >>> there's a >>> i386-wine port) which involves preparing a 32-bit build environment. >>> You >>> can take one such example (say, http://daemon-notes.com/ >>> articles/other/wine/prepare) and build xview instead. But I guess >>> it's an >>> overkill unless you can't do without xview. > >