X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Injected-Via-Gmane: http://gmane.org/ To: geda-user AT delorie DOT com From: Kai-Martin Knaak Subject: [geda-user] geda for windows -- mxe attempt Date: Thu, 15 May 2014 15:23:52 +0200 Organization: Institut =?UTF-8?B?ZsO8cg==?= Quantenoptik Lines: 111 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Complaints-To: usenet AT ger DOT gmane DOT org X-Gmane-NNTP-Posting-Host: bibo.iqo.uni-hannover.de User-Agent: KNode/4.12.4 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s4FDOAcn027873 Reply-To: geda-user AT delorie DOT com Hi. Today, I poked again at the cross compile of the geda tools with mxe. As reported a few weeks ago, pcb works out of the box -- gschem not so much. The binary starts. But it fails to load the init scm file. There seems to be a problem with "/" and "\". According to the log gschem looks for C:\Programme\gEDA\share\gEDA\scheme/gschem.scm The file is at this path. So I guess, the slash is the culprit. The log shows more paths with spurious slashes. Is there an obvious place to fix the paths? ---<)kaimartin(>--- PS: gschem log: /------------------------------------------- gEDA/gschem version 1.9.1.20140308 gEDA/gschem comes with ABSOLUTELY NO WARRANTY; see COPYING for more details. This is free software, and you are welcome to redistribute it under certain conditions; please see the COPYING file for more details. ERROR: In procedure dynamic-link: ERROR: file: "libguile-srfi-srfi-1-v-3", message: "Das angegebene Modul wurde nicht gefunden." Failed to read init scm file [C: \Programme\gEDA\share\gEDA\scheme/gschem.scm] Backtrace: In unknown file: ?: 19 (let* (# # # #) (resolve-module dir-hint-module-name #f) (and # #)) ... ?: 20 (letrec ((load-file #)) (dynamic-wind (lambda () #) (lambda () #) ...) ...) ?: 21* [dynamic-wind # # #] ?: 22* [#] ?: 23* (let* ((file #)) (cond (# => #) (# => #))) ?: 24 [# "C: \\Programme\\gEDA\\share\\gEDA\\scheme/geda/os.scm"] ?: 25 [with-fluid* # #f #] ?: 26* [#] ?: 27* [load-file # ...] ?: 28* [save-module-excursion #] ?: 29 (let (# #) (dynamic-wind # thunk #)) ?: 30 [dynamic-wind # # #] ?: 31* [#] ?: 32* [primitive-load "C: \\Programme\\gEDA\\share\\gEDA\\scheme/geda/os.scm"] In C:\Programme\gEDA\share\gEDA\scheme/geda/os.scm: 34: 33* (define-public separator-char (if (platform? #) #\\ #\/)) 34: 34 (begin (define-private separator-char (if # #\\ #\/)) (eval-case (# #))) In unknown file: ?: 35* (define-private separator-char (if (platform? #) #\\ #\/)) In C:\Programme\gEDA\share\gEDA\scheme/geda/os.scm: 35: 36* (if (platform? (quote win32-native)) #\\ #\/) 35: 37* [platform? win32-native] 32: 38 (member x (platform)) ERROR: Unbound variable: member ERROR: Failed to load RC file [c:\programme\geda\share\geda\system-gafrc]: Unbound variable: member Backtrace: In c:\dokumente und einstellungen\kmk\.geda\gafrc: 8: 0* (define symbolspath (build-path "C:" "Programme" ...)) 8: 1* (build-path "C:" "Programme" ...) ERROR: Unbound variable: build-path ERROR: Failed to load RC file [c:\dokumente und einstellungen\kmk\.geda\gafrc]: Unbound variable: build-path Backtrace: In c:\programme\geda\share\geda\system-gschemrc: 27: 0* (color-map-make-friendly display-color-map) ERROR: Unbound variable: color-map-make-friendly ERROR: Failed to load RC file [c:\programme\geda\share\geda\system- gschemrc]: Unbound variable: color-map-make-friendly Loaded RC file [c:\dokumente und einstellungen\kmk\.geda\gschemrc] New file [C:\Programme\gEDA\bin\untitled_1.sch] -- Kai-Martin Knaak tel: +49-511-762-2895 Universität Hannover, Inst. für Quantenoptik fax: +49-511-762-2211 Welfengarten 1, 30167 Hannover http://www.iqo.uni-hannover.de GPG key: http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmk&op=get