ROOT on Leopard with Tiger X11

Hello,

I just installed Leopard (MacOX 10.5) on my Mac. There is X11 problem, so I installed Tiger (10.4.8) X11 version, following this webpage: lists.apple.com/archives/x11-use … 00005.html

Root opens all right, but then when I try to run my script, that just yesterday was working fine, it complains about some libraries (as below):

/usr/bin/ld: /usr/lib/gcc/i686-apple-darwin8/4.0.1/libstdc++.dylib load command 8 unknown cmd field
/usr/bin/ld: /usr/lib/gcc/i686-apple-darwin8/4.0.1/…/…/…/libSystem.dylib unknown flags (type) of section 6 (__TEXT,__dof_plockstat) in load command 0
/usr/bin/ld: /usr/lib/libSystem.B.dylib unknown flags (type) of section 6 (__TEXT,__dof_plockstat) in load command 0
collect2: ld returned 1 exit status
Error in : Compilation failed!

Can somebody help me with that? Anybody had a problem like that and fixed it, or I should try to go back to the older version of the system?

Julia

Hi,

we don’t support this setup for ROOT. Only the official X11 that comes with Leopard. Personally I don’t see problems with Leopard X11 on my MacPro 64 bit, iMac 32bit and Macbook Pro 32bit.

Was your version of ROOT compiled on Leopard? Which version are you running?

Cheers, Fons.

Hi Fons,

Does the FitPanel work for you?
For me the FitPanel crashed with the stock X11 (the one that does not handle multiple screens, etc) with:

*** Break *** segmentation violation /Users/adavid/testbeam/35014: No such file or directory. Attaching to process 35014. Reading symbols for shared libraries . done Reading symbols for shared libraries ..................................................................................... done 0x00007fff8334db08 in wait4 () ========== STACKS OF ALL THREADS ========== Thread 1 (process 35014 thread 0x20b): #0 0x00007fff8334db08 in wait4 () #1 0x00007fff8336abab in system () #2 0x00000001000ab18a in TUnixSystem::StackTrace () #3 0x00000001000aebfd in TUnixSystem::DispatchSignals () #4 0x00007fff8334cb8a in _sigtramp () #5 0x00007fff832ee2ef in szone_free () #6 0x00000001057e36ea in TFitEditor::Open () #7 0x00000001057ed3b4 in G__G__FitPanel_233_0_14 () #8 0x0000000100841da3 in Cint::G__ExceptionWrapper () #9 0x000000010092772e in G__call_cppfunc () #10 0x0000000100903ea8 in G__interpret_func () #11 0x00000001008f0c03 in G__getfunction () #12 0x00000001008c320b in G__getitem () #13 0x00000001008c59d2 in G__getexpr () #14 0x0000000100950c45 in G__exec_statement () #15 0x00000001008afbdf in G__exec_tempfile_core () #16 0x00000001008aff3a in G__exec_tempfile_fp () #17 0x000000010095de15 in G__process_cmd () #18 0x0000000100087f35 in TCint::ProcessLine () #19 0x0000000100007288 in TApplication::ProcessLine () #20 0x0000000100039f21 in TROOT::ProcessLine () #21 0x00000001020bda67 in G__G__Hist_106_0_51 () #22 0x000000010085d9c0 in Cint::G__CallFunc::Execute () #23 0x00000001000856f9 in TCint::Execute () #24 0x00000001000283dc in TObject::Execute () #25 0x0000000100016710 in TContextMenu::Execute () #26 0x0000000100015de9 in TContextMenu::Action () #27 0x000000010317070e in TRootContextMenu::ProcessMessage () #28 0x00000001030d64d9 in TGFrame::HandleClientMessage () #29 0x00000001030d94fa in TGFrame::HandleEvent () #30 0x00000001030ac111 in TGClient::HandleEvent () #31 0x00000001030ac2ab in TGClient::ProcessOneEvent () #32 0x00000001030ac30e in TGClient::HandleInput () #33 0x00000001030ac32d in TGInputHandler::Notify () #34 0x00000001000af57c in TUnixSystem::DispatchOneEvent () #35 0x000000010004f63d in TSystem::InnerLoop () #36 0x000000010004f5ef in TSystem::Run () #37 0x00000001000061a7 in TApplication::Run () #38 0x0000000100f5fcac in TRint::Run () #39 0x0000000100000a00 in main ()

I do get several warnings about wrong architectures at linking time, like:

==> lib/libProofx.dylib done g++ -O2 -m64 -dynamiclib -single_module -undefined dynamic_lookup -install_name /Users/adavid/root/lib/libXrdProofd.dylib -m64 -o lib/libXrdProofd.dylib proofd/src/XProofProtUtils.o proofd/src/XrdProofConn.o proofd/src/XrdProofGroup.o proofd/src/XrdProofPhyConn.o proofd/src/XrdProofSched.o proofd/src/XrdProofServProxy.o proofd/src/XrdProofWorker.o proofd/src/XrdProofdAux.o proofd/src/XrdProofdClient.o proofd/src/XrdProofdManager.o proofd/src/XrdProofdProtocol.o proofd/src/XrdProofdResponse.o proofd/src/XrdROOT.o -ldl -Lxrootd/src/xrootd/lib -lXrdOuc -lXrdNet -lXrdSys -Llib -lXrdClient -lXrdSut ld: warning in xrootd/src/xrootd/lib/libXrdSut.so, file is not of required architecture ln -fs libXrdProofd.dylib lib/libXrdProofd.so

Any ideas?

Thanks,

Andre

Could you clarify which version of ROOT?
In case you are with 5.16, upgrade your system to 5.17

Rene

Hi Rene,

[quote=“brun”]Could you clarify which version of ROOT?
In case you are with 5.16, upgrade your system to 5.17
Rene[/quote]

I’m sorry, I thought I had mentioned. I am using 5.17/06 from sources.

Thanks,

Andre

Hi,

try the svn trunk. I am almost sure the problem has been fixed and it has nothing to do with the X11 version.

Cheers, Fons.

[quote=“rdm”]Hi,
try the svn trunk. I am almost sure the problem has been fixed and it has nothing to do with the X11 version.
[/quote]

BINGO!

Thanks a bunch,

Andre