[Xapian-discuss] Building on Windows
Craig Lee
Craig.Lee at noetix.com
Wed Jun 8 21:34:36 BST 2005
It looks like, by default, that the $HOME variable in the cygwin sh is
set to your user directory under Windows XP. This defaults to
"c:\documents and settings\username". Before I changed my $HOME
setting, if I tried to 'cd $HOME' I would get an error that
'/cygdrive/c/documents could not be found'. Also, no files would ever
show up under that directory when I ran "make".
It seemed to work once I set my $HOME variable to a path with no spaces.
Sending the --prefix was probably overkill once I changed my $HOME.
cl.
-----Original Message-----
From: Olly Betts [mailto:olly at survex.com]
Sent: Wednesday, June 08, 2005 1:29 PM
To: Craig Lee
Cc: xapian-discuss at lists.xapian.org
Subject: Re: [Xapian-discuss] Building on Windows
On Wed, Jun 08, 2005 at 01:01:09PM -0700, Craig Lee wrote:
> That did the trick.
>
> - making sure that the 'find.exe' in cygwin was found first
> - using --prefix and setting it to a directory without spaces
I don't believe this second step is necessary - automake 1.8.3 fixed
this problem and the Xapian 0.9.1 release was generated with automake
1.9.5. If this really doesn't work we should tell the automake
developers.
It can be a problem if the sources are unpacked under a path which
contains a space. I just checked that under UNIX and this fails to work
there.
> Are there some tests I can run to certify that the build is OK?
make check
A few tests may skip (they require large data files which we don't
include in the tarballs), but none should fail.
Cheers,
Olly
More information about the Xapian-discuss
mailing list