This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Guile/regexp SIGSEGV problem on solaris 2.4


>>>>> "Christian" == Christian Lynbech <chl@tbit.dk> writes:

    Christian> I have some really strange problems with guile, when I
    Christian> compile it under PC solaris 2.4.

    Christian> We have several version of solaris in the house, so the
    Christian> standard procedure has been to compile on a 2.4 system,
    Christian> so that all system could use the results. But with
    Christian> guile, I have big problems.

    Christian> The manifestation of the problem is that if I evaluate:

    Christian>         (apropos 'case)

    Christian> guile goes into a tight infinite loop, doing stuff
    Christian> like:

It seems that regexp is broken on some Solaris. I use the one
from guile-rgx-ctax. A warning: this cannot be installed as
it is in the current interpreter.
How to do it:
1) compile by hand the file regex.c in the rgx (or regex ?; do not
remember) sub-directory
2) add the resulting regex.o (regex.lo) in the Makefile linking the guile
interpreter, just after regex-posix.o (regex-posix.lo)
3) Relink your guile interpreter: the Solaris regexp will not be used.

B. Urban