Re: problem compiling ROOT 5.30 on mac

From: Justin Vandenbroucke <justinv_at_stanford.edu>
Date: Tue, 1 Nov 2011 14:34:16 -0700


Interesting idea, thanks Chris. I do have MacPorts installed so I will try that. Justin

On Nov 1, 2011, at 2:43 AM, Chris Jones wrote:

> Hi,
> 
> I see you have the path /opt/local/lib  in your build command. Does this mean you have MacPorts installed ? If so, root is available in MacPorts, so you could just try that version.
> 
> cheers Chris
> 
> Justin Vandenbroucke wrote:

>> I successfully installed 5.26 on my mac (10.6.8) a long time ago, but cannot install 5.30.
>> I am using the configure and make (not cmake) option. Below is the error message I get.
>> I need 5.30 to run some code that a colleague wrote.
>> I'd appreciate any help!
>> thanks,
>> Justin
>> g++ -dynamiclib -single_module -undefined dynamic_lookup -install_name @rpath/libRGL.so -O2 -m64 -mmacosx-version-min=10.6 -o lib/libRGL.so graf3d/gl/src/CsgOps.o graf3d/gl/src/TArcBall.o graf3d/gl/src/TF2GL.o graf3d/gl/src/TGL5D.o graf3d/gl/src/TGL5DDataSetEditor.o graf3d/gl/src/TGL5DPainter.o graf3d/gl/src/TGLAdapter.o graf3d/gl/src/TGLAnnotation.o graf3d/gl/src/TGLAutoRotator.o graf3d/gl/src/TGLAxis.o graf3d/gl/src/TGLAxisPainter.o graf3d/gl/src/TGLBoundingBox.o graf3d/gl/src/TGLBoxPainter.o graf3d/gl/src/TGLCamera.o graf3d/gl/src/TGLCameraGuide.o graf3d/gl/src/TGLCameraOverlay.o graf3d/gl/src/TGLClip.o graf3d/gl/src/TGLClipSetEditor.o graf3d/gl/src/TGLContext.o graf3d/gl/src/TGLContextPrivate.o graf3d/gl/src/TGLCylinder.o graf3d/gl/src/TGLEmbeddedViewer.o graf3d/gl/src/TGLEventHandler.o graf3d/gl/src/TGLFBO.o graf3d/gl/src/TGLFaceSet.o graf3d/gl/src/TGLFontManager.o graf3d/gl/src/TGLFormat.o graf3d/gl/src/TGLH2PolyPainter.o graf3d/gl/src/TGLHistPainter.o graf3d/gl/src/T
> GLIsoMesh.o graf3d/gl/src/TGLLegoPainter.o graf3d/gl/src/TGLLightSet.o graf3d/gl/src/TGLLightSetEditor.o graf3d/gl/src/TGLLockable.o graf3d/gl/src/TGLLogicalShape.o graf3d/gl/src/TGLManip.o graf3d/gl/src/TGLManipSet.o graf3d/gl/src/TGLMarchingCubes.o graf3d/gl/src/TGLObject.o graf3d/gl/src/TGLOrthoCamera.o graf3d/gl/src/TGLOutput.o graf3d/gl/src/TGLOverlay.o graf3d/gl/src/TGLOverlayButton.o graf3d/gl/src/TGLPShapeObj.o graf3d/gl/src/TGLPShapeObjEditor.o graf3d/gl/src/TGLPShapeRef.o graf3d/gl/src/TGLPadPainter.o graf3d/gl/src/TGLPadUtils.o graf3d/gl/src/TGLParametric.o graf3d/gl/src/TGLParametricEquationGL.o graf3d/gl/src/TGLPerspectiveCamera.o graf3d/gl/src/TGLPhysicalShape.o graf3d/gl/src/TGLPlot3D.o graf3d/gl/src/TGLPlotBox.o graf3d/gl/src/TGLPlotCamera.o graf3d/gl/src/TGLPlotPainter.o graf3d/gl/src/TGLPolyLine.o graf3d/gl/src/TGLPolyMarker.o graf3d/gl/src/TGLQuadric.o graf3d/gl/src/TGLRnrCtx.o graf3d/gl/src/TGLRotateManip.o graf3d/gl/src/TGLSAFrame.o graf3d/gl/src/TGLSAVie
> wer.o graf3d/gl/src/TGLScaleManip.o graf3d/gl/src/TGLScene.o graf3d/gl/src/TGLSceneBase.o graf3d/gl/src/TGLSceneInfo.o graf3d/gl/src/TGLScenePad.o graf3d/gl/src/TGLSelectBuffer.o graf3d/gl/src/TGLSelectRecord.o graf3d/gl/src/TGLSphere.o graf3d/gl/src/TGLStopwatch.o graf3d/gl/src/TGLSurfacePainter.o graf3d/gl/src/TGLTF3Painter.o graf3d/gl/src/TGLTH3Composition.o graf3d/gl/src/TGLText.o graf3d/gl/src/TGLTransManip.o graf3d/gl/src/TGLUtil.o graf3d/gl/src/TGLViewer.o graf3d/gl/src/TGLViewerBase.o graf3d/gl/src/TGLViewerEditor.o graf3d/gl/src/TGLVoxelPainter.o graf3d/gl/src/TGLWidget.o graf3d/gl/src/TH2GL.o graf3d/gl/src/TH3GL.o graf3d/gl/src/TKDEAdapter.o graf3d/gl/src/TKDEFGT.o graf3d/gl/src/TPointSet3DGL.o graf3d/gl/src/TX11GL.o graf3d/gl/src/gl2ps.o graf3d/gl/src/G__GL.o -ldl /opt/local/lib -lftgl -lm -lfreetype -lz -L/opt/local/lib -lGLEW -L/usr/X11R6/lib -lGLU -lGL -L/opt/local/lib -lX11 -lm

>> ld: in /opt/local/lib, can't map file, errno=22
>> collect2: ld returned 1 exit status
>> make: *** [lib/libRGL.so] Error 1
>> ---------------------------------------------------------------------------
>> Justin Vandenbroucke
>> Kavli Institute for Particle Astrophysics and Cosmology
>> SLAC National Accelerator Laboratory
>> Stanford University
>> email: justinv_at_stanford.edu
>> office: 650-926-4760 (Fred Kavli Building 307, SLAC)
>> lab: Physics and Astrophysics Building B03, Stanford
>> fax: 650-926-8570
>> icq: 590183031
>> web: http://stanford.edu/~justinv
>> ---------------------------------------------------------------------------
>

Justin Vandenbroucke
Kavli Institute for Particle Astrophysics and Cosmology SLAC National Accelerator Laboratory
Stanford University
email: justinv_at_stanford.edu
office: 650-926-4760 (Fred Kavli Building 307, SLAC)
lab: Physics and Astrophysics Building B03, Stanford
fax: 650-926-8570
icq: 590183031
web: http://stanford.edu/~justinv
---------------------------------------------------------------------------
Received on Tue Nov 01 2011 - 22:34:26 CET

This archive was generated by hypermail 2.2.0 : Sat Nov 05 2011 - 11:50:01 CET