Re: Where to install files?

2005-10-10 Thread Greg Troxel
I concur with most of your comments, but would like to make a metapoint: various OS/distributions/packaging systems have rules about what goes where, and guile should be such that it can be made to behave 'right' for these varying definitions of right. I think this is implicit in your comments, bu

Re: libguile on Windows

2005-10-10 Thread Dylan Nicholson
Thank you so much. Now I get Backtrace: In unknown file: ?: 0* [for-each # ... ?: 1* (list the-root-module the-scm-module) : In expression (list the-root-module the-scm-module): : Unbound variable: list Thought I knew what the problem was here, but no such luck... The line scm_c_define

Re: libguile on Windows

2005-10-10 Thread Neil Jerram
"Dylan Nicholson" <[EMAIL PROTECTED]> writes: > Thought I knew what the problem was here, but no such luck... > > The line > scm_c_define_gsubr (s_list, 0, 0, 1, (SCM (*)()) scm_list_copy); > > from list.x didn't compile at first, so I tried commenting it out, > then adding > static char s_list[]=

Re: libguile on Windows

2005-10-10 Thread Dylan Nicholson
.x files are attached. These are from the 1.6.x branch in CVS, so may not match your codebase exactly, but any discrepancies should be trivial to resolve - let me know if you need help with any such problems. Neil Thank you so much. Now I get Backtrace: In unknown file: ?: 0* [for-ea

Re: libguile on Windows

2005-10-10 Thread Neil Jerram
"Dylan Nicholson" <[EMAIL PROTECTED]> writes: > Sorry for the top-post, but now I'm pretty sure I know what the problem is. > > I wasn't sure how to create the .x files, so I simply created them all > as blank files! > Obviously this isn't right, so if anyone can send me the .x files, or > simple

Re: Where to install files?

2005-10-10 Thread Neil Jerram
Kevin Ryde <[EMAIL PROTECTED]> writes: > Neil Jerram <[EMAIL PROTECTED]> writes: >> >> Can someone tell me the Makefile.am incantations for determining where >> a package should install Scheme and Elisp files? > > For the lisp bits, AM_PATH_LISPDIR in configure.ac then > > dist_lisp_LISP = f

Re: libguile on Windows

2005-10-10 Thread Dylan Nicholson
Sorry for the top-post, but now I'm pretty sure I know what the problem is. I wasn't sure how to create the .x files, so I simply created them all as blank files! Obviously this isn't right, so if anyone can send me the .x files, or simple instructions on how to create them *without* any GNU to

Re: libguile on Windows

2005-10-10 Thread Dylan Nicholson
- Original Message - From: "Neil Jerram" <[EMAIL PROTECTED]> Can you hack the code somehow so that the debug and backtrace options are set: SCM_DEVAL_P = 1; SCM_BACKTRACE_P = 1; SCM_RESET_DEBUG_MODE; (This would have to be after the init functions for debug.c.) I just get Backtra

Re: libguile on Windows

2005-10-10 Thread Dylan Nicholson
- Original Message - From: "Neil Jerram" <[EMAIL PROTECTED]> To: "Dylan Nicholson" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, October 11, 2005 2:47 AM Subject: Re: libguile on Windows "Dylan Nicholson" <[EMAIL PROTECTED]> writes: Ok, I got guile 1.6.5 compiling and linking as a static l

Re: Where to install files?

2005-10-10 Thread Kevin Ryde
Neil Jerram <[EMAIL PROTECTED]> writes: > > Can someone tell me the Makefile.am incantations for determining where > a package should install Scheme and Elisp files? For the lisp bits, AM_PATH_LISPDIR in configure.ac then dist_lisp_LISP = foo.el or if you don't want it byte-compiled,

Where to install files?

2005-10-10 Thread Neil Jerram
Can someone tell me the Makefile.am incantations for determining where a package should install Scheme and Elisp files? Also, does it follow that if a package installs nothing other than Scheme and Elisp files, its own $prefix is meaningless? Thanks, Neil __

Re: libguile on Windows

2005-10-10 Thread Neil Jerram
"Dylan Nicholson" <[EMAIL PROTECTED]> writes: >> >> Dylan, >> >> Yes I do, but I'd recommend writing to guile-user@gnu.org instead of >> to me directly; I am far from being an expert on this subject. >> > > Ok, I got guile 1.6.5 compiling and linking as a static library under > MSVC 7.1, but if I

Re: Customize loading

2005-10-10 Thread Joris van der Hoeven
On Mon, Oct 10, 2005 at 05:16:10PM +0200, Ludovic Courtès wrote: > Joris van der Hoeven <[EMAIL PROTECTED]> writes: > > I have written my own code to load files using a disk cache. > > How can I tell guile that it should load all files and modules > > using my code instead of the standard routines?

Re: Customize loading

2005-10-10 Thread Ludovic Courtès
Hi, Joris van der Hoeven <[EMAIL PROTECTED]> writes: > I have written my own code to load files using a disk cache. > How can I tell guile that it should load all files and modules > using my code instead of the standard routines? By overriding `primitive-load': (set! primitive-load (lambda (

Re: libguile on Windows

2005-10-10 Thread Dylan Nicholson
Dylan, Yes I do, but I'd recommend writing to guile-user@gnu.org instead of to me directly; I am far from being an expert on this subject. Ok, I got guile 1.6.5 compiling and linking as a static library under MSVC 7.1, but if I try a simple (console) program that just calls scm_boot_guile(),

Customize loading

2005-10-10 Thread Joris van der Hoeven
Hi, I have written my own code to load files using a disk cache. How can I tell guile that it should load all files and modules using my code instead of the standard routines? Best wishes, Joris ___ Guile-user mailing list Guile-user@gnu.org http://li