Skip to main content.
home | support | download

Back to List Archive

Re: Compiling Swish-e on BSD server

From: Ron Klatchko <ron(at)not-real.ckm.ucsf.edu>
Date: Fri Nov 20 1998 - 21:37:39 GMT
Make is choking on some syntax I used to help simplify choosing between
file system and http file access.  You can try the following:

make METHOD_OBJS=`$(HTTP_OBJS)`

or if that doesn't work, you'll need to edit your makefile.  Modify the
line that says:

METHOD_OBJS=$($(METHOD)_OBJS)

to

METHOD_OBJS=$(HTTP_OBJS)

Also, I would like to ask for suggestions on how to deal with this.  It
seems that many Make's do no

At 10:00 AM 11/20/98 -0800, James Cramton wrote:
>I'm trying to compile Swish-e on my web server at an ISP.  The system type
>is BSDI BSD/OS 3.1 Kernel #5.  Gcc is installed, and normally works fine.
>I've followed the directions from the README-SWISH-E file, modified my gcc
>path, and I issue the compile command:
>
>bash$ make METHOD=HTTP
>make CFLAGS="-g" check.o file.o index.o search.o error.o  hash.o list.o
>mem.o string.o merge.o swish.o _OBJS)
>/bin/sh: 1: Syntax error: ")" unexpected
>*** Error code 2
>
>Stop.
>bash$
>
>Any clue what's holding up this installation?
>
>Thanks,
>
>James
>
>-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>James Cramton                        215-483-4730 (Philadelphia, PA)
>Web Developer and Programmer         215-742-5850 (Philadelphia Fax)
>mailto:james.cramton@manual3.com     408-293-9654 (San Jose, CA)
>http://www.manual3.com               408-293-0241 (San Jose Fax)
>-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
>
>
>
----------------------------------------------------------------------
          Ron Klatchko - Manager, Advanced Technology Group           
           UCSF Library and Center for Knowledge Management           
                           ron@ckm.ucsf.edu                
Received on Fri Nov 20 13:37:26 1998