make on AIX 5.3

Started by duszyk, March 14, 2007, 01:13:22 AM

Previous topic - Next topic

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

newdep

#1
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.
-- (define? (Cornflakes))

Lutz

#2
Use one of the makefiles explicitely for example:


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

steloflute

#3

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