newlisp-tk on Mac OSX?

Started by jeremyc, February 21, 2007, 05:43:17 AM

Previous topic - Next topic

jeremyc

How do I do this? ./configure && make does not seem to do the trick for me.

Lutz

#1
what are you trying to do?



why not just install from the MacOSX installer?



the in a shell type: newlisp-tk



Lutz

jeremyc

#2
I thought the OSX installer was PPC? I'm on an intel mac.

Lutz

#3
Oh, I did not know. What happens if you do:


./configure


can you post the output of it?



Lutz

jeremyc

#4
$ ./configure



Discovered Darwin MacOS X with readline suport, enter:

     make

to make for MacOS X with readline support



$ make

./build



Discovered Darwin Mac OSX with readline suport:

make -f makefile_darwin

cc -L/usr/lib -Wall -O2 -I/usr/include -c -g -DREADLINE -DMAC_OSX newlisp.c

cc -L/usr/lib -Wall -O2 -I/usr/include -c -g -DREADLINE -DMAC_OSX nl-symbol.c

cc -L/usr/lib -Wall -O2 -I/usr/include -c -g -DREADLINE -DMAC_OSX nl-math.c

cc -L/usr/lib -Wall -O2 -I/usr/include -c -g -DREADLINE -DMAC_OSX nl-list.c

cc -L/usr/lib -Wall -O2 -I/usr/include -c -g -DREADLINE -DMAC_OSX nl-liststr.c

cc -L/usr/lib -Wall -O2 -I/usr/include -c -g -DREADLINE -DMAC_OSX nl-string.c

cc -L/usr/lib -Wall -O2 -I/usr/include -c -g -DREADLINE -DMAC_OSX nl-filesys.c

cc -L/usr/lib -Wall -O2 -I/usr/include -c -g -DREADLINE -DMAC_OSX nl-sock.c

cc -L/usr/lib -Wall -O2 -I/usr/include -c -g -DREADLINE -DMAC_OSX nl-import.c

cc -L/usr/lib -Wall -O2 -I/usr/include -c -g -DREADLINE -DMAC_OSX nl-xml.c

cc -L/usr/lib -Wall -O2 -I/usr/include -c -g -DREADLINE -DMAC_OSX nl-web.c

cc -L/usr/lib -Wall -O2 -I/usr/include -c -g -DREADLINE -DMAC_OSX nl-matrix.c

cc -L/usr/lib -Wall -O2 -I/usr/include -c -g -DREADLINE -DMAC_OSX nl-debug.c

cc -L/usr/lib -Wall -O2 -I/usr/include -c -g -DREADLINE -DMAC_OSX pcre.c

cc -L/usr/lib newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o nl-sock.o nl-import.o nl-xml.o nl-web.o nl-matrix.o nl-debug.o pcre.o -g -lm -lreadline -o newlisp

strip newlisp

Lutz

#5
that looks perfect! Now do:



sudo make install




Lutz

jeremyc

#6
Hm. Your right. I guess I was thinking newlisp-tk was a binary that had to be compiled. I didn't see it scroll by, so I figured it was not building it. My bad.



Thanks for walking me through it, sorry to waste your time.

Lutz

#7
yes, newlisp-tk is just aTcl/Tk script which gets installed in /usr/bin/newlisp-tk.



one other thing: the Mac OS X PPC installer ships by default with a UTF-8 version made with


make darwin_utf8

So the version you installed is not for UTF-8, but that should not make a difference to you unless you have to handle UTF-8 characters.



On the Mac I package a utf8 compile because UTF-8 handling on the Mac is  standard in most applications (text editor, terminal, browser etc.).



But probably your newLISP applications run fine in either mode. In case you want the UTF-8 version do:


make clean
make darwin_utf8
sudo make install


Lutz

cormullion

#8
is that you, your plane, and your wiki, jeremy?

jeremyc

#9
I am assuming yes, I have a wiki, plane and pic of me :-) Well, sorta. I don't own that plane, but the glider club I use to belong to owns it and it's the one I solo'd in.

cormullion

#10
i'm looking forward to reading the entries ...! ;-)



(in case anyone thinks i've finally cracked, i saw jeremy's new newlisp-powered wiki on the web and assumed it was his...)