# Problems compiling on os x 10.9

**URL:** <https://root-forum.cern.ch/t/problems-compiling-on-os-x-10-9/16774>\
**Category:** ROOT\
**Created:** [October 21, 2013, 2:24am UTC](https://root-forum.cern.ch/t/problems-compiling-on-os-x-10-9/16774 "2013-10-21T02:24:40Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![tpochep](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/t/f05b48/32.png) [@tpochep](https://root-forum.cern.ch/u/tpochep)\
**Post date:** [October 23, 2013, 3:43pm UTC](https://root-forum.cern.ch/t/problems-compiling-on-os-x-10-9/16774/21 "2013-10-23T15:43:45Z")

</div>

[quote=“giakov”]What I say is that I have also the 10.8 build issues with 10.9  
[/quote]

Ok, can you, please, show step by step what you did exactly? (with a configuration log, etc).  
I’m asking because I had similar problems with 5-34 two weeks ago but they gone after the head of 5-34 was updated.

---

<div class="post-metadata">

**Author:** ![giakov](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/g/2bfe46/32.png) [@giakov](https://root-forum.cern.ch/u/giakov)\
**Post date:** [October 23, 2013, 3:56pm UTC](https://root-forum.cern.ch/t/problems-compiling-on-os-x-10-9/16774/22 "2013-10-23T15:56:41Z")

</div>

I run ./configure macosx64 --all  
and I get:

[code]Checking for source directory … /Users/gio/root  
Configuring for macosx64  
Checking for Fink/MacPorts directory … /cern  
Checking for GNU Make version \>= 3.80 … ok  
Checking for C compiler … clang  
Checking for C++ compiler … clang++  
Checking for linker (LD) … clang++  
Checking for F77 compiler … gfortran  
Checking for libX11 … /usr/X11R6/lib  
Checking for X11/Xlib.h … /usr/X11R6/include  
Checking for X11/xpm.h … /usr/X11R6/include  
Checking for X11/Xft/Xft.h … /usr/X11R6/include  
Checking for X11/extensions/shape.h … /usr/X11R6/include  
Checking for libXpm … /usr/X11R6/lib  
Checking for libXft … /usr/X11R6/lib  
Checking for libXext … /usr/X11R6/lib  
Checking for freetype-config … /opt/local/bin/freetype-config  
Checking for libfreetype version \>= 9.3.0 … ok  
Checking whether to build included libfreetype6 … no  
Checking for pcre-config … /opt/local/bin/pcre-config  
Checking for libpcre version \>= 3.9 … ok  
Checking whether to build included libpcre … no  
Checking for zlib.h … no  
Checking for libz … /usr/lib  
Checking whether to build included zlib … yes  
Checking for lzma.h … no  
Checking for liblzma … /usr/lib  
Checking whether to build included lzma … yes  
Checking for GL/gl.h, or gl.h … /usr/X11/include  
Checking for libGL, or libMesaGL … /usr/X11R6/lib  
Checking for libGLU, or libMesaGLU … /usr/X11R6/lib  
Checking for GL/glew.h … no  
Checking for libGLEW … no  
Checking whether to build included GLEW … yes  
Checking for pkg-config … /opt/local/bin/pkg-config  
Checking for libftgl … no  
Checking whether to build included libftgl … yes  
Checking for mysql\_config … not found  
Checking for mysql.h … no  
Checking for libmysqlclient\_r, libmysqlclient, or mysqlclient … no  
Checking for occi.h … no  
Checking for libclntsh, or oci … no  
Checking for libocci, or oraocci10 … no  
Checking for libpq-fe.h … no  
Checking for libpq … /usr/lib  
Checking for sqlite3.h … no  
Checking for libsqlite3 … /usr/lib  
Checking for sql.h … no  
Checking for libsqlod … no  
Checking for sqlext.h … no  
Checking for libiodbc, libodbc, or odbc32 … /usr/lib  
Checking for Qt/qglobal.h … no  
Checking for moc or moc.exe … no  
Checking for rfio\_api.h … no  
Checking for librfio, libdpm, libcastorrfio, libshift, shiftmd, or shift … no  
Checking for rfio\_api.h … no  
Checking for stager\_api.h … no  
Checking for libcastorrfio, libshift, shiftmd, or shift … no  
Checking for gfal\_api.h … no  
Checking for libgfal … no  
Checking for gfal\_srm\_ifce\_types.h … no  
Checking for ApMon.h … no  
Checking for libapmoncpp … no  
Checking for fftw3.h … no  
Checking for libfftw3, or libfftw3-3 … no  
Checking for fitsio.h … no  
Checking for libcfitsio, or cfitsio … no  
Checking for gvc.h … no  
Checking for libgvc, or gvc … no  
Checking for libgraph, graph, libcgraph, or cgraph … no  
Checking for libcdt, or cdt … no  
Checking for libpathplan, or pathplan … no  
Checking for libexpat, or expat … /cern/lib  
Checking for libgvplugin\_dot\_layout, or gvplugin\_dot\_layout … no  
Checking for libPythia6 … no  
Checking for Pythia.h … no  
Checking for libpythia8 … no  
Checking for dcap.h … no  
Checking for libdcap … no  
Checking for chirp\_reli.h … no  
Checking for libchirp\_client … no  
Checking for hdfs.h … no  
Unable to find any JVMs matching version “(null)”.  
No Java runtime present, try --request to install.  
Checking for jni.h … no  
Checking for libhdfs … no  
Checking for libjvm … no  
Checking for libglite-api-wrapper … no  
Checking for gapiUI.h … no  
Checking for libgapiUI … no  
Checking for jpeglib.h … no  
Checking for png.h … /usr/X11/include  
Checking for tiffio.h … no  
Checking for libjpeg … no  
Checking for libtiff … no  
Checking for libz … /usr/lib  
Checking for libpng … /usr/X11/lib  
Checking whether to build included libAfterImage … yes  
Checking for ldap.h … no  
Checking for libldap … /usr/lib  
Checking for liblber … /usr/lib  
Checking for Python.h … /System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7  
Checking for python2.7, libpython2.7, libpython, python, or Python … /System/Library/Frameworks/Python.framework/Versions/2.7/lib  
Checking for ruby.h … no  
Checking for ruby/config.h … no  
Checking for libruby.2.0.0.dylib … /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib  
Checking for xml2-config … /usr/bin/xml2-config  
Checking for libxml2 version \>= 2.4.x … ok  
Checking for XrdVersion.hh … no  
Checking for libssl … /usr/lib  
Checking for libcrypto … /usr/lib  
Checking for openssl/bio.h … no  
Checking for t\_server.h … no  
Checking for libsrp … no  
Checking for libgmp … no  
Checking for libmisc … no  
Checking for pwauth.h … no  
Checking for krb5.h … no  
Checking for shadow passwords … no  
Checking for gsl/gsl\_version.h … /usr/local/include  
Checking for GSL version \>= 1.8 … ok  
Checking for libgsl, gslML, or gsl … /usr/local/lib  
Checking for libgslcblas, gslcblasML, gslcblas, or cblas … /usr/local/lib  
Checking whether /usr/local/lib/libgsl.a is compiled with -fPIC … yes  
Checking whether /usr/local/lib/libgslcblas.a is compiled with -fPIC … yes  
Checking whether to build libMathMore … yes  
Checking whether to build libGenVector … yes  
Checking whether to build libCintex … yes  
Checking whether to build libReflex … yes  
Checking whether to build libRooFit … yes  
Checking whether to build libMinuit2 … yes  
Checking whether to build libUnuran … yes  
Checking whether to build libGdml … yes  
Checking whether to build libTable … yes  
Checking whether to build libTMVA … yes  
Checking whether to build libMemStat … yes  
Checking whether to build afdsmgrd … no  
Checking whether to integrate experimental cling … no  
Checking what type of dictionaries to build … cint  
Writing config/Makefile.config … done  
Writing config/Makefile.comp … done  
Writing include/RConfigure.h … done  
Writing include/RConfigOptions.h … done  
Writing bin/root-config … done  
Writing etc/system.rootrc … done  
Writing etc/system.rootauthrc … done  
Writing etc/system.rootdaemonrc … done  
Writing etc/root.mimes … done  
Writing etc/daemons/rootd.rc.d … done  
Writing etc/daemons/rootd.xinetd … done  
Writing etc/daemons/proofd.rc.d … done  
Writing etc/daemons/proofd.xinetd … done  
Writing main/src/proofserv.sh … done  
Writing main/src/roots.sh … done  
Writing bin/memprobe … done  
Writing build/misc/root-help.el … done  
Writing macros/html.C … done  
Writing bin/thisroot.sh … done  
Writing bin/thisroot.csh … done  
Writing bin/setxrd.sh … done  
Writing bin/setxrd.csh … done  
Writing bin/genreflex … done  
Writing bin/genreflex-rootcint … done  
Writing config.status … done

Enabled support for asimage, astiff, bonjour, builtin\_afterimage, builtin\_ftgl, builtin\_glew, builtin\_zlib, builtin\_lzma, cintex, explicitlink, fink, gdml, genvector, mathmore, memstat, minuit2, opengl, python, reflex, roofit, rpath, shared, table, tmva, unuran, x11, xft, xml.

To build ROOT type:

make [/code]

so then make and I get the error I sent before.

Thanks a lot !

---

<div class="post-metadata">

**Author:** ![tpochep](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/t/f05b48/32.png) [@tpochep](https://root-forum.cern.ch/u/tpochep)\
**Post date:** [October 23, 2013, 4:06pm UTC](https://root-forum.cern.ch/t/problems-compiling-on-os-x-10-9/16774/23 "2013-10-23T16:06:42Z")

</div>

[quote=“giakov”]I run ./configure macosx64 --all  
…  
Enabled support for asimage, astiff, bonjour, builtin\_afterimage, builtin\_ftgl, builtin\_glew, builtin\_zlib, builtin\_lzma, cintex, explicitlink, fink, gdml, genvector, mathmore, memstat, minuit2, opengl, python, reflex, roofit, rpath, shared, table, tmva, unuran, x11, xft, xml.

To build ROOT type:

make [/code]

so then make and I get the error I sent before.

Thanks a lot ![/quote]

Can you, please, also show git commands you are using? Just to be sure 🙂  
And if I understand correctly, you installed the latest command line tools?

---

<div class="post-metadata">

**Author:** ![giakov](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/g/2bfe46/32.png) [@giakov](https://root-forum.cern.ch/u/giakov)\
**Post date:** [October 23, 2013, 4:32pm UTC](https://root-forum.cern.ch/t/problems-compiling-on-os-x-10-9/16774/24 "2013-10-23T16:32:53Z")

</div>

I don’t give any git commands… just a web download and untar the file.

The command line are the latest. I am pretty sure there is a conflict of the transition from libstdc++ to libc++.

Thanks again !

---

<div class="post-metadata">

**Author:** ![tpochep](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/t/f05b48/32.png) [@tpochep](https://root-forum.cern.ch/u/tpochep)\
**Post date:** [October 23, 2013, 4:41pm UTC](https://root-forum.cern.ch/t/problems-compiling-on-os-x-10-9/16774/25 "2013-10-23T16:41:13Z")

</div>

[quote=“giakov”]I don’t give any git commands… just a web download and untar the file.

The command line are the latest. I am pretty sure there is a conflict of the transition from libstdc++ to libc++.

Thanks again ![/quote]

Wait, what did you download exactly, can you, please, give me a link?

---

<div class="post-metadata">

**Author:** ![giakov](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/g/2bfe46/32.png) [@giakov](https://root-forum.cern.ch/u/giakov)\
**Post date:** [October 23, 2013, 4:44pm UTC](https://root-forum.cern.ch/t/problems-compiling-on-os-x-10-9/16774/26 "2013-10-23T16:44:13Z")

</div>

ftp://root.cern.ch/root/root\_v5.34.10.source.tar.gz

---

<div class="post-metadata">

**Author:** ![tpochep](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/t/f05b48/32.png) [@tpochep](https://root-forum.cern.ch/u/tpochep)\
**Post date:** [October 23, 2013, 4:49pm UTC](https://root-forum.cern.ch/t/problems-compiling-on-os-x-10-9/16774/27 "2013-10-23T16:49:36Z")

</div>

> [@giakov](#):
>
> ftp://root.cern.ch/root/root\_v5.34.10.source.tar.gz

I’m afraid this is not what you need to compile (this is not the branch I’ve mentioned in this topic).

Do:  
git clone [root.cern.ch/git/root.git](http://root.cern.ch/git/root.git) any-name-you-want  
cd any-name-you-want  
git checkout -t origin/v5-34-00-patches  
./configure  
make

---

<div class="post-metadata">

**Author:** ![giakov](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/g/2bfe46/32.png) [@giakov](https://root-forum.cern.ch/u/giakov)\
**Post date:** [October 23, 2013, 7:35pm UTC](https://root-forum.cern.ch/t/problems-compiling-on-os-x-10-9/16774/28 "2013-10-23T19:35:24Z")

</div>

Worked like charm ! Thanks a lot again !

---

<div class="post-metadata">

**Author:** ![Stefanos21](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/8e8cbc/32.png) [@Stefanos21](https://root-forum.cern.ch/u/Stefanos21)\
**Post date:** [October 24, 2013, 6:47am UTC](https://root-forum.cern.ch/t/problems-compiling-on-os-x-10-9/16774/29 "2013-10-24T06:47:54Z")

</div>

> [@tpochep](#):
>
> [quote=“giakov”]ftp://root.cern.ch/root/root\_v5.34.10.source.tar.gz

I’m afraid this is not what you need to compile (this is not the branch I’ve mentioned in this topic).

Do:  
git clone [root.cern.ch/git/root.git](http://root.cern.ch/git/root.git) any-name-you-want  
cd any-name-you-want  
git checkout -t origin/v5-34-00-patches  
./configure  
make[/quote]

Thanks a lot for the very clear and to point instructions!!

Cheers,  
Stefanos

---

<div class="post-metadata">

**Author:** ![unelg](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/u/71c47a/32.png) [@unelg](https://root-forum.cern.ch/u/unelg)\
**Post date:** [October 24, 2013, 9:20am UTC](https://root-forum.cern.ch/t/problems-compiling-on-os-x-10-9/16774/30 "2013-10-24T09:20:04Z")

</div>

Greetings,  
Is everything OK after compilation for all? I get lots of abnormalities like  
1)  
Warning: /usr/bin/atos is moving and will be removed from a future OS X release.

1. 

Error in TGNumberEntry::TGNumberEntry: arrow\_up.xpm not found  
Error in TGNumberEntry::TGNumberEntry: arrow\_down.xpm not found

This is patches compilation as described earlier.

---

<div class="post-metadata">

**Author:** ![tpochep](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/t/f05b48/32.png) [@tpochep](https://root-forum.cern.ch/u/tpochep)\
**Post date:** [October 24, 2013, 9:25am UTC](https://root-forum.cern.ch/t/problems-compiling-on-os-x-10-9/16774/31 "2013-10-24T09:25:27Z")

</div>

[quote=“unelg”]Greetings,  
Is everything OK after compilation for all? I get lots of abnormalities like  
1)  
Warning: /usr/bin/atos is moving and will be removed from a future OS X release.

1. 

Error in TGNumberEntry::TGNumberEntry: arrow\_up.xpm not found  
Error in TGNumberEntry::TGNumberEntry: arrow\_down.xpm not found

This is patches compilation as described earlier.[/quote]

How can I reproduce this?  
xpm files mentioned are (AFAIK) for “arrow buttons” in a scrollbar. I do not see this message, usually this problem has nothing to do with Mac OS/not Mac OS - people also has it on linuxes or when they have some mess with ROOT’s installation (I think, ROOT is not able to find ‘icons’ directory with xpms).

---

<div class="post-metadata">

**Author:** ![unelg](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/u/71c47a/32.png) [@unelg](https://root-forum.cern.ch/u/unelg)\
**Post date:** [October 24, 2013, 9:32am UTC](https://root-forum.cern.ch/t/problems-compiling-on-os-x-10-9/16774/32 "2013-10-24T09:32:25Z")

</div>

Simple: launch a TBrowser after compilation and installation (I always do a make install)  
I have:  
ROOT 5.34/10 (heads/v5-34-00-patches@v5-34-10-200-g9ad1eea, Oct 24 2013, 11:28:26 on macosx64)

root [0] TBrowser a  
Error in TGVScrollBar::TGVScrollBar: arrow\_\*.xpm not found

## \*\*\* Break \*\*\* segmentation violation Generating stack trace…

## Warning: /usr/bin/atos is moving and will be removed from a future OS X release. It is now available in the Xcode developer tools to be invoked via: `xcrun atos` To silence this warning, pass the ‘-d’ command-line flag to this tool.

## 0x00000001047ac1a9 in TGFrame::Resize(unsigned int, unsigned int) (in [libGui.so](http://libGui.so)) + 105

## Warning: /usr/bin/atos is moving and will be removed from a future OS X release. It is now available in the Xcode developer tools to be invoked via: `xcrun atos` To silence this warning, pass the ‘-d’ command-line flag to this tool.

0x00000001047d1e82 in TGListBox::Resize(unsigned int, unsigned int) (in [libGui.so](http://libGui.so)) + 66

---

<div class="post-metadata">

**Author:** ![tpochep](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/t/f05b48/32.png) [@tpochep](https://root-forum.cern.ch/u/tpochep)\
**Post date:** [October 24, 2013, 9:38am UTC](https://root-forum.cern.ch/t/problems-compiling-on-os-x-10-9/16774/33 "2013-10-24T09:38:07Z")

</div>

[quote=“unelg”]Simple: launch a TBrowser after compilation and installation (I always do a make install)  
I have:  
ROOT 5.34/10 (heads/v5-34-00-patches@v5-34-10-200-g9ad1eea, Oct 24 2013, 11:28:26 on macosx64)

root [0] TBrowser a  
Error in TGVScrollBar::TGVScrollBar: arrow\_\*.xpm not found

## \*\*\* Break \*\*\* segmentation violation Generating stack trace…

## Warning: /usr/bin/atos is moving and will be removed from a future OS X release. It is now available in the Xcode developer tools to be invoked via: `xcrun atos` To silence this warning, pass the ‘-d’ command-line flag to this tool.

## 0x00000001047ac1a9 in TGFrame::Resize(unsigned int, unsigned int) (in [libGui.so](http://libGui.so)) + 105

## Warning: /usr/bin/atos is moving and will be removed from a future OS X release. It is now available in the Xcode developer tools to be invoked via: `xcrun atos` To silence this warning, pass the ‘-d’ command-line flag to this tool.

0x00000001047d1e82 in TGListBox::Resize(unsigned int, unsigned int) (in [libGui.so](http://libGui.so)) + 66[/quote]

Yes, so you can search on this forum - people have this problem from time to time on different platforms with different reasons. I do not have it on my mac with 10.9.  
P.S. Also, I do not think it’s a good idea to do ‘make install’, just ‘make’ (with some options like -jN probably). It’s very possible (I’m only guessing) that make install copies ROOT’s binaries/libraries (I do not know where) but ‘icons’ directory is still not there and … you have this crash.

---

<div class="post-metadata">

**Author:** ![unelg](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/u/71c47a/32.png) [@unelg](https://root-forum.cern.ch/u/unelg)\
**Post date:** [October 24, 2013, 10:14am UTC](https://root-forum.cern.ch/t/problems-compiling-on-os-x-10-9/16774/34 "2013-10-24T10:14:07Z")

</div>

Hello again.  
I do these: ./configure; make -j2; make install. (that worked in the last 10+ years) I don’t see why it should fail now. make install does a working copy of all needed libs,bin and shared items like icons. In fact, this is how we can have “binary only” distributions. Moreover I searched as given below.  
My previous root installation:  
/cern/root-5.34-03/icons/arrow.xpm  
My current installation:  
/cern/root-current/icons/arrow.xpm

The ROOTSYS, PATH, LD and DYLD paths are what they were before. I can’t imagine what has changed other than the operating system and root sources.

---

<div class="post-metadata">

**Author:** ![tpochep](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/t/f05b48/32.png) [@tpochep](https://root-forum.cern.ch/u/tpochep)\
**Post date:** [October 24, 2013, 10:29am UTC](https://root-forum.cern.ch/t/problems-compiling-on-os-x-10-9/16774/35 "2013-10-24T10:29:56Z")

</div>

[quote=“unelg”]Hello again.  
I do these: ./configure; make -j2; make install. (that worked in the last 10+ years) I don’t see why it should fail now. [/quote]

Neither do I.

ROOT looks for icons:

```auto
# ifdef ROOTICONPATH

   icon_path = TString::Format("%s/icons:%s:.:", gSystem->HomeDirectory(),
                               ROOTICONPATH);
# ifdef EXTRAICONPATH
   icon_path += gEnv->GetValue("Gui.IconPath", EXTRAICONPATH);
# else
   icon_path += gEnv->GetValue("Gui.IconPath", "");
# endif
# else
   icon_path = TString::Format("%s/icons:%s/icons:.:", gSystem->HomeDirectory(),
                                                       gSystem->Getenv("ROOTSYS"));
   icon_path += gEnv->GetValue("Gui.IconPath", "");
# endif

```

ROOTICONPATH is defined if you had some special options for a configure script (== $ROOTSYS/icons).  
The path is a sum of $HOME/icons, $ROOTSYS/icons, Gui.IconPath (which is defined in the etc/system.rootrc) + probably EXTRAICONPATH.  
So it looks like you DO NOT HAVE ‘icons’ in any of these places. If you do, please, provide here exact locations/path - what is ROOTSYS, where you place icons, output of gSystem-\>Getenv(“ROOTSYS”) etc.

I’ve tried make install on ubuntu - it does nothing actually, how does it work for you???

[quote]make install  
Everything already installed…[/quote]

---

<div class="post-metadata">

**Author:** ![unelg](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/u/71c47a/32.png) [@unelg](https://root-forum.cern.ch/u/unelg)\
**Post date:** [October 24, 2013, 12:50pm UTC](https://root-forum.cern.ch/t/problems-compiling-on-os-x-10-9/16774/36 "2013-10-24T12:50:05Z")

</div>

ROOT 5.34/10 (heads/v5-34-00-patches@v5-34-10-200-g9ad1eea, Oct 24 2013, 11:47:00 on macosx64)

CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010  
Type ? for help. Commands must be C++ statements.  
Enclose multiple statements between { }.  
root [0] gSystem-\>Getenv(“ROOTSYS”)  
(const char\* 0x7ffaa8c080a8)"/cern/root-current"  
root [1] system(“ls $ROOTSYS/icons”)  
GoBack.gif bld\_grab.xpm bld\_vseparator.xpm eve\_viewer.xpm geotube\_s.xpm mb\_exclamation\_s.xpm record\_t.xpm  
GoForward.gif bld\_grab\_d.xpm bld\_vslider.xpm expression\_t.xpm geotube\_t.xpm mb\_question\_s.xpm recursor.png  
GoHome.gif bld\_grid.png branch-cl\_t.xpm f1\_s.xpm geotubeseg\_s.xpm mb\_stop\_s.xpm refresh.png  
ReloadPage.gif bld\_grid.xpm branch-ob\_t.xpm f1\_t.xpm  
(I didn’t give the full icons list.)

---

<div class="post-metadata">

**Author:** ![tpochep](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/t/f05b48/32.png) [@tpochep](https://root-forum.cern.ch/u/tpochep)\
**Post date:** [October 24, 2013, 1:01pm UTC](https://root-forum.cern.ch/t/problems-compiling-on-os-x-10-9/16774/37 "2013-10-24T13:01:16Z")

</div>

[quote=“unelg”]ROOT 5.34/10 (heads/v5-34-00-patches@v5-34-10-200-g9ad1eea, Oct 24 2013, 11:47:00 on macosx64)

GoBack.gif bld\_grab.xpm bld\_vseparator.xpm eve\_viewer.xpm geotube\_s.xpm mb\_exclamation\_s.xpm record\_t.xpm  
GoForward.gif bld\_grab\_d.xpm bld\_vslider.xpm expression\_t.xpm geotube\_t.xpm mb\_question\_s.xpm recursor.png  
GoHome.gif bld\_grid.png branch-cl\_t.xpm f1\_s.xpm geotubeseg\_s.xpm mb\_stop\_s.xpm refresh.png  
ReloadPage.gif bld\_grid.xpm branch-ob\_t.xpm f1\_t.xpm  
(I didn’t give the full icons list.)[/quote]

Ok, can you modify the code to print this icon\_path? It’s in the ROOT’s source tree, in gui/gui/src/TGResourcePool.cxx, ~line 126 - insert something like  
std::cout\<\<icon\_path.Data()\<\<std::endl; (and include ) or use printf if you want.  
And you’ll have to re-compile.  
Also, in this list you do not have arrow.xpm actually, but I guess you’ve simply omitted it.

Also, before re-building, can you, please, without setting any env. variables (that’s important) do: . [thisroot.sh](http://thisroot.sh) from /cern/root-current/bin and try to start ROOT’s command line session and create TCanvas/TBrowser whatever?

---

<div class="post-metadata">

**Author:** ![unelg](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/u/71c47a/32.png) [@unelg](https://root-forum.cern.ch/u/unelg)\
**Post date:** [October 24, 2013, 1:21pm UTC](https://root-forum.cern.ch/t/problems-compiling-on-os-x-10-9/16774/38 "2013-10-24T13:21:57Z")

</div>

1. arrow icons were at the lower part of the list, hence my omission.

2. you asked" Also, before re-building, can you, please, without setting any env. variables (that’s important) do: . [thisroot.sh](http://thisroot.sh) from /cern/root-current/bin and try to start ROOT’s command line session and create TCanvas/TBrowser whatever?"  
I did this. I can as before have a TCanvas, no problem but icon problem in TBrowser.

3. I also added the cout and recompiled.  
root [0] TCanvas a  
Icon Path:/Users/ngu/icons:/Users/ngu/jroot/abc/icons:.:/Users/ngu/icons:/Users/ngu/jroot/abc/icons:.  
root [1] system (“ls -l /Users/ngu/jroot/abc/icons/arr\*xpm”)  
-rw-r–r-- 1 ngu staff 424 Oct 24 05:48 /Users/ngu/jroot/abc/icons/arrow.xpm  
-rw-r–r-- 1 ngu staff 185 Oct 24 05:48 /Users/ngu/jroot/abc/icons/arrow\_down.xpm  
-rw-r–r-- 1 ngu staff 282 Oct 24 05:48 /Users/ngu/jroot/abc/icons/arrow\_left.xpm  
-rw-r–r-- 1 ngu staff 283 Oct 24 05:48 /Users/ngu/jroot/abc/icons/arrow\_right.xpm  
-rw-r–r-- 1 ngu staff 273 Oct 24 05:48 /Users/ngu/jroot/abc/icons/arrow\_right2.xpm  
-rw-r–r-- 1 ngu staff 183 Oct 24 05:48 /Users/ngu/jroot/abc/icons/arrow\_up.xpm

root [4] gSystem-\>Getenv(“ROOTSYS”)  
(const char\* 0x7f9810505f68)"/Users/ngu/jroot/abc"

root [5] TBrowser aa  
Error in TGComboBox::TGComboBox: arrow\_down.xpm not found  
Error in TGVScrollBar::TGVScrollBar: arrow\_\*.xpm not found

## \*\*\* Break \*\*\* segmentation violation Generating stack trace…

Warning: /usr/bin/atos is moving and will be removed from a future OS X release.  
It is now available in the Xcode developer tools to be invoked via: `xcrun atos`

---

<div class="post-metadata">

**Author:** ![tpochep](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/t/f05b48/32.png) [@tpochep](https://root-forum.cern.ch/u/tpochep)\
**Post date:** [October 24, 2013, 1:45pm UTC](https://root-forum.cern.ch/t/problems-compiling-on-os-x-10-9/16774/39 "2013-10-24T13:45:20Z")

</div>

[quote=“unelg”]0) arrow icons were at the lower part of the list, hence my omission.

1. you asked" Also, before re-building, can you, please, without setting any env. variables (that’s important) do: . [thisroot.sh](http://thisroot.sh) from /cern/root-current/bin and try to start ROOT’s command line session and create TCanvas/TBrowser whatever?"  
I did this. I can as before have a TCanvas, no problem but icon problem in TBrowser.

2. I also added the cout and recompiled.  
root [0] TCanvas a  
Icon Path:/Users/ngu/icons:/Users/ngu/jroot/abc/icons:.:/Users/ngu/icons:/Users/ngu/jroot/abc/icons:.  
root [1] system (“ls -l /Users/ngu/jroot/abc/icons/arr\*xpm”)  
-rw-r–r-- 1 ngu staff 424 Oct 24 05:48 /Users/ngu/jroot/abc/icons/arrow.xpm  
-rw-r–r-- 1 ngu staff 185 Oct 24 05:48 /Users/ngu/jroot/abc/icons/arrow\_down.xpm  
-rw-r–r-- 1 ngu staff 282 Oct 24 05:48 /Users/ngu/jroot/abc/icons/arrow\_left.xpm  
-rw-r–r-- 1 ngu staff 283 Oct 24 05:48 /Users/ngu/jroot/abc/icons/arrow\_right.xpm  
-rw-r–r-- 1 ngu staff 273 Oct 24 05:48 /Users/ngu/jroot/abc/icons/arrow\_right2.xpm  
-rw-r–r-- 1 ngu staff 183 Oct 24 05:48 /Users/ngu/jroot/abc/icons/arrow\_up.xpm

root [4] gSystem-\>Getenv(“ROOTSYS”)  
(const char\* 0x7f9810505f68)"/Users/ngu/jroot/abc"

root [5] TBrowser aa  
Error in TGComboBox::TGComboBox: arrow\_down.xpm not found  
Error in TGVScrollBar::TGVScrollBar: arrow\_\*.xpm not found

## \*\*\* Break \*\*\* segmentation violation Generating stack trace…

Warning: /usr/bin/atos is moving and will be removed from a future OS X release.  
It is now available in the Xcode developer tools to be invoked via: `xcrun atos`[/quote]

Ok, now with the same setup try

gSystem-\>Which(first\_parameter, “arrow\_down.xpm”)

first\_parameter is “/Users/ngu/icons:/Users/ngu/jroot/abc/icons:.:/Users/ngu/icons:/Users/ngu/jroot/abc/icons:.”.

---

<div class="post-metadata">

**Author:** ![unelg](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/u/71c47a/32.png) [@unelg](https://root-forum.cern.ch/u/unelg)\
**Post date:** [October 24, 2013, 2:23pm UTC](https://root-forum.cern.ch/t/problems-compiling-on-os-x-10-9/16774/40 "2013-10-24T14:23:11Z")

</div>

root [2] TString first\_parameter="/Users/ngu/icons:/Users/ngu/jroot/abc/icons:.:/Users/ngu/icons:/Users/ngu/jroot/abc/icons:.“  
root [3] gSystem-\>Which(first\_parameter, “arrow\_down.xpm”)  
(char\* 0x7f98540c3030)”/Users/ngu/jroot/abc/icons/arrow\_down.xpm"

[Previous page](https://root-forum.cern.ch/t/problems-compiling-on-os-x-10-9/16774.md?page=1)

[Next page](https://root-forum.cern.ch/t/problems-compiling-on-os-x-10-9/16774.md?page=3)
