Page 1 of 1

make on AIX 5.3

Posted: Wed Mar 14, 2007 8:13 am
by duszyk
Hi,

anybody compiled NewLisp on AIX 5.3? I executed "make install" and got a bunch of errors. Any advice will be appriciated.

epcprds1:/root/lisp/newlisp-9.1.0>make install
install -d /usr/share/doc/newlisp
getopt: Not a recognized flag: d
Usage: install [-c DirectoryA] [-f DirectoryB] [-i] [-m] [-M Mode] [-O Owner]
[-G Group] [-S] [-n DirectoryC] [-o] [-s] File [DirectoryX ...]
make: 1254-004 The error code from the last command is 2.
make: 1254-005 Ignored error code 2 from last command.
install -d /usr/share/newlisp/newlisp-tk/images
getopt: Not a recognized flag: d
Usage: install [-c DirectoryA] [-f DirectoryB] [-i] [-m] [-M Mode] [-O Owner]
[-G Group] [-S] [-n DirectoryC] [-o] [-s] File [DirectoryX ...]
make: 1254-004 The error code from the last command is 2.
make: 1254-005 Ignored error code 2 from last command.
install -m 755 newlisp /usr/bin/newlisp
install: 0653-233 File 755 was not found.
make: 1254-004 The error code from the last command is 2.
make: 1254-005 Ignored error code 2 from last command.
install -m 755 newlisp-tk/newlisp-tk.tcl /usr/bin/newlisp-tk
install: 0653-233 File 755 was not found.
make: 1254-004 The error code from the last command is 2.
make: 1254-005 Ignored error code 2 from last command.
install -m 755 examples/newlispdoc /usr/bin/newlispdoc
install: 0653-233 File 755 was not found.
make: 1254-004 The error code from the last command is 2.
make: 1254-005 Ignored error code 2 from last command.
install -m 644 init.lsp.example /usr/share/newlisp/init.lsp.example
install: 0653-233 File 644 was not found.


Thanks,

Mark

Posted: Wed Mar 14, 2007 8:19 am
by newdep
Hi mark,

The make command is linked to the makefile,
I think you better try a compile step by step as AIX structure is not included
in the makefile.

Regards, Norman.

Posted: Wed Mar 14, 2007 2:32 pm
by Lutz
Use one of the makefiles explicitely for example:

Code: Select all

make -f makefile_solaris
this compiles a newlisp executable. Then just copy this to /usr/bin/newlisp

no other installations are required. You find documentation in the newlisp-x.x.x/doc directory.

Lutz

Re: make on AIX 5.3

Posted: Thu Oct 31, 2013 1:27 am
by steloflute

Code: Select all

make -f makefile_aixLP64_utf8_gcc

./newlisp
newLISP v.10.5.4 64-bit on AIX IPv4/6 UTF-8, options: newlisp -h

> (+ 1 2)
3