Becky,

As an aside, gcc is a symlink to llvm-gcc on Lion and maybe something else on 
Mountain Lion. It should behave the same as gcc.

A benefit of using llvm is that it is very easy to do static analysis of the 
code using clang. For more details, see:

http://clang-analyzer.llvm.org/

You can also build it on linux using gcc as the backend. I found using it on 
OSX and linux to be helpful.

Scott

On Jul 31, 2012, at 6:11 PM, Becky Ligon wrote:

> I have installed Xcode but still don't see the gcc compiler.  Is it hidden 
> somewhere?
> 
> Becky
> 
> On Tue, Jul 31, 2012 at 4:17 PM, Becky Ligon <[email protected]> wrote:
> Thanks, Scott!!!  Geez!  Do you think they could have made it any harder?
> 
> Becky
> 
> 
> On Tue, Jul 31, 2012 at 3:53 PM, Atchley, Scott <[email protected]> wrote:
> Becky,
> 
> You need to install Xcode from Apple. It has a full build environment.
> 
> If you need autotools, you should then install fink or macports.
> 
> Scott
> 
> On Jul 31, 2012, at 2:44 PM, Becky Ligon wrote:
> 
> > Henk/John:
> >
> > I can't find a binary gcc for MAC OSX anywhere.  Does it exist?
> >
> > Becky
> >
> > On Tue, Jul 31, 2012 at 1:34 PM, Henk D. Schoneveld <[email protected]> 
> > wrote:
> > Hi Becky,
> >
> > As replacement for macfuse I've used fuse4x at http://fuse4x.github.com, as 
> > advised by John Chandy.
> > I downloaded and installed Xcode, gettext and pkg-config. Fuse4X installs 
> > in usr/local/lib, I had to make symlinks  to /usr/lib because otherwise 
> > fuse.pc isn't found.
> > Downloaded the 2.8.6 tarball
> > ./configure --prefix=/usr --disable-usrint --enable-fuse
> > make
> >
> > NOW MY BLUNDER, SHAME SHAME on ME
> > ----------------------------
> > copied pvfs2fuse to /usr/bin
> >
> > complained it didn't work Ough Ough
> > ----------------------------
> > Did "sudo make install" AND EVERYTHING WORKS AS EXPECTED
> >
> > My excuses for all the fuzz.
> >
> > Henk Schoneveld
> >
> > PS. did CC the list ;-)
> >
> > On Jul 31, 2012, at 3:26 PM, Becky Ligon wrote:
> >
> > > Henk:
> > >
> > > Can you send me your pvfs2tab file, your PVFS conf file, and the version 
> > > of fuse that you are using?  My understanding is that OSX fuse is no 
> > > longer supported, so there is a 3rd party "fuse" that you have to use.  I 
> > > will find out the details for you.
> > >
> > > Becky
> > >
> > > On Tue, Jul 31, 2012 at 4:15 AM, Henk D. Schoneveld <[email protected]> 
> > > wrote:
> > >
> > > On Jul 30, 2012, at 11:17 PM, Becky Ligon wrote:
> > >
> > > > Henk:
> > > >
> > > > Can you post your output to this list?
> > > Of course happy to do that.
> > >
> > > [E 19:01:35.647450] PVFS_isys_fs_add: Failed to initialize any 
> > > appropriate BMI methods for addresses:
> > > [E 19:01:35.648604]     ???
> > > [E 19:01:35.648645] PVFS_isys_fs_add call: Protocol not available
> > > [E 19:01:35.648680] ERROR: could not initialize any file systems in 
> > > /etc/pvfs2tab.
> > > PVFS_util_init_defaults: Operation not supported by device (error class: 
> > > 0)
> > >
> > > pvfs2fuse and exactly the same pvfs2tab under linux works as expected.
> > >
> > > Any more hints ?
> > >
> > > By the way I patched state-machine-fns.c with
> > >
> > > @@ -229,7 +229,9 @@
> > >            {
> > >                gossip_err("SM current state or trtbl is invalid "
> > >                           "(smcb = %p)\n", smcb);
> > > +#ifdef GOSSIP_ENABLE_BACKTRACE
> > >                gossip_backtrace();
> > > +#endif
> > >                assert(0);
> > >                return -1;
> > >            }
> > >
> > > Patch applied well.
> > >
> > > Kind regards
> > >
> > >
> > > Henk
> > >
> > > >
> > > > Thanks,
> > > > Becky
> > > >
> > > > On Mon, Jul 30, 2012 at 4:50 PM, Henk D. Schoneveld 
> > > > <[email protected]> wrote:
> > > >
> > > > On Jul 30, 2012, at 7:34 PM, Becky Ligon wrote:
> > > >
> > > >> Great!  So disabling usrint and enabling fuse was all you needed?
> > > > Uhh to compile yes, but to use it it failed. Posted output to John 
> > > > Chandy.
> > > >>
> > > >> Becky
> > > >>
> > > >> On Mon, Jul 30, 2012 at 1:10 PM, Henk D. Schoneveld 
> > > >> <[email protected]> wrote:
> > > >> Thanks a lot Becky, but John Chandy reacted already off-list. I did 
> > > >> reply my results to the list again.
> > > >> But again thank you for being so helpful
> > > >>
> > > >> Henk Schoneveld
> > > >>
> > > >>
> > > >> On Jul 30, 2012, at 5:50 PM, Becky Ligon wrote:
> > > >>
> > > >>> Henk:
> > > >>>
> > > >>> We do have a developer who has worked with OSX with the fuse client.  
> > > >>> I am going to forward your email to him and let him help you with the 
> > > >>> details.
> > > >>>
> > > >>> Becky Ligon
> > > >>>
> > > >>>
> > > >>> On Sun, Jul 29, 2012 at 11:20 PM, John Chandy <[email protected]> 
> > > >>> wrote:
> > > >>> Henk,
> > > >>>
> > > >>> If all you are looking for is the fuse client, you should be able to 
> > > >>> add "--disable-usrint" and "--enable-fuse" when you do the configure.
> > > >>>
> > > >>> If you want the user POSIX and stdio libraries, it looks like you'll 
> > > >>> have to make some minor fixes to the usrint code so that it compiles 
> > > >>> on MacOSX.  I'm not sure if the OrangeFS developers are testing on 
> > > >>> MacOSX.
> > > >>>
> > > >>> John.
> > > >>>
> > > >>> On Jul 29, 2012, at 6:26 PM, Henk D. Schoneveld wrote:
> > > >>>
> > > >>>> John,
> > > >>>>
> > > >>>> Thanks for your answer.
> > > >>>>
> > > >>>> Installed xcode, Fuse4X, gettext and pkg-config, I'm able to 
> > > >>>> configure orange-fs2.8.6, but make fails with
> > > >>>>
> > > >>>> CC           src/client/sysint/mgmt-get-uid-list.o
> > > >>>> CC           src/client/usrint/posix-pvfs.o
> > > >>>> In file included from src/client/usrint/posix-pvfs.c:13:
> > > >>>> src/client/usrint/usrint.h:227: warning: type defaults to ‘int’ in 
> > > >>>> declaration of ‘off64_t’
> > > >>>> src/client/usrint/usrint.h:227: error: expected ‘;’, ‘,’ or ‘)’ 
> > > >>>> before ‘offset’
> > > >>>> src/client/usrint/usrint.h:229: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
> > > >>>> or ‘__attribute__’ before ‘ftell64’
> > > >>>> In file included from src/client/usrint/posix-pvfs.c:14:
> > > >>>> src/client/usrint/posix-ops.h:35: error: expected declaration 
> > > >>>> specifiers or ‘...’ before ‘off64_t’
> > > >>>>
> > > >>>> Any hints on what I did wrong or miss are very welcome
> > > >>>>
> > > >>>> Henk
> > > >>>> On Jul 28, 2012, at 10:33 PM, John Chandy wrote:
> > > >>>>
> > > >>>>> Henk,
> > > >>>>>
> > > >>>>> pvfs2fuse was built work on OSX with Macfuse from 
> > > >>>>> http://code.google.com/p/macfuse.  It used to compile 3-4 years ago 
> > > >>>>> when I last looked at it, but since macfuse hasnt been updated 
> > > >>>>> since 2009, I don't know if it still works.  There is a replacement 
> > > >>>>> for macfuse called fuse4x at http://fuse4x.github.com, but I've 
> > > >>>>> never tested pvfs2fuse with it, so you'll have to try it out and 
> > > >>>>> see if it works.
> > > >>>>>
> > > >>>>> As long as you have the gcc build environment (from xcode), 
> > > >>>>> building pvfs2fuse should be the same as you would do on a Linux 
> > > >>>>> machine.
> > > >>>>>
> > > >>>>> John.
> > > >>>>>
> > > >>>>> On Jul 28, 2012, at 2:13 PM, Henk D. Schoneveld wrote:
> > > >>>>>
> > > >>>>>> Hi all,
> > > >>>>>>
> > > >>>>>> Using five 2.8.6 metadata/io-servers en would like to use the 
> > > >>>>>> storage on an OSX machine. pvfs2fuse is the way to go. I know how 
> > > >>>>>> to build pvfs2fuse under linux, but have no idea how to get a 
> > > >>>>>> working OSX version.
> > > >>>>>> Googled and read a modified fuse-library would be needed, which 
> > > >>>>>> was available on a now disapeared Zumastor.
> > > >>>>>>
> > > >>>>>> Could somebody be so kind to provide me a binary version ? BTW I 
> > > >>>>>> do need a 64bits version.
> > > >>>>>>
> > > >>>>>> I've never build something under OSX, setting things up just to 
> > > >>>>>> build pvfs2fuse would be a real pain I gues.
> > > >>>>>>
> > > >>>>>> Kind regards
> > > >>>>>>
> > > >>>>>> Henk Schoneveld
> > > >>>>>> _______________________________________________
> > > >>>>>> Pvfs2-users mailing list
> > > >>>>>> [email protected]
> > > >>>>>> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
> > > >>>>>
> > > >>>>
> > > >>>
> > > >>>
> > > >>> _______________________________________________
> > > >>> Pvfs2-users mailing list
> > > >>> [email protected]
> > > >>> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
> > > >>>
> > > >>>
> > > >>>
> > > >>> --
> > > >>> Becky Ligon
> > > >>> OrangeFS Support and Development
> > > >>> Omnibond Systems
> > > >>> Anderson, South Carolina
> > > >>>
> > > >>>
> > > >>
> > > >>
> > > >>
> > > >>
> > > >> --
> > > >> Becky Ligon
> > > >> OrangeFS Support and Development
> > > >> Omnibond Systems
> > > >> Anderson, South Carolina
> > > >>
> > > >>
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Becky Ligon
> > > > OrangeFS Support and Development
> > > > Omnibond Systems
> > > > Anderson, South Carolina
> > > >
> > > >
> > >
> > >
> > >
> > >
> > > --
> > > Becky Ligon
> > > OrangeFS Support and Development
> > > Omnibond Systems
> > > Anderson, South Carolina
> > >
> > >
> >
> >
> >
> >
> > --
> > Becky Ligon
> > OrangeFS Support and Development
> > Omnibond Systems
> > Anderson, South Carolina
> >
> >
> > _______________________________________________
> > Pvfs2-users mailing list
> > [email protected]
> > http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
> 
> 
> 
> 
> -- 
> Becky Ligon
> OrangeFS Support and Development
> Omnibond Systems
> Anderson, South Carolina
> 
> 
> 
> 
> 
> -- 
> Becky Ligon
> OrangeFS Support and Development
> Omnibond Systems
> Anderson, South Carolina
> 
> 


_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to