X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Mailer: exmh version 2.9.0 07/11/2018 (debian 1:2.9.0-1) with nmh-1.7.1 X-Exmh-Isig-CompType: comp X-Exmh-Isig-Folder: inbox From: "karl AT aspodata DOT se [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Subject: [geda-user] lepton-sch2pcb: wrong ${prefix} for pcb Mime-Version: 1.0 Content-Type: text/plain Message-Id: <20230319121903.84DEA8497641@turkos.aspodata.se> Date: Sun, 19 Mar 2023 13:19:03 +0100 (CET) X-Virus-Scanned: ClamAV using ClamSMTP Reply-To: geda-user AT delorie DOT com For: $ git branch -v * (HEAD detached at vzh/sch2pcb-rewrite-sch2pcb-add-elements-in-scheme) 60d7148f0 sch2pcb: Rewrite sch2pcb_add_elements() in Scheme. running lepton-sch2pcb doesn't find pcb's common.m4: $ lepton-sch2pcb styrkort.sch ... gsch2pcb backend configuration: ---------------------------------------- Variables which may be changed in gafrc: ---------------------------------------- gsch2pcb:pcb-m4-command: "/usr/bin/m4" gsch2pcb:pcb-m4-dir: "/usr/local/share/pcb/m4" gsch2pcb:pcb-m4-path: ("$HOME/.pcb" ".") gsch2pcb:m4-files: "" --------------------------------------------------- Variables which may be changed in the project file: --------------------------------------------------- gsch2pcb:use-m4: yes ---------------- M4 command line: ---------------- /usr/bin/m4 -d -I/usr/local/share/pcb/m4 -I$HOME/.pcb -I. /usr/local/share/pcb/m4/common.m4 - ===================================================== Using the m4 processor for pcb footprints /usr/bin/m4: cannot open `/usr/local/share/pcb/m4/common.m4': No such file or directory ... m4 is looing in the wrong place: $ ls -l /usr/share/pcb/m4/common.m4 -rw-r--r-- 1 root root 3718 Feb 3 2019 /usr/share/pcb/m4/common.m4 $ ls -l /usr/local/share/pcb/m4/common.m4 ls: cannot access '/usr/local/share/pcb/m4/common.m4': No such file or directory $ Can it be that configure assumes the same ${prefix} for both lepton and pcb: $ fgrep -C5 'result: ${prefix}/share/pcb/m4' config.log configure:19236: checking where to install Lepton shared data (LEPTONDATADIR) configure:19238: result: ${prefix}/share/lepton-eda configure:19275: checking where to look for PCB footprints configure:19287: result: ${prefix}/share/pcb configure:19292: checking where to look for PCB m4 footprints configure:19304: result: ${prefix}/share/pcb/m4 configure:19309: checking search path for PCB newlib footprints configure:19321: result: ${prefix}/share/pcb/pcblib-newlib:${prefix}/share/pcb/newlib configure:19329: checking liblepton shared library version configure:19331: result: 11:0:0 configure:19341: checking liblepton gettext domain $ Regards, /Karl Hammar