delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2015/08/31/23:08:20

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:from:content-type:content-transfer-encoding
:subject:message-id:date:to:mime-version;
bh=fYUKCrMbjqsjLqXW9zKsIyMPctDdqsWpZkaSLzoaUeA=;
b=kKLKqBoolDTYe2l6LiKVXQS3w1AYzB/fVzyli86bVp5pGJg6oO8DxdjQZfOizRQX/S
Por0nOuV1Ot/wg3IRSXmDdDFWX/BInJNxujglyHEikIbRkf/DVhhgPIBN4afo8Q7DtHQ
FwKKwY6ukNtneTj67Y2CZJSfdR5frXgDH2FqgBQZeJVfiG41B0tDcs1ho2OtXiAiYPLT
0+G5gYUv9txAoIqylKCre+R+9ltpyi+xC2gn877hmWuDkNMGrxASlJMMUsuuHCQF0GQQ
ktS7u9EmbwK0TKeA0rwR/R7wJ5RZAIilV4BOfhIS7+7kiqiPKw1zerVy9scwRBSK4Pik
X6Kg==
X-Gm-Message-State: ALoCoQmUd8ErOzNhdgMkor600YfCIfZ/91cLPV6xB9PXttuYqKSkFiH3TctRU74WfV4ntskTF4zS
X-Received: by 10.141.28.206 with SMTP id f197mr45452186qhe.78.1441076849919;
Mon, 31 Aug 2015 20:07:29 -0700 (PDT)
From: "James Battat (jbattat AT wellesley DOT edu) [via geda-help AT delorie DOT com]" <geda-help AT delorie DOT com>
Subject: [geda-help] building pcb from source on Mac 10.9
Message-Id: <7063C01B-B8E1-4184-97B3-44E0DEA8482F@wellesley.edu>
Date: Mon, 31 Aug 2015 23:07:26 -0400
To: geda-help AT delorie DOT com
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
X-Mailer: Apple Mail (2.1878.6)
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t8137blZ005895
Reply-To: geda-help AT delorie DOT com

Hi,

I’m on a Mac (10.9 Mavericks).  I was hoping to install pcb via homebrew, but there is currently a problem with the homebrew version [1], so in the meantime, I'm trying to compile pcb from source (version 20140316).  

Originally, when I ran the configure script (with no flags), it halted with:

  checking for GL/gl.h…  yes
  checking for OpenGL/gl.h…  yes
  checking for OpenGL library... no
  configure: error: in `/Users/jbattat/gedaGIT/pcb':
  configure: error: OpenGL is required.

Then, following a suggestion at [2], I tried:

$ ./configure CPPFLAGS="-I/usr/X11/include" LDFLAGS="-framework OpenGL -L/usr/X11/lib”

and the configure script completed successfully.

However, make then fails with several errors like this:
...
hid/common/hidgl.c:644:49: error: use of undeclared identifier '_GLUfuncptr'
  gluTessCallback(info.tobj, GLU_TESS_BEGIN,   (_GLUfuncptr)myBegin);
…

Any advice on how to properly build pcb on OS X 10.9?

Thank you,
— James

[1] https://github.com/Homebrew/homebrew-x11/issues/120
[2] http://www.delorie.com/archives/raw.cgi?p=geda-user/2011/10/01/18:08:55


- Raw text -


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