in principle it is possible to install clisp on HP-UX. But I had some problems.
You have to configure with --without-dynamic-module. Otherwise you get an error later.
You could put this as a note in unix/PLATFORMS.
unix/PLATFORM says, you should be able to compile clisp with "cc -Aa -z -D_HPUX_SOURCE"
But at least you would need -Ae instead of -Aa. And even then you get either a undefined symbol divu_6432_3232_.
(There was a mail in the mailing list about that). But much more success you have with gcc,
which is fine for me.
In the makemake (clisp-4.49was a match of hpux9* and hpux10*, but not hpux11, but this seems to be fixed in the CVS version.
In the Makefile there is a line
m=`cd ../modules/$@; pwd`; \
unfortunatly it doesn't work on HP-UX. (maybe the string contains a newline or so. it seems to be good, but I can't
do an `ls $m')
I replaced it by
m=$(realpath ../modules/$@) ; \ because I have GNU make here and I changed the next line to
if test -f $$m/configure -a \( ! -f $@/config.status -o $$m/configure -nt $@/config.status \); then ( cd $@ ; $(RMRF) gllib;\
(This was also needed with make SHELL=bash. Is my bash 2.04 too old?).
With ffcall installed, i get this error (CVS Version):
subrkw.d: In function 'init_subr_tab_2':
subrkw.d:219: error: 'struct symbol_tab_' has no member named 'S_Krequire'
subrkw.d:220: error: 'struct subr_tab_' has no member named 'D_open_foreign_library'
So I configured with --without-ffcall
I ignored this warning
time.d:565: warning: integer overflow in expression
The last problem (solved with #if 0)
.../clisp/src/gllib/sys/socket.h:398: error: redefinition of 'struct sockaddr_storage'
and then finally:
i i i i i i i ooooo o ooooooo ooooo ooooo
I I I I I I I 8 8 8 8 8 o 8 8
I \ `+' / I 8 8 8 8 8 8
\ `-+-' / 8 8 8 ooooo 8oooo
`-__|__-' 8 8 8 8 8
| 8 o 8 8 o 8 8
------+------ ooooo 8oooooo ooo8ooo ooooo 8
Welcome to GNU CLISP 2.49+ (2010-07-17) <http://clisp.cons.org/>
Log in to post a comment.