# ROOT 5\_26a on Fedora 12, shape.h missing (fix)

**URL:** <https://root-forum.cern.ch/t/root-5-26a-on-fedora-12-shape-h-missing-fix/9548>\
**Category:** ROOT\
**Created:** [January 26, 2010, 6:47pm UTC](https://root-forum.cern.ch/t/root-5-26a-on-fedora-12-shape-h-missing-fix/9548 "2010-01-26T18:47:40Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![rootmonkey](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/r/f6c823/32.png) [@rootmonkey](https://root-forum.cern.ch/u/rootmonkey)\
**Post date:** [January 26, 2010, 6:47pm UTC](https://root-forum.cern.ch/t/root-5-26a-on-fedora-12-shape-h-missing-fix/9548/1 "2010-01-26T18:47:40Z")

</div>

Dear Root Talk,

When trying to compile root 5.26a on Fedora 12 (x86\_64) I initially got the following error message when running ./configure

```auto
...
Checking for X11/extensions/shape.h ... no
configure: X11/extensions/shape.h header (xorg-x11-proto-devel) MUST be installed
```

The fix was to create a symbolic link

```auto
ln -s /usr/include/X11/extensions/shapeproto.h /usr/include/X11/extensions/shape.h
```

Looking at the shapeproto.h file I see the following comment

```auto
/*
 * Protocol requests constants and alignment values
 * These would really be in SHAPE's X.h and Xproto.h equivalents
 */
```

This is with xorg-x11-proto-devel version 7.4-35.fc12.

Bertrand

---

<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:** [January 27, 2010, 9:23am UTC](https://root-forum.cern.ch/t/root-5-26a-on-fedora-12-shape-h-missing-fix/9548/2 "2010-01-27T09:23:20Z")

</div>

Hi,

please remove the symbolic link and install instead package:

libXext-devel-1.1-2.fc12.i686

Cheers, Fons.

---

<div class="post-metadata">

**Author:** ![rootmonkey](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/r/f6c823/32.png) [@rootmonkey](https://root-forum.cern.ch/u/rootmonkey)\
**Post date:** [January 27, 2010, 6:50pm UTC](https://root-forum.cern.ch/t/root-5-26a-on-fedora-12-shape-h-missing-fix/9548/3 "2010-01-27T18:50:50Z")

</div>

Hi Fons,

Thanks for the suggestion, but it didn’t work

```auto
[root@bbiritz-fedora12 root5_26a_test]# rm /usr/include/X11/extensions/shape.h 
rm: remove regular file `/usr/include/X11/extensions/shape.h'? y
[root@bbiritz-fedora12 root5_26a_test]# ./configure 
Configuring for linux
Checking for GNU Make version >= 3.79.1 ... ok
Checking for C compiler ... gcc
Checking for C++ compiler ... g++
Checking for linker (LD) ... g++
Checking for F77 compiler ... no F77 compiler gfortran found
Checking for libX11 ... /usr/lib
Checking for X11/Xlib.h ... /usr/include
Checking for X11/Xft/Xft.h ... /usr/include
Checking for X11/extensions/shape.h ... no
configure: X11/extensions/shape.h header (xorg-x11-proto-devel) MUST be installed
[root@bbiritz-fedora12 root5_26a_test]# yum list *libXext*
Loaded plugins: presto, refresh-packagekit
Installed Packages
libXext.i686 1.1-2.fc12 @updates
libXext-devel.i686 1.1-2.fc12 @updates
[root@bbiritz-fedora12 root5_26a_test]#
```

Any suggestions?

Bertrand

---

<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:** [January 27, 2010, 9:13pm UTC](https://root-forum.cern.ch/t/root-5-26a-on-fedora-12-shape-h-missing-fix/9548/4 "2010-01-27T21:13:55Z")

</div>

Did you check if those files are there. See this page:

[root.cern.ch/drupal/content/build-prerequisites](http://root.cern.ch/drupal/content/build-prerequisites)

and verify. If not do yum install. Works fine for me so it should also for you.

– Fons

---

<div class="post-metadata">

**Author:** ![rootmonkey](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/r/f6c823/32.png) [@rootmonkey](https://root-forum.cern.ch/u/rootmonkey)\
**Post date:** [January 27, 2010, 10:09pm UTC](https://root-forum.cern.ch/t/root-5-26a-on-fedora-12-shape-h-missing-fix/9548/5 "2010-01-27T22:09:11Z")

</div>

Hi Fons,

I had everything already installed besides the optional packages. Installed those just for kicks and no change, it still asks for the shapes.h file.

The system I am running is

```auto
uname -a
Linux bbiritz-fedora12 2.6.31.12-174.2.3.fc12.i686 #1 SMP Mon Jan 18 20:22:46 UTC 2010 i686 i686 i386 GNU/Linux
```

Any other ideas?

Thanks,  
Bertrand

---

<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:** [January 27, 2010, 11:50pm UTC](https://root-forum.cern.ch/t/root-5-26a-on-fedora-12-shape-h-missing-fix/9548/6 "2010-01-27T23:50:07Z")

</div>

Do you have these two files on your system:

/usr/include/X11/extensions/shape.h  
/usr/lib/libXext.so

if not install the package or configure will fail.

Cheers, Fons.

---

<div class="post-metadata">

**Author:** ![rootmonkey](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/r/f6c823/32.png) [@rootmonkey](https://root-forum.cern.ch/u/rootmonkey)\
**Post date:** [January 28, 2010, 12:23am UTC](https://root-forum.cern.ch/t/root-5-26a-on-fedora-12-shape-h-missing-fix/9548/7 "2010-01-28T00:23:23Z")

</div>

Hi Fons,

Eh, I think we are talking past one another 🙂 The problem is there is no shape.h even though I have the library installed

```auto
[root@bbiritz-fedora12 ~]# ls /usr/include/X11/extensions/sha*
/usr/include/X11/extensions/shapeconst.h
/usr/include/X11/extensions/shapeproto.h
[root@bbiritz-fedora12 ~]# ls /usr/lib/libXext.so
/usr/lib/libXext.so
```

So you are running the same library

```auto
yum list libXext
Loaded plugins: presto, refresh-packagekit
Installed Packages
libXext.i686 1.1-2.fc12
```

and have that file present?

Regards,  
Bertrand

---

<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:** [January 28, 2010, 12:52am UTC](https://root-forum.cern.ch/t/root-5-26a-on-fedora-12-shape-h-missing-fix/9548/8 "2010-01-28T00:52:40Z")

</div>

Do:

rpm -q -l libXext-devel

to list the contents of the package, does it show the shape.h file? Maybe it was not installed since you made the link. Try reinstalling it:

rpm -d libXext-devel  
yum install libXext-devel

Cheers, Fons.

---

<div class="post-metadata">

**Author:** ![rootmonkey](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/r/f6c823/32.png) [@rootmonkey](https://root-forum.cern.ch/u/rootmonkey)\
**Post date:** [January 28, 2010, 1:09am UTC](https://root-forum.cern.ch/t/root-5-26a-on-fedora-12-shape-h-missing-fix/9548/9 "2010-01-28T01:09:18Z")

</div>

Hi Fons,

Ha, you are right. After removing the link and reinstalling the library shape.h is there.

Thanks,  
Bertrand
