Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| howtos:install_gschem_on_s11 [2015/12/28 09:26] – [Missing locale.h header file] admin | howtos:install_gschem_on_s11 [2026/10/25 19:30] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| Since I wanted to build pcb with documentation which requires LaTeX, I had to deploy LaTeX first. It was in fact straightforward, | Since I wanted to build pcb with documentation which requires LaTeX, I had to deploy LaTeX first. It was in fact straightforward, | ||
| And since I wanted to build with [[http:// | And since I wanted to build with [[http:// | ||
| - | ===== Installation | + | ===== Deploy |
| * obtain the latest bits from Git repository | * obtain the latest bits from Git repository | ||
| < | < | ||
| $ git clone git:// | $ git clone git:// | ||
| </ | </ | ||
| - | * compile | + | * build and install |
| < | < | ||
| $ cd pcb-git | $ cd pcb-git | ||
| Line 22: | Line 22: | ||
| $ sudo make install | $ sudo make install | ||
| </ | </ | ||
| + | ===== Deploy from tarball, version 4.0.0 ===== | ||
| + | * download the tarball | ||
| + | < | ||
| + | $ wget https:// | ||
| + | $ tar xvpf pcb-4.0.0.tar.gz | ||
| + | </ | ||
| + | * minor tweaks required to build with Oracle Solaris Studio (version 12.4) | ||
| + | < | ||
| + | $ diff -u pcb-4.0.0-orig/ | ||
| + | --- pcb-4.0.0-orig/ | ||
| + | +++ pcb-4.0.0/ | ||
| + | @@ -177,7 +177,7 @@ | ||
| + | # | ||
| + | BoxType | ||
| + | long int ID; \ | ||
| + | - | ||
| + | + | ||
| + | // struct LibraryEntryType *net | ||
| + | |||
| + | /* Lines, pads, and rats all use this so they can be cross-cast. | ||
| + | |||
| + | $ diff -u pcb-4.0.0-orig/ | ||
| + | --- pcb-4.0.0-orig/ | ||
| + | +++ pcb-4.0.0/ | ||
| + | @@ -31,10 +31,10 @@ | ||
| + | # | ||
| + | # | ||
| + | |||
| + | -unsigned int string_to_layertype (const char *typestring, | ||
| + | +LayertypeType string_to_layertype (const char *typestring, | ||
| + | int (*error) (const char *msg)); | ||
| + | -const char *layertype_to_string (unsigned int type); | ||
| + | -unsigned int guess_layertype (const char *name, | ||
| + | +const char *layertype_to_string (LayertypeType type); | ||
| + | +LayertypeType guess_layertype (const char *name, | ||
| + | int layer_number, | ||
| + | | ||
| + | </ | ||
| + | * build and install (built 64-bit on s11u3sru16 with Oracle Solaris Studio 12.4) | ||
| + | < | ||
| + | $ cd pcb-4.0.0 | ||
| + | $ export PATH=/ | ||
| + | $ CC=/ | ||
| + | $ make | ||
| + | $ sudo make install | ||
| + | </ | ||
| + | |||
| ===== Gotchas ===== | ===== Gotchas ===== | ||
| - | ==== Missing locale.h header file ==== | + | ==== Missing locale.h header file (fixed in pcb 4.0.0) |
| Compilation fails, since following files are missing < | Compilation fails, since following files are missing < | ||
| < | < | ||
