# ROOTSYS and configure --prefix

**URL:** <https://root-forum.cern.ch/t/rootsys-and-configure-prefix/14685>\
**Category:** ROOT\
**Created:** [August 1, 2012, 9:47pm UTC](https://root-forum.cern.ch/t/rootsys-and-configure-prefix/14685 "2012-08-01T21:47:48Z")\
**Posts on this page:** 2\
**Page:** 1

<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:** [August 1, 2012, 9:47pm UTC](https://root-forum.cern.ch/t/rootsys-and-configure-prefix/14685/1 "2012-08-01T21:47:48Z")

</div>

The thread [url][Problems installing root with --prefix=$HOME/.local](https://root-forum.cern.ch/t/problems-installing-root-with-prefix-home-local/14683/1) seems to suggest that if one first defines ROOTSYS and then configures ROOT using “–prefix” then one gets a screwed installation.  
I didn’t try it myself, but if this is really the case, then one should add an explicit warning (in big letters) in [http://root.cern.ch/drupal/content/installing-root-source](http://root.cern.ch/drupal/content/installing-root-source)  
And if you mention ROOTSYS there, maybe you could also add my notes from [url][Installing ROOT from Source](https://root-forum.cern.ch/t/installing-root-from-source/13647/1)

---

<div class="post-metadata">

**Author:** ![rdm](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/rdm/32/11082_2.png) [@rdm](https://root-forum.cern.ch/u/rdm)\
**Post date:** [September 18, 2012, 2:11pm UTC](https://root-forum.cern.ch/t/rootsys-and-configure-prefix/14685/2 "2012-09-18T14:11:19Z")

</div>

Well using ${ROOTSYS} in --prefix= causes a problem, not having ROOTSYS defined per se.

Cheers, Fons.
