Hi Chris,
On Mon, 1 Aug 2011, Chris Jones wrote:
> Fons Rademakers wrote:
> > Hi Vito,
> >
> > Only the trunk and v5-30-patches work on Lion. Also better to remove this
> > /opt/local stuff.
>
> Just for reference, /opt/local is where MacPorts installs its software, so
> removing it may not be a good idea if the user is using this.
Good remark! I'm not an extensive Mac user, but sometimes I do, and I realized there are two main methods of getting unix software installed on Mac - fink and macports. Which of these two is the recommended approach for using ROOT on a Mac ? Also, is XCode to be installed or one of the above mentioned methods would bring a gcc version usable with ROOT ?
Thanks!
Eduard
>
> If the user is using MacPorts, then just for reference the latest ROOT release
> is available via MacPorts as well. This release does have problems building on
> OSX - This is as you say fixed in the trunk, but until this is in a release
> MacPorts can use, a work around is to install using the gcc44 (or gcc45)
> variants, which build using macports own gcc compilers, and not the system
> one.
>
> Chris
>
> >
> > Cheers, Fons.
> >
> > On 31 Jul 2011, at 18:21, Vito Palladino <Vito.Palladino_at_cern.ch
> > <mailto:Vito.Palladino_at_cern.ch>> wrote:
> >
> > > That is what ./configure says:
> > >
> > > Checking for GL/glew.h ... /opt/local/include
> > > Checking for libGLEW ... /opt/local/lib
> > > Checking whether to build included GLEW ... no
> > > Checking for pkg-config ... /opt/local/bin/pkg-config
> > > Checking for libftgl ... no
> > >
> > > Vito Palladino
> > >
> > > ------------------------------------------------------------------------
> > > *From:* owner-roottalk_at_root.cern.ch <mailto:owner-roottalk_at_root.cern.ch>
> > > [owner-roottalk_at_root.cern.ch <mailto:owner-roottalk_at_root.cern.ch>] on
> > > behalf of Vito Palladino [Vito.Palladino_at_cern.ch
> > > <mailto:Vito.Palladino_at_cern.ch>]
> > > *Sent:* 31 July 2011 18:13
> > > *To:* Valeri Fayn; <mailto:roottalk_at_root.cern.ch>roottalk_at_root.cern.ch
> > > <mailto:roottalk_at_root.cern.ch>
> > > *Subject:* RE: [ROOT] Compiling on OSX LION
> > >
> > > I installed GLEW and seems to work bu an other error stops the
> > > compilation:
> > >
> > > make[5]: *** No rule to make target `XrdOucFactoryBonjour.hh', needed by
> > > `../../obj/XrdOucBonjour.o'. Stop.
> > > make[4]: *** [Darwinall] Error 2
> > > make[3]: *** [all] Error 2
> > > make[2]: *** [XrdOuc] Error 2
> > > make[1]: *** [all] Error 2
> > > *** Error condition reported by make (rc = 2):
> > > make: *** [net/xrootd/src/xrootd/LastBuild.d] Error 1
> > >
> > >
> > >
> > >
> > > ------------------------------------------------------------------------
> > > *From:* Fine, Valeri [fine_at_bnl.gov <mailto:fine_at_bnl.gov>]
> > > *Sent:* 31 July 2011 17:26
> > > *To:* Vito Palladino; <mailto:roottalk_at_root.cern.ch>roottalk_at_root.cern.ch
> > > <mailto:roottalk_at_root.cern.ch>
> > > *Subject:* RE: [ROOT] Compiling on OSX LION
> > >
> > > Can you check whether the
> > > <http://www.opengl.org/sdk/libs/GLEW/>http://www.opengl.org/sdk/libs/GLEW/
> > >
> > > is present?
> > >
> > >
> > >
> > > Best regards , Valeri Fine
> > >
> > > -----------------------------------
> > >
> > > Brookhaven National Laboratory
> > >
> > > Upton, NY 11973
> > >
> > > Phone +1-631-344-7806
> > >
> > >
> > >
> > > *From:* Vito Palladino [mailto:Vito.Palladino_at_cern.ch]
> > > *Sent:* Sunday, July 31, 2011 11:17 AM
> > > *To:* Fine, Valeri; <mailto:roottalk_at_root.cern.ch>roottalk_at_root.cern.ch
> > > <mailto:roottalk_at_root.cern.ch>
> > > *Subject:* RE: [ROOT] Compiling on OSX LION
> > >
> > >
> > >
> > > I'm new on a mac machine. However I installed Xcode and it was supposed to
> > > contain OpenGL...
> > >
> > >
> > >
> > > Thank you again
> > >
> > > Vito Palladino
> > >
> > >
> > >
> > > ------------------------------------------------------------------------
> > >
> > > *From:* Fine, Valeri [fine_at_bnl.gov <mailto:fine_at_bnl.gov>]
> > > *Sent:* 31 July 2011 16:40
> > > *To:* Vito Palladino; <mailto:roottalk_at_root.cern.ch>roottalk_at_root.cern.ch
> > > <mailto:roottalk_at_root.cern.ch>
> > > *Subject:* RE: [ROOT] Compiling on OSX LION
> > >
> > > include/TGLIncludes.h:23:21: error: GL/glew.h: No such file or directory
> > >
> > >
> > >
> > > Is there OpenGL properly installed?
> > >
> > >
> > >
> > > Best regards , Valeri Fine
> > >
> > > -----------------------------------
> > >
> > > Brookhaven National Laboratory
> > >
> > > Upton, NY 11973
> > >
> > > Phone +1-631-344-7806
> > >
> > >
> > >
> > > *From:* owner-roottalk_at_root.cern.ch <mailto:owner-roottalk_at_root.cern.ch>
> > > [mailto:owner-roottalk_at_root.cern.ch] *On Behalf Of *Vito Palladino
> > > *Sent:* Sunday, July 31, 2011 9:42 AM
> > > *To:* <mailto:roottalk_at_root.cern.ch>roottalk_at_root.cern.ch
> > > <mailto:roottalk_at_root.cern.ch>
> > > *Subject:* [ROOT] Compiling on OSX LION
> > >
> > >
> > >
> > > Dear Rooters,
> > >
> > >
> > >
> > > I'm trying to compile root on OSX LION.
> > >
> > > I run ./configure --prefix=/usr/bin and than make but the following errors
> > > are returned:
> > >
> > >
> > >
> > > In file included from
> > > /Users/vitopalladino/Downloads/root/graf3d/gl/src/TF2GL.cxx:25:
> > >
> > > include/TGLIncludes.h:23:21: error: GL/glew.h: No such file or directory
> > >
> > > /Users/vitopalladino/Downloads/root/graf3d/gl/src/TF2GL.cxx: In member
> > > function ‘virtual void TF2GL::DirectDraw(TGLRnrCtx&) const’:
> > >
> > > /Users/vitopalladino/Downloads/root/graf3d/gl/src/TF2GL.cxx:96: error:
> > > ‘GL_ENABLE_BIT’ was not declared in this scope
> > >
> > > /Users/vitopalladino/Downloads/root/graf3d/gl/src/TF2GL.cxx:96: error:
> > > ‘GL_LIGHTING_BIT’ was not declared in this scope
> > >
> > > /Users/vitopalladino/Downloads/root/graf3d/gl/src/TF2GL.cxx:96: error:
> > > ‘glPushAttrib’ was not declared in this scope
> > >
> > > /Users/vitopalladino/Downloads/root/graf3d/gl/src/TF2GL.cxx:98: error:
> > > ‘GL_NORMALIZE’ was not declared in this scope
> > >
> > > /Users/vitopalladino/Downloads/root/graf3d/gl/src/TF2GL.cxx:98: error:
> > > ‘glEnable’ was not declared in this scope
> > >
> > > /Users/vitopalladino/Downloads/root/graf3d/gl/src/TF2GL.cxx:99: error:
> > > ‘GL_COLOR_MATERIAL’ was not declared in this scope
> > >
> > > /Users/vitopalladino/Downloads/root/graf3d/gl/src/TF2GL.cxx:99: error:
> > > ‘glDisable’ was not declared in this scope
> > >
> > > /Users/vitopalladino/Downloads/root/graf3d/gl/src/TF2GL.cxx:104: error:
> > > ‘GL_CULL_FACE’ was not declared in this scope
> > >
> > > /Users/vitopalladino/Downloads/root/graf3d/gl/src/TF2GL.cxx:105: error:
> > > ‘glPopAttrib’ was not declared in this scope
> > >
> > > make: *** [graf3d/gl/src/TF2GL.o] Error 1
> > >
> > >
> > >
> > >
> > >
> > > Do you have any ideas?
> > >
> > >
> > >
> > > Thank you
> > >
> > > Vito Palladino
> > >
>
>
>
Received on Mon Aug 01 2011 - 12:48:10 CEST
This archive was generated by hypermail 2.2.0 : Mon Aug 01 2011 - 17:50:01 CEST