[4909] in arla-drinkers

home help back first fref pref prev next nref lref last post

arla and Mac OS X 10.6 Snow Leopard

daemon@ATHENA.MIT.EDU (Ryan Schmidt)
Sun Apr 18 08:14:31 2010

From arla-drinkers-bounces@stacken.kth.se Sun Apr 18 12:14:31 2010
Return-Path: <arla-drinkers-bounces@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 29587 invoked from network); 18 Apr 2010 12:14:31 -0000
Received: from mx3.kth.se (130.237.48.97)
  by charon.mit.edu with SMTP; 18 Apr 2010 12:14:31 -0000
X-KTH-mail-from: arla-drinkers-bounces@stacken.kth.se
Received: from localhost (localhost [127.0.0.1])
	by mx3.kth.se (Postfix) with ESMTP id F28096ADE5;
	Sun, 18 Apr 2010 14:14:29 +0200 (CEST)
X-Virus-Scanned: by amavisd-new at kth.se
Received: from mx3.kth.se ([127.0.0.1])
	by localhost (mx3.kth.se [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id H715RYz3geHp; Sun, 18 Apr 2010 14:14:28 +0200 (CEST)
X-KTH-mail-from: arla-drinkers-bounces@stacken.kth.se
Received: from tapas.stacken.kth.se (tapas.stacken.kth.se [130.237.234.140])
	by mx3.kth.se (Postfix) with ESMTP id 17C136AF05;
	Sun, 18 Apr 2010 14:14:17 +0200 (CEST)
Received: from tapas.stacken.kth.se (localhost [127.0.0.1])
	by tapas.stacken.kth.se (Postfix) with ESMTP id AF91751D5B;
	Sun, 18 Apr 2010 14:14:17 +0200 (CEST)
X-Original-To: arla-drinkers@tapas.stacken.kth.se
Delivered-To: arla-drinkers@tapas.stacken.kth.se
Received: from brev.stacken.kth.se (brev.stacken.kth.se [130.237.234.84])
	by tapas.stacken.kth.se (Postfix) with ESMTP id D580D51D5B
	for <arla-drinkers@tapas.stacken.kth.se>;
	Sun, 18 Apr 2010 14:14:16 +0200 (CEST)
Received: from mx3.kth.se (mx3.kth.se [130.237.48.97])
	by brev.stacken.kth.se (8.12.10/8.12.10) with ESMTP id o3ICEGNX007104
	for <arla-drinkers@stacken.kth.se>;
	Sun, 18 Apr 2010 14:14:16 +0200 (MET DST)
X-KTH-mail-from: arla-2010b@ryandesign.com
X-KTH-rcpt-to: arla-drinkers@stacken.kth.se
Received: from localhost (localhost [127.0.0.1])
	by mx3.kth.se (Postfix) with ESMTP id 6367D6AF05
	for <arla-drinkers@stacken.kth.se>;
	Sun, 18 Apr 2010 14:14:11 +0200 (CEST)
X-Virus-Scanned: by amavisd-new at kth.se
Received: from mx3.kth.se ([127.0.0.1])
	by localhost (mx3.kth.se [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id HprzeIrdf7+Z for <arla-drinkers@stacken.kth.se>;
	Sun, 18 Apr 2010 14:14:10 +0200 (CEST)
X-KTH-mail-from: arla-2010b@ryandesign.com
X-KTH-rcpt-to: arla-drinkers@stacken.kth.se
Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de
	[80.67.18.44]) by mx3.kth.se (Postfix) with ESMTP id 434FC6ADE5
	for <arla-drinkers@stacken.kth.se>;
	Sun, 18 Apr 2010 14:14:09 +0200 (CEST)
Received: from [70.253.76.241] (helo=[192.168.7.75])
	by smtprelay02.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128)
	(Exim 4.68) (envelope-from <arla-2010b@ryandesign.com>)
	id 1O3TGG-0006Hg-Kf
	for arla-drinkers@stacken.kth.se; Sun, 18 Apr 2010 14:06:05 +0200
From: Ryan Schmidt <arla-2010b@ryandesign.com>
Subject: arla and Mac OS X 10.6 Snow Leopard
Date: Sun, 18 Apr 2010 07:06:02 -0500
Message-Id: <A11B19E1-F959-4D81-BC9C-B36A640567D3@ryandesign.com>
To: arla-drinkers@stacken.kth.se
Mime-Version: 1.0 (Apple Message framework v1078)
X-Mailer: Apple Mail (2.1078)
X-Df-Sender: 368818
X-BeenThere: arla-drinkers@stacken.kth.se
X-Mailman-Version: 2.1.6
Precedence: list
List-Id: Arla discussions <arla-drinkers.stacken.kth.se>
List-Unsubscribe: <https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers>, 
	<mailto:arla-drinkers-request@stacken.kth.se?subject=unsubscribe>
List-Archive: <http://lists.stacken.kth.se/pipermail/arla-drinkers>
List-Post: <mailto:arla-drinkers@stacken.kth.se>
List-Help: <mailto:arla-drinkers-request@stacken.kth.se?subject=help>
List-Subscribe: <https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers>, 
	<mailto:arla-drinkers-request@stacken.kth.se?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: arla-drinkers-bounces@stacken.kth.se
Errors-To: arla-drinkers-bounces@stacken.kth.se

We have a port for arla in MacPorts, but it hasn't been upgraded past version 0.35.11. In trying to upgrade it to 0.90 today, I ran into many problems. Beginning at the beginning:


checking for readline... no
checking for tgetent... no
configure: error: Could not find tgetent, needed by edit/editline


Looking in the config.log:


configure:7162: checking for tgetent
configure:7190: /usr/bin/gcc-4.2 -o conftest  -DKERNEL -D_KERNEL -I/System/Library/Frameworks/Kernel.framework/Headers -static -DDIAGNOSTIC -DUSE_SELECT -DMACH_USER_API -traditional-cpp -traditional-cpp  -DKERNEL -D_KERNEL -I/System/Library/Frameworks/Kernel.framework/Headers -static -DDIAGNOSTIC -DUSE_SELECT -DMACH_USER_API -traditional-cpp -traditional-cpp -L/opt/local/lib -flat_namespace conftest.c     >&5
ld: library not found for -lcrt0.o
collect2: ld returned 1 exit status
configure:7190: $? = 1


I believe the fault here is the following lines of your configure.in:


  case "$nnpfs_target" in
    darwin[[789]].*)
          ;;
    *) 
	  KERNEL_CPPFLAGS="${KERNEL_CPPFLAGS} -traditional-cpp"
	  CPPFLAGS="${KERNEL_CPPFLAGS} -traditional-cpp"
	  CFLAGS="${KERNEL_CPPFLAGS} -traditional-cpp"
	  ;;
  esac


As I understand it, -traditional-cpp is an old flag. I assume your intention with these lines is to use that flag on darwin 6 (a.k.a. Mac OS X 10.2) and earlier, and to not use it on darwin 7 (a.k.a. Mac OS X 10.3) and later. The problem is that the current version of Mac OS X is 10.6, a.k.a. darwin 10, so it's getting the -traditional-cpp flag when it shouldn't. Perhaps reversing this check would make the most sense:


  case "$nnpfs_target" in
    darwin[[123456]].*)
	  KERNEL_CPPFLAGS="${KERNEL_CPPFLAGS} -traditional-cpp"
	  CPPFLAGS="${KERNEL_CPPFLAGS} -traditional-cpp"
	  CFLAGS="${KERNEL_CPPFLAGS} -traditional-cpp"
	  ;;
    *)
          ;;
  esac


I encounter several other problems after this, so perhaps I should just leave it at this for now and ask if you intend for arla to work on Mac OS X at all these days. If you do, I'll be happy to share my further problem reports with you.


_______________________________________________
Arla-drinkers mailing list
Arla-drinkers@stacken.kth.se
https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers

home help back first fref pref prev next nref lref last post