Hello:
I saw that cling is available and hoped it would be easier to use than cint.
I downloaded and finally compiled and installed llvm and clang, using the tgz tar ball for llvm 2.9
I downloaded using svn cling and placed it in the llvm/tools director before compiling. The patches did not work, leaving lldb unfound.
cling did not compile. Since I discovered svn for Windows 32, I downloaded the trunk of ROOT on Monday, 31 OCT about 4:30 PM New York time (I don’t know how to discover trunk number).
I had received this warning the first time I tried to compile and received it again. Missing mousepad in XFCE did not allow me to copy/paste the new error, but it is the same as the first time.
I am using Fedora 14 default installation on a Pentium III.
g++ -O2 -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -pthread -I/usr/local/include -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O3 -fomit-frame-pointer -fPIC -Woverloaded-virtual -Wcast-qual -I/home/unk/root/cint/cling/include ‘-DR__LLVMDIR="/usr/local"’ -Wno-shadow -Wno-unused-parameter -o core/meta/src/TCintWithCling.o -c /home/unk/root/core/meta/src/TCintWithCling.cxx
/home/unk/root/core/meta/src/TCintWithCling.cxx: In constructor ˜TCintWithCling::TCintWithCling(const char*, const char*):
/home/unk/root/core/meta/src/TCintWithCling.cxx:144:48: error: ˜class clang::HeaderSearch has no member named ˜configureModules
make: *** [core/meta/src/TCintWithCling.o] Error 1
This first time I did not use --build=debug, second time I did.
Should I just wait a couple weeks for cling in the ROOT tar ball and llvm 3.0?
I have been loaned now an Asus Eee, running Windows XP. I installed on a partition Scientific Linux 6.1 and added all the libX?? to compile ROOT. I also downloaded and compiled the new llvm 3.0 and clang 3.0 from 1 December release.
Now configure cannot find llvm/clang. I read ./configure --help and saw that I need to include
–with-llvm-config
and assumed that I was to append
=/usr/local/include/config
I tried that with and without a final / and still no luck.
This is with the lastest ROOT source tar ball release.
I know this has to be a stupid error, but I cannot try enough ways to have ./configure find the include files.
In the /usr/local/include directory is an llvm configure directory. I assume everything compiled and installed correctly.
And now I see the trunk number is listed as I start ROOT.
I finally figured out that I had not put --enable-cling on the ./configure.
Sorry. But after a lot of compilation, it stopped with this error. I’m pasting two stanzas of compiler output to help identify where the problem occured: