Tuesday, September 1, 2026

What You Need In Your WSL to Hack Xschem

 



┌────────────────────────────────────────────────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐

│                     group                      │                                                                   why                                                                    │

├────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤

│ build-essential pkg-config bison flex gawk     │ required by INSTALL; bison/flex regenerate expandlabel.c, eval_expr.c, parselabel.c                                                      │

├────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤

│ tcl-dev tk-dev                                 │ pulls 8.6.16 — inside the project's 8.4–8.6 window. Also gives you tclsh (runs the regression suites) and wish (the GUI gate panel)      │

├────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤

│ libx11-dev libxpm-dev                          │ required Xlib/Xpm                                                                                                                        │

├────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤

│ libcairo2-dev libxcb1-dev libx11-xcb-dev       │ the optional-but-standard rendering path (anti-aliased text)                                                                             │

│ libxrender-dev libxft-dev libfreetype-dev      │                                                                                                                                          │

├────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤

│ xvfb openbox x11-utils                         │ the persistent dev display. openbox is the one from issue 0645 whose absence silently made every WM measurement a bare-Xvfb measurement. │

│                                                │  x11-utils gives xdpyinfo/xprop/xwininfo/xlsclients, which devdisplay.sh and the window-mapping suites call directly                     │

├────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤

│ x11vnc                                         │ only for devdisplay.sh view — optional, but devdisplay.sh:341 dies with an install hint without it                                       │

├────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤

│ gdb valgrind                                   │ you asked; xschemtest.tcl -d 3 -l log also does allocation logging natively                                                              │

├────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤

│ ngspice verilator                              │ ~678 test references. Every use is auto_execok-guarded, so the ASE/cosim suites skip rather than fail without them — but skipping is     │

│                                                │ what silently hides a regression                                                                                                         │

└────────────────────────────────────────────────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘


 sudo apt install -y \

  build-essential pkg-config bison flex gawk \

  tcl-dev tk-dev libx11-dev libxpm-dev \

  libcairo2-dev libxcb1-dev libx11-xcb-dev libxrender-dev libxft-dev libfreetype-dev \

  xvfb openbox x11-utils x11vnc \

  gdb valgrind \

  ngspice verilator

No comments:

Post a Comment

Getting a Useful VcXsrv Crash Dump

Winner of the first Nobel Prize in Physics ❯ tell me how to do the VcXsrv shortcut that I currently have in my Startup folder so that we get...