# No Graphics on Mac

**URL:** <https://root-forum.cern.ch/t/no-graphics-on-mac/14893>\
**Category:** ROOT\
**Created:** [September 7, 2012, 2:23pm UTC](https://root-forum.cern.ch/t/no-graphics-on-mac/14893 "2012-09-07T14:23:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jfcaron](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/j/7c8e57/32.png) [@jfcaron](https://root-forum.cern.ch/u/jfcaron)\
**Post date:** [September 7, 2012, 2:23pm UTC](https://root-forum.cern.ch/t/no-graphics-on-mac/14893/1 "2012-09-07T14:23:04Z")

</div>

Hi, I was previously using a self-compiled ROOT, and recently updated XCode and installed the latest ROOT from MacPorts. When I open CINT and try some basic stuff, I get the following:

[code]jfcaron@jfcaron-MacBook:~$ root -l

- ROOT v5.34/01 \*  
root [0] TBrowser tb;  
root [1]  
root [1] TH1F h(“h”,“h”,10,0,10)  
root [2] h.Fill(5)  
(Int\_t)6  
root [3] h.Draw()  
Warning in TCanvas::ResizePad: c1 width changed from 0 to 10  
Warning in TCanvas::ResizePad: c1 height changed from 0 to 10  
Info in TCanvas::MakeDefCanvas: created default TCanvas with name c1  
root [4] [/code]  
But no graphics. X11 does not start and no windows show up for the Browser or the histogram.

Here are the answers to some common debugging questions:

```auto
which root :/opt/local/bin/root
echo $ROOTSYS: /opt/local
echo $LD_LIBRARY_PATH: /opt/local/lib/root:/root:/root:/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib
echo $PYTHONPATH: /opt/local/lib/root:/root:/root:/lib::/Users/jfcaron/Macros
```

This is Mac OS 10.7.4, ROOT 5.34/01.

Thanks for any help.

---

<div class="post-metadata">

**Author:** ![Pepe\_Le\_Pew](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pepe_le_pew/32/12365_2.png) [@Pepe\_Le\_Pew](https://root-forum.cern.ch/u/Pepe_Le_Pew)\
**Post date:** [September 7, 2012, 2:39pm UTC](https://root-forum.cern.ch/t/no-graphics-on-mac/14893/2 "2012-09-07T14:39:35Z")

</div>

[url][Canvas does not show up in OSX 10.8 with XQuartz 2.7.2?](https://root-forum.cern.ch/t/canvas-does-not-show-up-in-osx-10-8-with-xquartz-2-7-2/14688/1)
