I tried posting this immediately after subscribing two days
ago, but didn't see it show up on the list. My apologies if
I missed something. As an update, I was able to manually
compile and link (yes, I am a dinosaur) SWISH-E on this
problem system, so it is functioning and I am pleased at
that. However, for the future, I would like to understand
and fix the make problem. TIA, Rich
> I didn't see the answer to my question in the archive, so I
> have joined this list to post my question.
>
> New to SWISH-E, I downloaded 1.3.2 and was able to
> successfully compile and install SWISH-E on a HP-UX 10.20
> workstation, indexed a local web site, and interacted with
> the index using one of the example perl scripts. While not
> a c programmer, I was able to muddle through with good
> success and I was well-satisfied.
>
> However, when I tried to duplicate this success on a
> different machine, I was unable to "make" the Makefile. I
> hope someone has some ideas for what I need to change.
>
> uname -a reports the following on the second system:
>
> BSD/OS cherokee.digitalchainsaw.com 4.0 BSDI BSD/OS 4.0
> Kernel #0: Mon Jan 11 10:22:42 EST 1999
> tony@cherokee.digitalchainsaw.com:/usr/src/sys/compile/tony2
> i386
>
> I adjusted CC in Makefile to be the location of the
> local gcc compiler, and left the compiler flags with what
> was in the distribution (though I tried the other option
> variants with no change):
>
> CC = /usr/bin/gcc
> CFLAGS= -O2
>
> This was the result:
>
> cherokee:~/bin/src $ make
> make CFLAGS="-g" check.o file.o index.o search.o error.o
> methods.o hash.o list.o mem.o string.o merge.o swish.o
> stemmer.o docprop.o fs.o http.o httpserver.o
> make: don't know how to make check.o. Stop
> *** Error code 2
>
> Stop.
>
> Any help would be appreciated, as this is about as deep as I
> can go into Makefiles and compiler options without someone holding
> my hand. The compiler is functional, as I compiled check.c
> stand-alone with it.
>
> Thanks,
>
> Rich Fields
> fields@slr.orl.lmco.com
Received on Wed Aug 11 07:26:36 1999