http://sourceforge.net/tracker/index.php?func=detail&aid=2975522&group_id=80
013&atid=558446 

-----Original Message-----
From: Jim Weir [mailto:jw...@criticalmention.com] 
Sent: Wednesday, January 13, 2010 11:04 PM
To: clucene-developers@lists.sourceforge.net
Subject: Re: [CLucene-dev] 2.3.2 build failure on Mac OS X 10.6.x

Itamar already has the patch for this ready.  Itamar are you committing
that?


On Wed, Jan 13, 2010 at 3:54 PM, Paul J. Lucas <p...@lucasmail.org> wrote:
> Using Mac OS X 10.6.2 (Snow Leopard):
>
> $ uname -a
> Darwin paulbook.pauljlucas.org 10.2.0 Darwin Kernel Version 10.2.0: 
> Tue Nov  3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386
>
> and g++ 4.2.1:
>
> $ g++ --version
> i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) (dot 
> i686-apple-darwin10-g++1)
>
> when compiling via:
>
> $ cd clucene
> $ mkdir build
> $ cd build
> $ cmake -G'Unix Makefiles' ..
>
> I eventually get:
>
> IndexFileDeleter.cpp: In member function 'void
lucene::index::IndexFileDeleter::message(std::string)':
> IndexFileDeleter.cpp:93: error: cast from '_opaque_pthread_t*' to 
> 'int32_t' loses precision
>
> This is because the default for Snow Leopard's g++ is to produce 64-bit
binaries and trying to cast any 64-bit pointer into an int_32t won't work.
 Hence, this is a bug for 64-bit systems.
>
> In the mean-time, can somebody tell be how to pass the -m32 option to g++
to force it to build 32-bit binaries?  If this were just plain configure, I
could do:
>
> $ CFLAGS="-m32" ./configure
>
> but it's not clear to me how to do the equivalent using cmake.
>
> - Paul
> ----------------------------------------------------------------------
> -------- This SF.Net email is sponsored by the Verizon Developer 
> Community Take advantage of Verizon's best-in-class app development 
> support A streamlined, 14 day to market process makes app distribution 
> fast and easy Join now and get one step closer to millions of Verizon 
> customers http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> CLucene-developers mailing list
> CLucene-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/clucene-developers
>

----------------------------------------------------------------------------
--
This SF.Net email is sponsored by the Verizon Developer Community Take
advantage of Verizon's best-in-class app development support A streamlined,
14 day to market process makes app distribution fast and easy Join now and
get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers



------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to