Re: [Gluster-devel] failure to compile on OSX
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
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
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
Re: [Gluster-devel] failure to compile on OSX
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
Sorry for being bit lazy on documentation part. We are still under testing part with regard to MAC OS X. http://www.gluster.org/docs/index.php/GlusterFS_on_MAC_OS_X Also use '-d disable' while mounting glusterfs, because O_APPEND is not handled in MacFUSE. Regards, Amar On Thu, Feb 28, 2008 at 8:54 PM, Rodney McDuff [EMAIL PROTECTED] wrote: Amar S. Tumballi wrote: Hi Luke, can you try to configure like below? CFLAGS='-D__FreeBSD__=10 -D__DARWIN_64_BIT_INO_T' ./configure Yep. That what worked for me on my 10.5 iMac. Except while the server seems to work the client just gives me. ls -al /mnt ls: glusterfs: Input/output error What gluster and OS versions do you have? 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 -- Dr. Rodney G. McDuff |Ex ignorantia ad sapientiam Manager, Strategic Technologies Group|Ex luce ad tenebras Information Technology Services | The University of Queensland | EMAIL: [EMAIL PROTECTED] | TELEPHONE: +61 7 3365 8220 | -- 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