Search found 21 matches

by nitralime
Mon Mar 16, 2009 10:01 am
Forum: newLISP and the O.S.
Topic: Porting newLISP (AIX)
Replies: 52
Views: 47748

I have performed the same tests with windows XP as client and AIX as server. The result is the same as before. I don't want to bother you further. I know that it is very difficult to make a diagnosis remotely. I will try to solve this puzzle myself if I have more time. Thank you very much for your k...
by nitralime
Sun Mar 15, 2009 5:35 pm
Forum: newLISP and the O.S.
Topic: Porting newLISP (AIX)
Replies: 52
Views: 47748

It is still more confusing if you look at the result of the following simple tests which I have done with both versions of newlisp 10.0.3 compiled by xlc_r and gcc (the same for 32bit): ----------------- IBM Compile xlc_r ----------------- # ./newlisp -L./test_run.log -c -d 12321 & # ./newlisp newLI...
by nitralime
Sun Mar 15, 2009 5:00 pm
Forum: newLISP and the O.S.
Topic: Porting newLISP (AIX)
Replies: 52
Views: 47748

Yes, I got exactly this output HTTP/1.0 200 OK Server: newLISP v.10003 (AIX) Content-length: 86 Content-type: text/html Hello FISCHERS FRITZ FISCHT FRISCHE FISCHE in my browser window. # ./newlisp newLISP v.10.0.3 64-bit on AIX IPv4 UTF-8, execute 'newlisp -h' for more info. > (define s (read-file "...
by nitralime
Sat Mar 14, 2009 7:43 pm
Forum: newLISP and the O.S.
Topic: Porting newLISP (AIX)
Replies: 52
Views: 47748

I have started newlisp as follows # ./newlisp -L./test_run.log -c -d 12321 And in another terminal done my tests # ./newlisp newLISP v.10.0.3 64-bit on AIX IPv4 UTF-8, execute 'newlisp -h' for more info. > (net-eval "localhost" 12321 {(+ 3 4)} 1000) 7 > (net-eval "localhost" 12321 "(abc)" 2000) nil ...
by nitralime
Sat Mar 14, 2009 2:44 pm
Forum: newLISP and the O.S.
Topic: Porting newLISP (AIX)
Replies: 52
Views: 47748

The expression (net-eval "localhost" 12321 "(abc)") causes the problem. Without a timeout value it will be hanging!! I tried it with different timeout values: # ./newlisp -c -d 12321 & [1] 1069264 #./newlisp newLISP v.10.0.3 64-bit on AIX IPv4 UTF-8, execute 'newlisp -h' for more info. > (net-eval "...
by nitralime
Sat Mar 14, 2009 1:08 pm
Forum: newLISP and the O.S.
Topic: Porting newLISP (AIX)
Replies: 52
Views: 47748

The expression (net-eval "localhost" 12321 "(abc)") causes the problem. Without a timeout value it will be hanging!! I treid it with different timeout values: # ./newlisp -c -d 12321 & [1] 1069264 #./newlisp newLISP v.10.0.3 64-bit on AIX IPv4 UTF-8, execute 'newlisp -h' for more info. > (net-eval "...
by nitralime
Sat Mar 14, 2009 11:40 am
Forum: newLISP and the O.S.
Topic: Porting newLISP (AIX)
Replies: 52
Views: 47748

I'm sorry that I didn't pay due attention to "Server already running ..." message myself. The port 10001 as SCP configuration port on AIX is already in use. I changed the port to 12321 in qa-comma, qa-dot and qa-net files and started the qa-net test manually. It works as expected: # ./newlisp -c -d ...
by nitralime
Fri Mar 13, 2009 4:31 pm
Forum: newLISP and the O.S.
Topic: Porting newLISP (AIX)
Replies: 52
Views: 47748

Congratulation! It works now out of the box:-) Here is the output of all runs: ====================== xlc_r (32bit) ======================= # gmake ./build Discovered AIX: gmake[1]: Entering directory `/tmp/newlisp-10.0.3' gmake -f makefile_aixLP64_utf8_xlc gmake[2]: Entering directory `/tmp/newlisp...
by nitralime
Fri Mar 13, 2009 1:40 pm
Forum: newLISP and the O.S.
Topic: Porting newLISP (AIX)
Replies: 52
Views: 47748

I was just curious and performed the qa-cilk test for 32bit version of gcc and xlc. Here are the results: ------------------------ IBM Compiler xlc (32bit) ------------------------ # gmake ./build Discovered AIX: gmake[1]: Entering directory `/tmp/newlisp-10.0.3' gmake -f makefile_aix_utf8_xlc gmake...
by nitralime
Fri Mar 13, 2009 1:19 pm
Forum: newLISP and the O.S.
Topic: Porting newLISP (AIX)
Replies: 52
Views: 47748

Thank you for implementing the modifications! I have tested the new version and it works fine. I have also tried the 64bit version of gcc. It also works fine. Last time I have forgotten to add the option -DNEWLISP64 to CFLAGS and this was the reason why I got the segmentation fault! That means that ...
by nitralime
Thu Mar 12, 2009 7:55 pm
Forum: newLISP and the O.S.
Topic: Porting newLISP (AIX)
Replies: 52
Views: 47748

I would change the following line # makefile for newLISP v. 10.x.x on SOLARIS woth UTF-8 support on Sparc CPU in both make files to # makefile for newLISP v. 10.x.x on AIX with UTF-8 support on PowerPC CPU and do the following renaming in order to be consistent with the entry in Makefile mv makefile...
by nitralime
Thu Mar 12, 2009 3:46 pm
Forum: newLISP and the O.S.
Topic: Porting newLISP (AIX)
Replies: 52
Views: 47748

Just for your info # gmake ./build Discovered AIX: gmake[1]: Entering directory `/tmp/newlisp-10.0.3' gmake -f makefile_aix_utf8_xlc gmake[2]: Entering directory `/tmp/newlisp-10.0.3' xlc_r -c -g -O2 -DSUPPORT_UTF8 -DAIX newlisp.c 729 1500-010: (W) WARNING in main: Infinite loop. Program may not sto...
by nitralime
Thu Mar 12, 2009 2:03 pm
Forum: newLISP and the O.S.
Topic: Porting newLISP (AIX)
Replies: 52
Views: 47748

I have upgraded my gcc installation to version 4.2.4. Compiling with option -maix64 works but by calling ./newlisp qa-dot I get segmentation fault. The 32bit version compiled by gcc suffers from the same problem as before. I would say that you should integrate just the xlc_r version into the upcomin...
by nitralime
Wed Mar 11, 2009 5:14 pm
Forum: newLISP and the O.S.
Topic: Porting newLISP (AIX)
Replies: 52
Views: 47748

After implementing your suggested modification recvfrom(s, packet, PLEN, 0, (struct sockaddr *)&from, (socklen_t *)&fromlen) I get now the following outputs ------------------------ IBM Compiler xlc_r 64bit ------------------------ # gmake ./build Discovered AIX: gmake[1]: Entering directory `/tmp/n...
by nitralime
Wed Mar 11, 2009 10:33 am
Forum: newLISP and the O.S.
Topic: Porting newLISP (AIX)
Replies: 52
Views: 47748

Although there are still some open issues on AIX platform, I would like to summarize the necessary steps for compiling newLISP on AIX. 1) Depending on your C compiler you should use one of the following make files: -------------------- GNU C Compiler (gcc) -------------------- #=====================...
by nitralime
Tue Mar 10, 2009 2:12 pm
Forum: newLISP and the O.S.
Topic: Porting newLISP (AIX)
Replies: 52
Views: 47748

Compiling newlisp using xlc_r also works smoothly! # gmake ./build Discovered AIX: gmake[1]: Entering directory `/tmp/newlisp-10.0.1' gmake -f makefile_aix_utf8 gmake[2]: Entering directory `/tmp/newlisp-10.0.1' xlc_r -c -g -O2 -DSUPPORT_UTF8 -DAIX newlisp.c 724 1500-010: (W) WARNING in main: Infini...
by nitralime
Tue Mar 10, 2009 1:46 pm
Forum: newLISP and the O.S.
Topic: Porting newLISP (AIX)
Replies: 52
Views: 47748

As you suggested, in files "nl-filesys.c" and "nl-sock.c" I replaced #ifndef TRU64 by #if !defined (TRU64) || (AIX) Here is the output of "gmake" # gmake ./build Discovered AIX: gmake[1]: Entering directory `/tmp/newlisp-10.0.1' gmake -f makefile_aix_utf8 gmake[2]: Entering directory `/tmp/newlisp-1...
by nitralime
Mon Mar 09, 2009 12:57 pm
Forum: newLISP and the O.S.
Topic: Porting newLISP (AIX)
Replies: 52
Views: 47748

After modifying "newlisp.c" as follows ################################ #ifdef SOLARIS #ifdef TRU64 int opsys = 9; #endif #ifdef AIX int opsys = 10; #else int opsys = 4; #endif #endif ################################# I have managed to compile newlisp:-) Here is the output of gmake: ################...
by nitralime
Mon Mar 09, 2009 9:12 am
Forum: newLISP and the O.S.
Topic: Porting newLISP (AIX)
Replies: 52
Views: 47748

Here is the relevant part pf my "newlisp.h" file: #################################################################################### +1 /* newlisp.h - header file for newLISP +2 +3 Copyright (C) 2009 Lutz Mueller +4 +5 This program is free software: you can redistribute it and/or modify +6 it unde...
by nitralime
Fri Mar 06, 2009 2:09 pm
Forum: newLISP and the O.S.
Topic: Porting newLISP (AIX)
Replies: 52
Views: 47748

makefile_aix_utf8 ########################################################################################### # makefile for newLISP v. 10.x.x on AIX woth UTF-8 support # # OBJS = 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....
by nitralime
Thu Mar 05, 2009 5:15 pm
Forum: newLISP and the O.S.
Topic: Porting newLISP (AIX)
Replies: 52
Views: 47748

After modifying newlisp.c and ... as described in this thread I have tried it but got some errors?
Is there some sort of howto compile or installation guide for AIX?