Hi,
I am under the same impression as Chris. MacPorts seem to be more up to date, and better maintained. At the same time, I've neither spent much time with Fink, so I cannot say for sure which is better. I've also got several mac friends recommending MacPorts over Fink, which is partly why I have so little experience with Fink. One thing I definitely know, chose one and ONLY one of them. Using both can easily make a mess on your system.
Another system one might consider (I haven't) is Homebrew: https://github.com/mxcl/homebrew Unsure if you find root there just yet.
Cheers,
Yngve
On Mandag 01 august 2011, Chris Jones wrote:
> Hi,
>
> > 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 ?
>
> That I cannot answer. It comes down to a matter of taste as much as
> anything. Personally I favor MacPorts, as I get the feeling it is better
> maintained than fink, but as I've never used Fink, I cannot really
> comment to much on it.
>
> One thing I do know is it is not recommended to have both, as they have
> a tendency to interfere badly with each other.
>
> Chris
>
> >
> > 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 Wed Aug 03 2011 - 13:28:34 CEST
This archive was generated by hypermail 2.2.0 : Wed Aug 03 2011 - 23:50:01 CEST