Benoit Lecocq wrote:
> 
> Hi,
> 
> I try to compile gforth 0.7.0 on OpenBSD-current but I obtain the
> following message :
> 
> ...
>     forth-switch-to-interactive, forth-send-buffer
> Wrote /usr/ports/lang/gforth.new/w-gforth-0.7.0/gforth-0.7.0/gforth.elc
> Done
> rm -rf lib/gforth/0.7.0/libcc-named/
> for i in cstr.fs unix/socket.fs; do ./gforth -e "s\"
> `pwd`/lib/gforth/0.7.0/libcc-named/\" libcc-named-dir-v 2! libcc-path
> clear-path libcc-named-dir libcc-path also-path :noname 2drop s\"
> /usr/local/lib/gforth/libcc-named/\" ; is replace-rpath" ./$i -e bye; done
> 
> libltdl is not configured
> in file included from *OS command line*:-1
> cstr.fs:23: open-lib failed
> >>> >>>end-c-library<<<
> Backtrace:
> $209512990 throw
> $20954E7C8 c(abort")
> $20954F078 compile-wrapper-function1
> *** Error code 1
> 
> Stop in /usr/ports/lang/gforth.new/w-gforth-0.7.0/gforth-0.7.0 (line 648
> of Makefile).
> *** Error code 1
> 
> any idea ?

It looks like you have libtool, but not libltdl.  My recommendation is
to install libltdl, as this will give you the libcc C interface.  The
alternative is to just delete "build-libcc-named" from the following
line in Makefile:

more:   $(ENGINES) $(FORTH_GEN) $(GEN) build-libcc-named

and do another "make".

- anton

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to