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

Re: gEDA-user: Problems running guile



Hi Bill,

[snip]
>Thanks for the link.  I guile-config --version returns 1.4.1.  I've got 
>the RH installation in /usr as you did, while the guile version I'm 
>trying to use is in /usr/local.  I've gotten the compile to work, but 
>the first function I call gets a segv.

	Did you do the following:

(taken from utils/gschlas/gschlas.c)

void
main_prog(int argc, char *argv[])
{
  ...
}

int 
main (int argc, char *argv[])
{
  /* disable the deprecated warnings in guile 1.6.3 */
  /* Eventually the warnings will need to be fixed */
  if(getenv("GUILE_WARN_DEPRECATED")==NULL)
    putenv("GUILE_WARN_DEPRECATED=no");
  
  gh_enter (argc, argv, main_prog);
  return 0;
}

to initalize the guile engine?

							-Ales