From owner-freebsd-mono@FreeBSD.ORG Sun Jul 19 16:41:54 2009 Return-Path: Delivered-To: mono@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC2631065672 for ; Sun, 19 Jul 2009 16:41:54 +0000 (UTC) (envelope-from jupdike@gmail.com) Received: from mail-pz0-f193.google.com (mail-pz0-f193.google.com [209.85.222.193]) by mx1.freebsd.org (Postfix) with ESMTP id AD2898FC18 for ; Sun, 19 Jul 2009 16:41:54 +0000 (UTC) (envelope-from jupdike@gmail.com) Received: by pzk31 with SMTP id 31so1367551pzk.3 for ; Sun, 19 Jul 2009 09:41:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=iOYCj0HpjXhoN3Kse01avQaOdyJaclOhI13AVhxcR5A=; b=xPunnkLqATFFfhndLxRHtx00GHc0QTC8qe3W55j7uxtyVOJAkHDG7onpW4YeDQ6Jd1 F0LFnPV0M9VSgBkKoyqRZgVkvzDHqvED3Zu0FT3oJWyB2udoX/kelSv5HpewBPLzqGL7 yxTPr0wD9l8eqc8D13olS9UZWfodtKK6V8MlU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=M6u41cjV0s8moSw0xeDr/V5hDbbRd6N3q20cHOULJXasf5sWenv/G1FmPGFmTuybor NACd4FfjQhb6i5qSd0OWObq+oD8EOfmoWxeLn/ymK/ObMxrBgTOMQMUZ7S3DVtK5IHlg /fsIZcCUQZv20cgXTb95zbgd/ZfDChupQGdAc= MIME-Version: 1.0 Received: by 10.142.173.6 with SMTP id v6mr732655wfe.233.1248019975160; Sun, 19 Jul 2009 09:12:55 -0700 (PDT) In-Reply-To: <20090719100442.GB12970@blogreen.org> References: <8b108f950907151033v1b76ac23ubdf733a817103701@mail.gmail.com> <20090715174933.GB4446@blogreen.org> <8b108f950907151937m26d1df98ndf72c1dfe9c158d4@mail.gmail.com> <8b108f950907152152l6f5fe762l92aa4d0176b631af@mail.gmail.com> <8b108f950907190033o1144e76ftd81ca8769881a7e5@mail.gmail.com> <20090719100442.GB12970@blogreen.org> Date: Sun, 19 Jul 2009 09:12:55 -0700 Message-ID: <8b108f950907190912j53355743vb3edb9a9c771a5b0@mail.gmail.com> From: Jared Updike To: mono@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: Failed to compile mono-2.4.2.1 on FreeBSD 6.2 Release X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jul 2009 16:41:55 -0000 > In a private mail you send to me a few minutes before / after this one, > you say you tested in a VM. This may be a hint! Jails are known to > have a default configuration too restrictive for compiling / running > mono. We added a line about it in the pkg-message file recently: >> * If you are in a jailed environment, ensure System V IPC are enabled. >> You can rely on the security.jail.sysvipc_allowed sysctl to check >> this status. The following enables this feature on the host system: >> # echo "jail_sysvipc_allow=\"YES\"" >> /etc/rc.conf It is quite possible that Parallels Desktop 3.0 for Mac OS X Leopard (actually, I must have installed this under 2.0 and upgraded to 3.0... a lot could have changed...) is the problem. "For fun" I may try re-installing 6.2 from scratch on a new VM and seeing how mono-2.4.2.2 compiles, out of the box, with less changes (I'll skip KDE install for example) so at least my steps are reproducible. And the rc.conf change you mention may help if mono doesn't work. > What VM are you using? Do you know some way a shell script may detect if > the underlying OS is running on such a VM? It would be good to be sure > that this VM is not suitable for installing / using mono are find out > any configuration option that might do the trick. I don't know of anything like this, but it certainly doesn't mean such a detection cannot be made. Strangely, Parallels Desktop 3.0 for Mac OS X Leopard was successful building and running Mono 2.4.2.2 on a fresh install of FreeBSD 7.2 last night (hurray!), so that's good news since it solves my original problem, deploying Mono on (any) new-ish FreeBSD. I'll be around to make more attempts with FreeBSD 6.2 since it could benefit someone else somewhere, but I'm glad 7.2+2.4.2.2 did the trick. Jared.