RE: [ROOT] qtRoot on Mac OSX

From: Valeri Fine (fine@bnl.gov)
Date: Fri Jul 16 2004 - 21:09:55 MEST


Hello Christian,
  Thank you very much for you valuable information.
  That thread 
http://root.cern.ch/phpBB2/viewtopic.php?t=882&sid=86adc98c8473a6b892948
1587699b7d6
does describe the problem I faced precisely!

I wonder if the ROOT "configure" may check,

" . . .
you need to have set DYLD_LIBRARY_PATH to include $ROOTSYS/lib BEFORE
building ROOT. I'll change this later, but for you to build make sure
that DYLD_LIBRARY_PATH is correctly set.
. . . "

and warn the Mac user about the imminent problem.

 Thank you, 

----
Best regards
                   Valeri


> -----Original Message-----
> From: cstrato [mailto:cstrato@aon.at]
> Sent: Friday, July 16, 2004 2:55 PM
> To: Valeri Fine
> Cc: roottalk@pcroot.cern.ch
> Subject: Re: [ROOT] qtRoot on Mac OSX
> 
> Dear Valeri
> 
> I am no expert in compiling root for MacOSX, but recently I got the
> same error when compiling root, se my question to rootforum:
>
http://root.cern.ch/phpBB2/viewtopic.php?t=882&sid=86adc98c8473a6b892948
1587699b
> 7d6
> 
> Look at the answer of Fons which solved my problem, maybe this is
> also true in your case.
> 
> Best regards
> Christian
> 
> 
> Valeri Fine wrote:
> 
> > Hi Anselmo,
> >
> >
> >>Hi Anselmo,
> >>
> >>  this will be addressed later ones we have the Qt version in the
ROOT
> >>cvs.
> >
> >
> > Good news:
> >         I have succeeded to compile ROOT with Qt layer for
> >         MAC with non-X11 version of Qt.
> >         I applied
> >         ./confgiure  macosx --build=debug --enable-qt
> >
> > Bad news:
> >          However I failed to create a ROOT executable yet.
> >
> >
> > I stuck with
> >
> > g++ -g -O -bind_at_load -flat_namespace -o bin/root.exe
main/src/rmain.o
> > -u _G__cpp_setupG__Hist -u _G__cpp_setupG__Graf1
> >  -u _G__cpp_setupG__G3D -u _G__cpp_setupG__GPad -u
_G__cpp_setupG__Tree
> > -u _G__cpp_setupG__Matrix \
> >            -Llib -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree
> > -lMatrix -lRint -lm    -lpthread -ldl
> > ld: warning can't open dynamic library: /lib/libfreetype.dylib
(checking
> > for undefined symbols may be affected) (No such f
> > ile or directory, errno = 2)
> > ld: Undefined symbols:
> > _FT_Done_Face
> >
> >
> > Since I have zero Mac expertise and lack of the permanent access to
Mac
> > I can not go further at the moment.
> >
> > Anyway if you have any advice that clarifies how things should be
built
> > for Mac I can take it in account and correct my documentation (see:
> > http://root.bnl.gov )
> >
> >
> >   Thank you.
> >
> >                      Valeri
> >
> >>Cheers, Fons.
> >>
> >>
> >>
> >>On Wed, 2004-06-30 at 09:05, Anselmo Meregaglia wrote:
> >>
> >>>Hi,
> >>>I'm trying to have qtroot running on my Mac (qith native Mac OSX
qt)
> >>>but I had several problems compiling. I have been keeping in touch
> >
> > with
> >
> >>>Valeri Fine who made some changes at qtroot but at the moment I'm
> >
> > stuck
> >
> >>>and he said you're the right ones to write to.
> >>>When I compile I get the following error:
> >>>
> >>>
> >>>>qt/src/TGQt.cxx:66:29: TMacSystem.h: No such file or directory
> >>>
> >>>and he wrote to me :
> >>>
> >>>"I think you should ask roottalk@root.cern.ch whether
> >>>TMacSystem class is usable?
> >>>
> >>>It sounds like the $ROOTSYS/mac is a dead directory. It doesn't
> >
> > contain
> >
> >>>any "Module.mk" to build the staff.
> >>>
> >>>This means it can not be included in any ROOT build by ROOT
> >
> > configure."
> >
> >>>Hope you can help me.
> >>>Thank you very much
> >>>
> >>>Bbest Regards
> >>>
> >>>	Anselmo
> >>
> >>--
> >>Org:    CERN, European Laboratory for Particle Physics.
> >>Mail:   1211 Geneve 23, Switzerland
> >>E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
> >>WWW:    http://www.rademakers.org/fons/      Fax:   +41 22 7679480
> >
> >
> >
> >



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET