delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2016/02/08/10:12:07

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=subject:to:references:from:message-id:date:user-agent:mime-version
:in-reply-to:content-type:content-transfer-encoding;
bh=i2B/A3ltyNmc5ykpYEymXTAuxZlea421xIkUrdMb5W0=;
b=wtCw9udMmiqBUd7N2Q6mJk0HwhgRCkHtBCGb3mewUSciWbTTv9bDqwS2WQ6Wo4n9l7
ealo+rdUbiHU2NDfqJCF0VAbNXWqQTxGrWRMHBy8tX53N2JXoobTySfJ5L/5pBEaxbsr
SJzqJisUB9BoAiT6N4ge6sdd00akoc0w6TM7FMqc7TSdhuJXPgtJn/G7jY4q+OFRqe66
QkJ4eLKpznh648xbpYV1dJfWp5qv9cer6X+8sdRaCty/IMIpKqKePdySkDjoOOfwaBZO
iTAgJfyLVq2dcILGmUxrh316N/wqDcbdv9Lkx7HOnojRQS0KAhFGK7985lix8Sgg8a/d
cvkg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:subject:to:references:from:message-id:date
:user-agent:mime-version:in-reply-to:content-type
:content-transfer-encoding;
bh=i2B/A3ltyNmc5ykpYEymXTAuxZlea421xIkUrdMb5W0=;
b=bJl87BXiuzAdYFg1crYB5jwA+F1hG0hN1UVF3PoLUILblI2QbW/gvcpNRhwgYsxI3X
g8t0C+p+WMmIt0Xb+wgLqcBkfarAS45scKG5mGx2qdqNk3cIoalYXT89R6R3Hq6xqQ6y
V96zujIoxdTt13WVeAFv8dEII8bX23DS0H2tf1PtjcuUqUT1vst6+vhbLFTlyN64SSBz
tf7n24qbPsGuoMF4mt0D6TcLI+3w4AcYxRdooXcQJzOBTStFnPwUqo6XsXV/a3UoPWL1
z+hY/gDlyMCzGpxvga4e7e6Z1n9+ZySWI3kfOgTkOHIQOHGq5Yz9v3Pcj+d5AB2+Z1So
P/Vg==
X-Gm-Message-State: AG10YOSpyCCOxQmxR/q2iqu3EvqN96qvjPQ7Q/PUekO+90N0A6w2l3LNL+AhQBqQhwU1WQ==
X-Received: by 10.98.80.80 with SMTP id e77mr42908273pfb.126.1454944280699;
Mon, 08 Feb 2016 07:11:20 -0800 (PST)
Subject: Re: [geda-user] Mac OSX Support for pcb
To: geda-user AT delorie DOT com
References: <CAJZxidB+XPopvZoV5hn9Mga0tP=x2jkqd2d4rn-8y=+8g_tZFQ AT mail DOT gmail DOT com>
From: "Charles Repetti (charlie94965 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Message-ID: <56B8B015.8080505@gmail.com>
Date: Mon, 8 Feb 2016 07:11:17 -0800
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0)
Gecko/20100101 Thunderbird/38.5.1
MIME-Version: 1.0
In-Reply-To: <CAJZxidB+XPopvZoV5hn9Mga0tP=x2jkqd2d4rn-8y=+8g_tZFQ@mail.gmail.com>
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

Here's my mac build script, FWIW:

# PCB build script by charlie for the Mac

# "sed" will report an illegal character sequence unless this environment
# variable is set
LANG=C

# for Tex to run, though, type make after this script so that
# the language variable has the default setting, and the
# build will have piecemeal succeeded.

# The path for this script excludes anything from fink
PATH=/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin
CPATH='/opt/local/include'
CFLAGS='-pipe -Os -arch x86_64'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.8'
LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64'
OBJC='/usr/bin/clang'
OBJCFLAGS='-pipe -Os -arch x86_64' FFLAGS='-pipe -Os -m64'
CC='/usr/bin/clang'

# MacPorts is missing the "texlive-latex" depedency, so the
# script seems to work (since it doesn't need to buld pcb.pdf)
# but if "make clean" is done then the next build fails.
#
#depends_build       port:intltool \
#                    port:pkgconfig
#                                         port:texlive-latex
#depends_run         bin:wish:tk
#depends_lib         port:gtk2 \
#                    port:gtkglext \
#                    port:gd2 \
#                    port:dbus \
#                    port:mesa

#rename pcb's builtin gts library so it won't conflict with port
cp ./gts/gts.h ./gts/gts_pcb.h
sed -i -e 's/gts.h/gts_pcb.h/'  ./gts/Makefile.in
sed -i -e 's/gts.h/gts_pcb.h/'  ./src/toporouter.h
sed -i -e 's/gts.a/gts_pcb.a/g' ./gts/Makefile.in
sed -i -e 's/gts.a/gts_pcb.a/g' ./src/Makefile.in

sed -i -e \
"s/ax_check_gl_dylib_flag=\'-d/ax_check_gl_dylib_flag=\'-L\/opt\/local\/lib 
-lGL -d/" \
   ./configure

make clean

./configure --libdir=/opt/local/lib \
             --includedir=/opt/local/include \
             --mandir=$/opt/local/share/man \
             --infodir=/opt/local/share/info \
             --disable-update-desktop-database \
             --enable-dbus \
             --disable-update-mime-database

# Include file "gl.h" over "OpenGL.h" in "./src/common/hid/hidgl.c"
sed -i -e 's/\#define HAVE_OPENGL_GL_H 1//' ./config.h
sed -i -e 's/\#define HAVE_OPENGL_GLU_H 1//' ./config.h

make


On 2/4/16 7:10 PM, Chad Parker (parker DOT charles AT gmail DOT com) [via 
geda-user AT delorie DOT com] wrote:
> Are you guys at all interested in bugs in pcb on the Macs?
>
> I have a MacBook Pro for work, and I thought I'd give it a shot 
> compiling and running on that machine. There were a few build problems 
> (most of which I've overcome) and I think I've spotted a few bugs 
> (which I haven't solved).
>
> I don't know how many mac users of pcb there are out there, but if 
> it's something folks think they want to keep up, then I'll file some 
> bug reports.
>
> --Chad

- Raw text -


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