# Root6 compilation fails with AfterImage installation problem

**URL:** <https://root-forum.cern.ch/t/root6-compilation-fails-with-afterimage-installation-problem/53128>\
**Category:** ROOT\
**Tags:** installation\
**Created:** [January 16, 2023, 3:12pm UTC](https://root-forum.cern.ch/t/root6-compilation-fails-with-afterimage-installation-problem/53128 "2023-01-16T15:12:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pedromendes](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/p/53a042/32.png) [@pedromendes](https://root-forum.cern.ch/u/pedromendes)\
**Post date:** [January 16, 2023, 3:12pm UTC](https://root-forum.cern.ch/t/root6-compilation-fails-with-afterimage-installation-problem/53128/1 "2023-01-16T15:12:35Z")

</div>

Hello

I’m trying to compile Root6 from source in a Centos7 machine, however I’m getting the following problem regarding AfterImage installation. After several attempts (downgrade to another Root6 version, change installation directory), I’m still unable to install it without errors. It appears to try the installation with the Root builtinAfterImage but fails anyway.

I need Root6 in centos7, but unfortunately I cannot use the provide binaries since the last one for centos7 is compiled with gcc4.8 and I need a more recent version.

Can you provide some help on this? I attach some printscreens with the errors

 ![Screenshot from 2023-01-16 12-29-08-1](https://root-forum.cern.ch/uploads/default/original/3X/4/9/49a828ef05b107a2ff423908fab43b2123d97bb9.png)  
 ![Screenshot from 2023-01-16 12-29-05-1](https://root-forum.cern.ch/uploads/default/original/3X/9/b/9b54895504568b53d7c9b1834d8d9e7b4f03621e.png)  
 ![Screenshot from 2023-01-16 12-28-17-1](https://root-forum.cern.ch/uploads/default/original/3X/3/5/3588bbd214919de75d655211523bdfd7b90d998e.png)

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [January 16, 2023, 4:45pm UTC](https://root-forum.cern.ch/t/root6-compilation-fails-with-afterimage-installation-problem/53128/2 "2023-01-16T16:45:24Z")

</div>

I think this should have been fixed in most recent version of ROOT. I’ll have to check and let you know asap

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [January 16, 2023, 8:33pm UTC](https://root-forum.cern.ch/t/root6-compilation-fails-with-afterimage-installation-problem/53128/3 "2023-01-16T20:33:51Z")

</div>

OK, so the problem comes from the `@` in the path. See [Building built-in libAfterImage fails if build path contains `@` · Issue #7786 · root-project/root · GitHub](https://github.com/root-project/root/issues/7786)

---

<div class="post-metadata">

**Author:** ![pedromendes](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/p/53a042/32.png) [@pedromendes](https://root-forum.cern.ch/u/pedromendes)\
**Post date:** [January 18, 2023, 4:21pm UTC](https://root-forum.cern.ch/t/root6-compilation-fails-with-afterimage-installation-problem/53128/4 "2023-01-18T16:21:45Z")

</div>

Hello @bellenot

This problem is solved after apply the suggestion you gave in the file {builddir}/Source/root/graf2d/asimage/src/libAfterImage/configure

Basically I substituted the @ by % as mentioned

thank you!

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [February 1, 2023, 4:21pm UTC](https://root-forum.cern.ch/t/root6-compilation-fails-with-afterimage-installation-problem/53128/5 "2023-02-01T16:21:55Z")

</div>

Closed on February 1, 2023, 4:21pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
