SCIENTIFIC-LINUX-USERS Archives

August 2015

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Connie Sieh <[log in to unmask]>
Reply To:
Connie Sieh <[log in to unmask]>
Date:
Mon, 10 Aug 2015 17:55:27 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (56 lines)
> --047d7bd9006e956b96051cfc958d
> Content-Type: text/plain; charset="UTF-8"
> Content-Transfer-Encoding: quoted-printable
>
> I have installed Scientific Linux.
>
> I would like to use clang. I see that clang is not part of the yum
> repository.
>
> I downloaded the latest Fedora zip from clang.llvm.org and installed clang
> in /usr/local
>
> When I go to run clang I get an error that GLIBCXX 3.4.20 is not available.
>
> I have found in libstdc++
> =E2=80=8BGLIBCXX =E2=80=8B
> 3.4 to 3.4.19, but not GLIBCXX 3.4.20
> =E2=80=8B.=E2=80=8B
>
> My version of gcc installed is 4.8.3 9.3l7
> =E2=80=8B.
>
> I have looked for solutions on the web and many are partial or requiring
> complete source build of clang.
>
> I might be able to use a previous version or so of clang to that version
> that wants to use GLIBCXX 3.4.19 or less, but since clang was not installed
> via yum, I'm not certain how to download grade it properly.
>
> Are there any recommendations from this list on how to
> (uninstall/re-install) install clang on Scientific Linux?
>
> I understand that Scientific Linux is a variant of Fedora. Many of the
> tasks recommended for Fedora apply to Scientific Linux, but I'm still lost
> as my administration skills are being tasked.
>
> Thanks for the help and education.
>
> Keith Smith
>
> =E2=80=8B
>
> --047d7bd9006e956b96051cfc958d
> Content-Type: text/html; charset="UTF-8"
> Content-Transfer-Encoding: quoted-printable
>

If you installed Scientific Linux 6 or 7 then clang is available via the 
"epel" repo.

yum --enablerepo=epel install clang



-Connie Sieh

ATOM RSS1 RSS2