[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: gnetlist: ERROR: Unbound variable: primitive-fork



On Mon, Apr 12, 2004 at 06:11:51PM -0400, Dan McMahill wrote:
> > and, possibly more surprising, I get an error message when querying the load
> > path:
> > : guile> (%load-path)
> > : standard input:1:1: In expression (%load-path):
> > : standard input:1:1: Wrong type to apply: ("/home/berni/guile-1.6.4/" "/usr/share/guile/site" "/usr/share/guile/1.6" "/usr/share/guile" ".")
> > : ABORT: (misc-error)
> > : 
> > : Type "(backtrace)" to get more information or "(debug)" to enter the debugger.
> > 
> > Could this "wrong type to apply" be related to the "primitive-fork" error??
> > 
> 
> nope.  Its because you tried to use %load-path as an operator or function.
> (+ 3 2) means "apply + to the arguments 3 and 2".  (%load-path) means "apply
> %load-path with no arguments" but %load-path is simply a list, not a function
> or operator.

Makes a lot of sense .. after you explain it :-)

> I think
>   
>   (display %load-path)

Yes.

> 
> is closer to what you wanted.
> 
> Just for kicks, if you do 'make check' in your guile-1.6.4, does it fail
> any self tests?  

Instead of make check I had run ./check-guile directly and it reported no
unexpected errors.