🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.infosystems.wais
3 messages
3 total messages Started by Chris Myers Tue, 29 Dec 1992 18:51
Anyone running WAIS 8.5b1 on AIX 3.2?
#299
Author: Chris Myers
Date: Tue, 29 Dec 1992 18:51
38 lines
2182 bytes
After a series of trials and tribulations I have finally gotten the
WAIS 8.5b1 server running on an RS/6000 under AIX 3.2.  The server
works just fine, waissearch works and swais from a different system
(Ultrix 4.2A) works.

However, the swais text client does not work: the waisserver process
always returns zero matches, regardless of the query.  I speculate that
somehow swais has been miscompiled and is generating bogon queries to
the server.  I checked the log file and waisserver is definitely
finding no matches for the query.

Has anyone gotten swais to work properly under AIX 3.2, and if so, how?
I'm working under a deadline, so if anyone knows I would appreciate a
quick e-mail note.  If I get any positive responses I'll summarize and
post them to comp.infosystems.wais.

To compile WAIS 8.5b1 under AIX 3.2 I had to:

	In Makefile, set CC=c89
	In Makefile, set CFLAGS=-D_ALL_SOURCE
	edit ui/source.h and change the prototype for loadSource to
		Source loadSource _AP((char* name, char* sourcepath));

The really critical and unobvious one (at least to me) was the
-D_ALL_SOURCE addition to CFLAGS.  Without it c89 will crash and burn.

The standard cc compiler APPEARS to compile the code properly, but
somehow generates bad code when calling the scandir() library function
which is used to find sources in the WAIS server and client code --
scandir() always ends up returning a null list.

Thanks in advance!

-- 
Chris Myers                                Internet: chris@wugate.wustl.edu
Software Engineer                           UUCP: ...!uunet!wuarchive!chris
Office of the Network Coordinator                BITNET: chris@wunet.bitnet
Washington University in Saint Louis                 Phone: +1 314 935 7390
Re: Anyone running WAIS 8.5b1 on AIX 3.2?
#300
Author: Charles Hannum
Date: Tue, 29 Dec 1992 19:01
15 lines
1063 bytes
In article <chris.725654418@wuarchive.wustl.edu> chris@wupost.wustl.edu
(Chris Myers) writes:
>
> The standard cc compiler APPEARS to compile the code properly, but
> somehow generates bad code when calling the scandir() library function
> which is used to find sources in the WAIS server and client code --
> scandir() always ends up returning a null list.

This is caused by a bug in XLC.  You should get the latest version.

-- 
 \  /   Charles Hannum, mycroft@ai.mit.edu
 /\ \   PGP public key available on request.  MIME, AMS, NextMail accepted.
Scheme  White heterosexual atheist male (WHAM) pride!
Re: Anyone running WAIS 8.5b1 on AIX 3.2?
#303
Author: Chris Myers
Date: Tue, 29 Dec 1992 20:23
25 lines
1601 bytes
mycroft@hal.gnu.ai.mit.edu (Charles Hannum) writes:


>In article <chris.725654418@wuarchive.wustl.edu> chris@wupost.wustl.edu
>(Chris Myers) writes:
>>
>> The standard cc compiler APPEARS to compile the code properly, but
>> somehow generates bad code when calling the scandir() library function
>> which is used to find sources in the WAIS server and client code --
>> scandir() always ends up returning a null list.
>
>This is caused by a bug in XLC.  You should get the latest version.

I'll make sure that the latest and greatest compiler is acquired, but
that still doesn't seem to address the problem when compiling with c89
(which is how I got the server and waissearch clients working).  Do you
think/know that a c89 (a/k/a xlc) bug is causing the problems I'm
experiencing with swais?

Thanks!
-- 
Chris Myers                                Internet: chris@wugate.wustl.edu
Software Engineer                           UUCP: ...!uunet!wuarchive!chris
Office of the Network Coordinator                BITNET: chris@wunet.bitnet
Washington University in Saint Louis                 Phone: +1 314 935 7390
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads