This is an old revision of the document!


Install gschem on S11FCS

  • Download latest stable version of gschem from here.
  • Install necessary packages.
$ sudo pkg install gcc-45 guile
  • unpack sources into working directory
$ tar xvpf /data/Downloads/geda/geda-gaf-1.6.2.tar.gz
  • compile and install
$ cd geda-gaf-1.6.2
$ export PATH=/usr/gnu/bin:$PATH
$ ./configure
$ make
$ sudo make install
  • launch and enjoy
$ /usr/local/bin/gschem

Install pcb on S11FCS

  • Download latest stable version of pcb from here.
  • Install necessary packages.
$ sudo pkg install library/gd developer/macro/gnu-m4 text/gnu-gettext
  • unpack sources into working directory
$ tar xvzpf /data/Downloads/geda/pcb-20110918.tar.gz
  • Alternatively (if the goal is to compile from the latest sources available), pull directly from development git repository, install couple of additional packages and run ./autogen.sh.
$ git clone git://git.geda-project.org/pcb.git pcb-git
$ sudo pkg install developer/build/automake-111 developer/build/autoconf developer/parser/bison
$ cd pcb-git
$ ./autogen.sh
  • patch src/main.c. Add missing locale.h header file, as setlocale(3C) is consumed. Fixed by Dan McMahill in chset 8cbc19e5aa9572196f27d4e64db8337d80945803.
$ diff -u /tmp/pcb-20110918/src/main.c /data/Downloads/geda/pcb-20110918/src/main.c
--- /tmp/pcb-20110918/src/main.c	Sat Sep 17 23:29:29 2011
+++ /data/Downloads/geda/pcb-20110918/src/main.c	Mon Apr 16 22:46:16 2012
@@ -37,6 +37,7 @@
 #ifdef HAVE_STRING_H
 #include <string.h>
 #endif
+#include <locale.h>
 #include <signal.h>
 #include <unistd.h>
 #include <sys/stat.h>
  • compile and install
$ cd pcb-20110918/
$ export PATH=/usr/gnu/bin:$PATH
$ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --disable-gl
$ make
$ sudo make install
  • launch and enjoy
$ /usr/local/bin/pcb
  • '–enable-gl' requires GtkGLExt (OpenGL extension to GTK+). Version 1.2.0 can be downloaded from here.
  • unpack
$ tar xvpf ./gtkglext-1.2.0.tar.gz
  • compile and install (ends up in /usr/local/lib by default)
$ export PATH=/usr/gnu/bin:$PATH
$ ./configure
$ make
$ sudo make install

Install gerbv on S11FCS

  • Download latest stable version of gerbv from here.
  • unpack sources into working directory
$ tar xvpf /data/smb/public/Downloads/gEDA/gerbv-2.6.0.tar.gz 
  • apply necessary patch, so that gcc does not explode
$ diff -u /tmp/gerbv-2.6.0/src/gerbv.c ~/Downloads/geda/gerbv-2.6.0/src/gerbv.c
--- /tmp/gerbv-2.6.0/src/gerbv.c	Sat Nov 19 01:04:14 2011
+++ /home/dambi/Downloads/geda/gerbv-2.6.0/src/gerbv.c	Fri Jul 27 19:45:40 2012
@@ -79,6 +79,9 @@
 
 static int defaultColorIndex = 0;
 
+#undef	isnormal
+#define	isnormal(x)	__builtin_isnormal(x)
+
 /* ------------------------------------------------------------------ */
 static gerbv_layer_color defaultColors[NUMBER_OF_DEFAULT_COLORS] = {
 	{115,115,222,177},
  • compile and install
$ cd gerbv-2.6.0/
$ export PATH=/usr/gnu/bin:$PATH
$ ./configure
$ make
$ sudo make install
  • launch and enjoy
$ /usr/local/bin/gerbv
howtos/install_gschem_on_s11.1352823924.txt.gz · Last modified: 2013/02/02 11:21 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0