Re: [Gluster-devel] failure to compile on OSX

2008-03-28 Thread Luke Schierer
I still get the same failure.  I am wondering, given that others have
suceeded, that there might be something else in my environment that is
causing this error.  Any ideas? 

gcc -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall
-I../../../../libglusterfs/src -shared -nostartfiles -bundle -undefined
suppress -flat_namespace -D__FreeBSD__=10 -D__DARWIN_64_BIT_INO_T=1 -o
unify.so unify.o unify-self-heal.o  -lpthread  
ld: can't insert lazy pointers, __dyld section not found
collect2: ld returned 1 exit status
make[5]: *** [unify.so] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

luke


On Thu, Feb 28, 2008 at 08:45:23PM -0800, Amar S. Tumballi wrote:
> Hi Luke,
>  can you try to configure like below?
> 
> CFLAGS='-D__FreeBSD__=10 -D__DARWIN_64_BIT_INO_T' ./configure
> 
> Regards,
> Amar
> 
> On Thu, Feb 28, 2008 at 8:38 PM, Luke Schierer <
> [EMAIL PROTECTED]> wrote:
> 
> > Hi,
> > The wiki suggests that glusterfs should compile on OSX.  When I attempt
> > to do so, I get the following error:
> >
> > gcc -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall
> > -I../../../../libglusterfs/src -shared -nostartfiles -bundle -undefined
> > suppress -flat_namespace -D__FreeBSD__=10 -o unify.so unify.o
> > unify-self-heal.o  -lpthread
> > ld: can't insert lazy pointers, __dyld section not found
> > collect2: ld returned 1 exit status
> > make[5]: *** [unify.so] Error 1
> > make[4]: *** [all-recursive] Error 1
> > make[3]: *** [all-recursive] Error 1
> > make[2]: *** [all-recursive] Error 1
> > make[1]: *** [all-recursive] Error 1
> > make: *** [all] Error 2
> >
> > This is with a checkout from arch just today, I am not really sure how
> > to use arch, so I am unsure how to get a revision number.  the last
> > couple lines of the checkout were:
> >
> > * patching for revision:
> > * [EMAIL PROTECTED]/glusterfs--mainline--2.5--patch-689
> > * making pristine copy
> > * tree version set [EMAIL PROTECTED]/glusterfs--mainline--2.5
> >
> >
> > I hope this helps.
> >
> > Thanks!!
> >
> > Luke Schierer
> > Accelerated Servers.
> >
> >
> > ___
> > Gluster-devel mailing list
> > Gluster-devel@nongnu.org
> > http://lists.nongnu.org/mailman/listinfo/gluster-devel
> >
> 
> 
> 
> -- 
> Amar Tumballi
> Gluster/GlusterFS Hacker
> [bulde on #gluster/irc.gnu.org]
> http://www.zresearch.com - Commoditizing Supercomputing and Superstorage!


___
Gluster-devel mailing list
Gluster-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/gluster-devel


Re: [Gluster-devel] failure to compile on OSX

2008-03-28 Thread Vikas Gorur
Excerpts from Luke Schierer's message of Fri Mar 28 20:16:00 +0530 2008:
> I still get the same failure.  I am wondering, given that others have
> suceeded, that there might be something else in my environment that is
> causing this error.  Any ideas? 
> 
> gcc -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall
> -I../../../../libglusterfs/src -shared -nostartfiles -bundle -undefined
> suppress -flat_namespace -D__FreeBSD__=10 -D__DARWIN_64_BIT_INO_T=1 -o
> unify.so unify.o unify-self-heal.o  -lpthread  
> ld: can't insert lazy pointers, __dyld section not found

A few things to check are: make sure you are using the GNU linker and GNU 
libtool
(it'll be named glibtool). Also, is this on Leopard (10.5)?

Vikas

-- 
http://vikas.80x25.org/


___
Gluster-devel mailing list
Gluster-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/gluster-devel


Re: [Gluster-devel] failure to compile on OSX

2008-03-28 Thread Luke Schierer
On Fri, Mar 28, 2008 at 08:32:27PM +0530, Vikas Gorur wrote:
> Excerpts from Luke Schierer's message of Fri Mar 28 20:16:00 +0530 2008:
> > I still get the same failure.  I am wondering, given that others have
> > suceeded, that there might be something else in my environment that is
> > causing this error.  Any ideas? 
> > 
> > gcc -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall
> > -I../../../../libglusterfs/src -shared -nostartfiles -bundle -undefined
> > suppress -flat_namespace -D__FreeBSD__=10 -D__DARWIN_64_BIT_INO_T=1 -o
> > unify.so unify.o unify-self-heal.o  -lpthread  
> > ld: can't insert lazy pointers, __dyld section not found
> 
> A few things to check are: make sure you are using the GNU linker and GNU 
> libtool
> (it'll be named glibtool). Also, is this on Leopard (10.5)?
> 
> Vikas
> 
> -- 
> http://vikas.80x25.org/

This is on 10.5, yes.  I upgraded from 10.4 in January. glibtool is
installed, in /op/local/bin from macports.  /opt/local/bin and
/opt/local/sbin are earlier in my $PATH than anything else, so they
should be used yes.

luke



___
Gluster-devel mailing list
Gluster-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/gluster-devel