Skip to main content.
home | support | download

Back to List Archive

Re: Help with Mac OS X install

From: Michael P. Monan <monan(at)not-real.acm.org>
Date: Wed Sep 04 2002 - 23:27:07 GMT
Hi...

>At 03:54 PM 09/04/02 -0700, Michael P. Monan wrote:
>>./configure --with-libxml2=/usr/local --with-zlib=/usr/local
>>--prefix=/usr/local
>
>Is /usr/local/bin in your path?  The configure script tries to run
>xml2-config to figure out where libxml2 is installed.

It is in my path, just trying to be explicit if it's somewhere else also...

>
>>(comment out ../src/swish.h, link 1027)
>>	(Note that this was necessary to compile the perl script...
>>using Perl 5.8.0...)
>
>I don't understand.  What did you need to comment out?

line 1027 of swish.h: extern unsigned int DEBUG_MASK;

I needed to do this for building the Perl interface.  After I perl
the Makefile.PL in the perl directory, I run make and get the
following error:

[athanor:build-swish-e-2.2rc1/swish-e/perl] root# make
cp SWISHE.pm blib/lib/SWISHE.pm
/usr/local/bin/perl /Library/Perl/ExtUtils/xsubpp  -typemap
/Library/Perl/ExtUtils/typemap  SWISHE.xs > SWISHE.xsc && mv
SWISHE.xsc SWISHE.c
cc -c   -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing
-I/usr/local/include -O3   -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\"
"-I/Library/Perl/darwin/CORE"   SWISHE.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
In file included from SWISHE.xs:11:
./src/swish.h:1027: parse error before numeric constant
make: *** [SWISHE.o] Error 1


I tried commenting out the offending line and it worked...

I figured I'd look more into it later in case I was doing something
wrong before I reported it as a bug...

Thanks!

Cya...
Mike...

-- 
.................................................................
Mike Monan <-> monan@acm.org
GPG Key ID: 0xB7CFDD41
GPG FingerPrint: A921 8F89 B816 D2E6 A736 A280 0046 01A5 B7CF DD41
Received on Wed Sep 4 23:30:38 2002