Re: gEDA-user: minipack-result -- gschem

2011-05-13 Thread Duncan Drennan
>> By the way, should the lines of the config files be terminated unix style,
>> or DOS style?
>
> Doesn't make any difference either way.

I did recently pick up a bug with gschem's postscript output and EOL
characters which I must report on launchpad (not related to config
files).

It seems that if there are DOS style newlines in text in the schematic
file, then the postscript output writes a single long line instead of
the multi-line text. If the EOL character is Unix style there are no
problems. gschem handles and displays it correctly, the problem is
only in the postscript output.


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: minipack-result -- gschem

2011-05-13 Thread Duncan Drennan
> Next step: How do I configure gschem to find my local library?
> On my linux box I have these lines in ~/.gEDA/gafrc :

Look in C:\Users\username\.gEDA

I have my gafrc and gschemrc in there. In gafrc I use the following line,

(component-library-search "d:/Projects/sym")

i.e. / works perfectly well (as per Peter's reply)


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: minipack-result -- gschem

2011-05-12 Thread Peter TB Brett
On Thursday 12 May 2011 17:06:01 Kai-Martin Knaak wrote:
> [snip]
>
> Now I get a decent gschem GUI :-)

Great!

> [snip]
>
> What would be the HOME in windows. Or alternatively, how would I give
> a full windows path that includes backslashes and the drive letter?

Just like that, I think (you may need to write "\" as "\\", but note that it 
is actually valid to use "/" characters in a Windows path). The build-path 
Scheme function is (intentionally) portable.

> By the way, should the lines of the config files be terminated unix style,
> or DOS style?

Doesn't make any difference either way.

Peter

-- 
Peter Brett 
Remote Sensing Research Group
Surrey Space Centre



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: minipack-result -- gschem

2011-05-12 Thread Kai-Martin Knaak
Duncan Drennan wrote:

> I have the following environment variables set in Windows Vista,
> 
> GEDABIN=D:\Program Files\gEDA\bin
> GEDADATA=D:\Program Files\gEDA\share\gEDA
> GUILE_LOAD_PATH=D:\Program Files\gEDA\share\guile\1.8
> 
Thanks!
Now I get a decent gschem GUI :-)
Next step: How do I configure gschem to find my local library?
On my linux box I have these lines in ~/.gEDA/gafrc :

--
; Allow to source symbols from the current working directory
(component-library ".")
; Allow to source symbols from the loacl repository
(define symbolspath (build-path (getenv "HOME") "geda" "symbols"))
(component-library (build-path symbolspath "titleblock"))
(component-library (build-path symbolspath "power"))
(component-library (build-path symbolspath "misc"))
...
---

What would be the HOME in windows. Or alternatively, how would I give 
a full windows path that includes backslashes and the drive letter? 

By the way, should the lines of the config files be terminated unix style, 
or DOS style?

---<)kaimartin(>---
-- 
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



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: minipack-result -- gschem

2011-05-11 Thread Duncan Drennan
> Okay, the problem is definitely with Guile rather than gschem. Please make
> sure that you have its paths set up correctly so that it can find its
> Scheme library.

I have the following environment variables set in Windows Vista,

GEDABIN=D:\Program Files\gEDA\bin
GEDADATA=D:\Program Files\gEDA\share\gEDA
GUILE_LOAD_PATH=D:\Program Files\gEDA\share\guile\1.8

I also have D:\Program Files\gEDA\bin in the PATH variable.


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: minipack-result -- gschem

2011-05-11 Thread Peter TB Brett
On Wed, 11 May 2011 19:08:07 +0200, Kai-Martin Knaak
 wrote:
> Peter TB Brett wrote:
> 
>> boot-9.scm is part of Guile (it's the master Scheme script needed to
>> initialise the interpreter). Guile may not be installed correctly.  Try
>> running 'guile' and see if you get to a prompt.
> 
> I get the same result:
> 
> C:\Programme\result\bin>guile.exe
> ERROR: In procedure primitive-load-path:
> ERROR: Unable to find file "ice-9/boot-9.scm" in load path

Okay, the problem is definitely with Guile rather than gschem. Please make
sure that you have its paths set up correctly so that it can find its
Scheme library.

Peter

-- 
Peter Brett 
Remote Sensing Research Group
Surrey Space Centre


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: minipack-result -- gschem

2011-05-11 Thread Kai-Martin Knaak
Peter TB Brett wrote:

> boot-9.scm is part of Guile (it's the master Scheme script needed to
> initialise the interpreter). Guile may not be installed correctly.  Try
> running 'guile' and see if you get to a prompt.

I get the same result:

C:\Programme\result\bin>guile.exe
ERROR: In procedure primitive-load-path:
ERROR: Unable to find file "ice-9/boot-9.scm" in load path

---<)kaimartin(>---
-- 
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



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: minipack-result -- gschem

2011-05-11 Thread Peter TB Brett
On Wed, 11 May 2011 18:31:35 +0200, Kai-Martin Knaak
 wrote:
> Kai-Martin Knaak wrote:
> 
>> -minipack-gschem-with-winXP-in-Virtualbox--
>> C:\Programme\result\bin>gschem.exe
>> ERROR: In procedure primitive-load-path:
>> ERROR: Unable to find file "ice-9/boot-9.scm" in load path
> 

boot-9.scm is part of Guile (it's the master Scheme script needed to
initialise the interpreter). Guile may not be installed correctly.  Try
running 'guile' and see if you get to a prompt.

Peter

-- 
Peter Brett 
Remote Sensing Research Group
Surrey Space Centre


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: minipack-result -- gschem

2011-05-11 Thread Kai-Martin Knaak
Kai-Martin Knaak wrote:

> -minipack-gschem-with-winXP-in-Virtualbox--
> C:\Programme\result\bin>gschem.exe
> ERROR: In procedure primitive-load-path:
> ERROR: Unable to find file "ice-9/boot-9.scm" in load path

I forgot to mention that the binary just dies after this. No GUI, no help 
lines when the option --help or /h is given.

---<)kaiamrtin(>---
-- 
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



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user