delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2016/07/29/05:58:13

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,,
definitions=2016-07-29_07:,, signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0
clxscore=1015 suspectscore=5 malwarescore=0 phishscore=0 adultscore=0
bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1
engine=8.0.1-1603290000 definitions=main-1607290104
MIME-version: 1.0 (Mac OS X Mail 9.3 \(3124\))
Subject: pcb-rnd compilation (Mac/Linux) (was Re: [geda-user] Stay or go? (Mac))
From: "Chris Smith (space DOT dandy AT icloud DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
In-reply-to: <alpine.DEB.2.00.1607282027250.7286@igor2priv>
Date: Fri, 29 Jul 2016 10:55:53 +0100
Message-id: <6B3BFC54-029A-422B-A44A-F1C7AB2B920D@icloud.com>
References:
<CAM2RGhTWhicdtsVWn75FD68Pd00i9Vq78c3X-iF+g4_+a9-0Fw AT mail DOT gmail DOT com>
<305C8358-7EE6-43FD-8D86-21BE3CE07FC6 AT wellesley DOT edu>
<alpine DOT DEB DOT 2 DOT 00 DOT 1607280903180 DOT 7286 AT igor2priv>
<9736B62A-0B4D-4CE3-A38B-027198DCA93F AT icloud DOT com>
<alpine DOT DEB DOT 2 DOT 00 DOT 1607281155140 DOT 7286 AT igor2priv>
<2AF8F550-1AE6-43D1-80E3-F2F1B3C4C079 AT icloud DOT com>
<alpine DOT DEB DOT 2 DOT 00 DOT 1607282027250 DOT 7286 AT igor2priv>
To: geda-user AT delorie DOT com
X-Mailer: Apple Mail (2.3124)
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=4d515a;
t=1469786156; bh=LbYxU9QojSRkxVIaf7KBa6tGdI6y8cZ/pqfYq6mCTk8=;
h=Content-type:MIME-version:Subject:From:Date:Message-id:To;
b=eksbeWsbUz2HLuoR+H5HdRc0norG4w+2xygGURUwDyEbxEUJugA8zsHdsTM/II36k
hWfEahfkdCXPxWQu6JRgdf8eq5vUg9yycuR6QEsjOjIPq7jPThDNkfJyPk06c7QHuH
FEmqXkmPkE9uDGGFfWxbSEdm+KlOLiAp/p8bOsC9ZGa3kjcF/+JcyjgHoqTx30ERsR
MdXtjI9TIhDDSUaarrU4O90qgPkzf3o2lb1gzYQZmFnwT24GAJM9np4AkRpP9GvG4V
XphLki2maSlgvOJ3GBTLaOOVI715kIVHxCExuuKTwpu4UNjbwSU4P9rI/xY6y97TcT
/NMUegNP4xh9A==
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u6T9uJK3010738
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Hi igor2,

> On 28 Jul 2016, at 19:28, gedau AT igor2 DOT repo DOT hu wrote:
> 
> On Thu, 28 Jul 2016, Chris Smith (space DOT dandy AT icloud DOT com) [via geda-user AT delorie DOT com] wrote:
> 
>> Ok, I?ve just tried a basic configuration and I?m getting a configure error:
>> ./configure --prefix=/usr/local --disable-hid_gtk --disable-hid_lesstif
>> --disable-gd --disable-gpmi
> 
> Fixed. Please svn up and ./configure again.


First the good news: your fix worked and compilation on my Mac was straight-forward and went without error.  I was also able to build with —buildin-hid_gtk after installing GTK+ using their jhbuild system (which also worked out of the box).  [I should point out that I have XCode installed, plus autoconf/autotools.]

pcb-rnd runs, but isn’t quite right.  There are several GTK widgets missing from the various preferences dialogs — however I suspect this is due to my GTK installation rather than pcb-rnd.

Now for the problems.  I have tried compiling on Linux (Ubuntu 11.10 and 15.04) without success.  Configuration and compilation go well, but there are many errors at the linking stage, e.g.:

../src_plugins/hid_gtk/gtk_conf_list.o: In function `button_ins_cb':
gtk_conf_list.c:(.text+0x1f0): undefined reference to `gtk_tree_view_get_type'
gtk_conf_list.c:(.text+0x1ff): undefined reference to `g_type_check_instance_cast'
gtk_conf_list.c:(.text+0x207): undefined reference to `gtk_tree_view_get_selection'

As far as I can tell I have all the GTK libraries installed, and in fact I have compiled mainline pcb on my 11.10 install without issues in the past.

Other notes I have made:

1. M4 seems to be a requirement, but I’m not sure for which options.
2. Bison is required for -io_pcb and -import_edif options.

My final configuration is ./configure —buildin-hid_gtk —disable-gd —disable-gpmi —disable-io_pcb —disable-import_edif

What is io_pcb?  It refers to an ‘original’ pcb format, does that mean the current format or an older, obsolete one?

Regards,
Chris
—
Chris Smith <space DOT dandy AT icloud DOT com>



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019