Skip to content

Instantly share code, notes, and snippets.

@jgriessen
jgriessen / gist:64774b6933483f44db45a96677d9b6d5
Created September 2, 2018 15:25
compile gnucash-3.2 from tarball on debian buster
cmake -D CMAKE_INSTALL_PREFIX=/home/john/gnucash-3.2 ../gnucash-3.2
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
@jgriessen
jgriessen / gist:5929128a744654944753d5f1e88d5abe
Created April 18, 2018 16:22
gimp 2.10 RC2 ../configure --prefix=/usr/local/gimp
../configure --prefix=/usr/local/gimp
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
@jgriessen
jgriessen / gist:992b58559006b1b0e13328edd123b238
Created April 17, 2018 18:34
gimp2-10rc configure run from build dir
[buildlinux]../configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
@jgriessen
jgriessen / pcb-menu-gtk-partial.lht
Created December 30, 2017 17:51
pcb-menu-gtk-partial.lht
ha:{
li:mouse {
li:left {
li:press = { Mode(Notify) }
li:press-shift = { Mode(Notify) }
li:press-ctrl = { Mode(Save); Mode(None); Mode(Restore); Mode(Notify) }
li:press-shift-ctrl = { Mode(Save); Mode(Remove); Mode(Notify); Mode(Restore) }
li:release = { Mode(Release) }
li:release-shift = { Mode(Release) }
li:release-ctrl = { Mode(Release) }
@jgriessen
jgriessen / pcb-rnd-valgrind-leak-check-3.log
Created December 16, 2017 15:38
valgrind --leak-check=full --show-reachable=yes --log-file=pcb-rnd-valgrind-leak-check-3.log pcb-rnd then stop by GUI quit
This file has been truncated, but you can view the full file.
==31252== Memcheck, a memory error detector
==31252== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==31252== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==31252== Command: pcb-rnd
==31252== Parent PID: 2058
==31252==
==31252== Invalid write of size 8
==31252== at 0x3CCBBB: post_ids_assign (read.c:1461)
==31252== by 0x3CD5B9: parse_board (read.c:1651)
==31252== by 0x3CD7D8: io_lihata_parse_pcb (read.c:1697)
@jgriessen
jgriessen / pcb-rnd-valgrind-leak-check.log
Last active December 16, 2017 15:20
pcb-rnd-valgrind-leak-check 2 valgrind --leak-check=full --show-reachable=yes --log-file=pcb-rnd-valgrind-leak-check.log pcb-rnd
==31252== Memcheck, a memory error detector
==31252== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==31252== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==31252== Command: pcb-rnd
==31252== Parent PID: 2058
==31252==
==31252== Invalid write of size 8
==31252== at 0x3CCBBB: post_ids_assign (read.c:1461)
==31252== by 0x3CD5B9: parse_board (read.c:1651)
==31252== by 0x3CD7D8: io_lihata_parse_pcb (read.c:1697)
@jgriessen
jgriessen / pcb-rnd-valgrind-leak-check.log
Last active December 16, 2017 15:22
pcb-rnd-valgrind-leak-check no 1 valgrind --leak-check=yes --log-file=pcb-rnd-valgrind-leak-check.log pcb-rnd stopped with GUI close button.
==28342== Memcheck, a memory error detector
==28342== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==28342== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==28342== Command: pcb-rnd
==28342== Parent PID: 2058
==28342==
==28342== Invalid write of size 8
==28342== at 0x3CCBBB: post_ids_assign (read.c:1461)
==28342== by 0x3CD5B9: parse_board (read.c:1651)
==28342== by 0x3CD7D8: io_lihata_parse_pcb (read.c:1697)
Element["" "IC" "U1" "" 0.0mm 0.0mm -2.275mm 2.25mm 0 100 ""]
(
Pad[-1.575mm -0.95mm -1.125mm -0.95mm 0.6mm 0.5mm 0.74mm "1" "1" "square"]
Pad[-1.575mm 0.0mm -1.125mm 0.0mm 0.6mm 0.5mm 0.74mm "2" "2" "square"]
Pad[-1.575mm 0.95mm -1.125mm 0.95mm 0.6mm 0.5mm 0.74mm "3" "3" "square"]
Pad[1.125mm 0.95mm 1.575mm 0.95mm 0.6mm 0.5mm 0.74mm "4" "4" "square"]
Pad[1.125mm -0.95mm 1.575mm -0.95mm 0.6mm 0.5mm 0.74mm "5" "5" "square"]
ElementLine[-1.975mm -1.85mm 2.275mm -1.85mm 0.3mm]
ElementLine[2.275mm -1.85mm 2.275mm 1.85mm 0.3mm]
john@toolbench64 [trunk]./configure --debug --buildin-diag --prefix=/usr/local --buildin-export_bom --buildin-hid_gtk2_gl > configure.txt
*** Error in `./configure': malloc(): memory corruption: 0x0000560538d93940 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x70bfb)[0x7f3919d01bfb]
/lib/x86_64-linux-gnu/libc.so.6(+0x76fc6)[0x7f3919d07fc6]
/lib/x86_64-linux-gnu/libc.so.6(+0x79089)[0x7f3919d0a089]
/lib/x86_64-linux-gnu/libc.so.6(__libc_malloc+0x54)[0x7f3919d0bf64]
./configure(+0x18701)[0x56053756d701]
./configure(+0x194f7)[0x56053756e4f7]
make: Nothing to be done for 'all'.
Executing lib table: buildin-diag
Setting prefix to '/usr/local'
Executing lib table: buildin-export_bom
Executing lib table: buildin-hid_gtk2_gl
--- Detecting host
Looking for a shell... /bin/sh -c
Looking for a shell escape character... found: '\'
Detecting temp dir... validated /mosource/pcb-rnd/trunk/scconfig/
Checking for system type... OK (name: Linux; class: UNIX)