Package Details: cling-git r5123.45318c5a-1

Git Clone URL: https://aur.archlinux.org/cling-git.git (read-only, click to copy)
Package Base: cling-git
Description: Interactive C++ interpreter built on the top of LLVM and Clang libraries.
Upstream URL: https://root.cern.ch/cling
Licenses: custom:Cling Release License
Submitter: hagabaka
Maintainer: ralphptorres
Last Packager: simonfxr
Votes: 45
Popularity: 0.000000
First Submitted: 2013-06-08 07:00 (UTC)
Last Updated: 2023-10-02 16:50 (UTC)

Dependencies (7)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

hagabaka commented on 2013-10-22 14:05 (UTC)

This should be solved by removing the clang=3.3 dependency, and installing the clang headers (by not removing them in package()). Perhaps it's best to install to /opt to avoid conflict with clang. However the package takes too long and too much disk space for me to experiment. So I have disowned it. If I do get it working in the future and no one else has adopted it, I will. I was hoping to figure out a way to install the headers into something like /usr/lib/cling/clang to avoid conflict with clang package, but failed. The question I posted at ROOT forum is here: http://root.cern.ch/phpBB3/viewtopic.php?f=21&t=17097&sid=2e54a7618a9da447eb32567c66171880

hauptmech commented on 2013-10-20 22:02 (UTC)

I get the following error: ERROR in cling::CIFactory::createCI(): resource directory /usr/lib/clang/3.4 not found! In file included from -:1: In file included from input_line_2:1: In file included from /home/teh/tmp/cling-git/src/llvm/tools/cling/include/cling/Interpreter/ValuePrinter.h:11: In file included from /../lib64/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../include/c++/4.8.1/string:40: In file included from /../lib64/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../include/c++/4.8.1/bits/char_traits.h:40: In file included from /../lib64/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../include/c++/4.8.1/bits/postypes.h:40: In file included from /../lib64/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../include/c++/4.8.1/cwchar:44: /usr/include/wchar.h:39:11: fatal error: 'stdarg.h' file not found # include <stdarg.h> =========== Clang version is 3.3 svn info for the src/llvm dir: Working Copy Root Path: /home/user/tmp/cling-git/src/llvm URL: http://llvm.org/svn/llvm-project/llvm/trunk Relative URL: ^/llvm/trunk Repository Root: http://llvm.org/svn/llvm-project Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 Revision: 191429 Node Kind: directory Schedule: normal Last Changed Author: aemerson Last Changed Rev: 191428 Last Changed Date: 2013-09-26 14:22:36 +0200 (Thu, 26 Sep 2013)

hagabaka commented on 2013-09-24 00:24 (UTC)

No longer conflicts with clang, but instead depends on clang=3.3 and uses its headers. This might be broken when the clang package is upgraded in the future. I'm trying to figure out how to make cling use a different path for headers. I've tried ./configure --with-clang-resource-dir, and patching CIFactory::createCI in cling/lib/Interpreter/CIFactory.cpp. But cling still uses /usr/lib/clang/3.3/.

alucryd commented on 2013-08-28 09:40 (UTC)

thestinger: Processing the aurdupes, it seems upstream has moved to git. I'll be merging this into cling-git.

hagabaka commented on 2013-06-08 07:03 (UTC)

I've created a PKGBUILD based on this to build from cling's git repository: https://aur.archlinux.org/packages/cling-git/

Earnest commented on 2013-04-29 15:00 (UTC)

I'm getting this build error during llvm compliation: http://ix.io/5p5 System ------ Intel(R) Core(TM) i5-2540M CPU @ 2.60GHz x86_64 installation gcc{,-lib} 4.8.0-3 makepkg.conf flags ------------------ CPPFLAGS="-D_FORTIFY_SOURCE=2" CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -flto" CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -flto" LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro" MAKEFLAGS="-j4"

demonicmaniac commented on 2013-01-01 03:28 (UTC)

ASSEMBLE: clang_linux/full-i386/i386: /home/bugger/yaourtbuild/cling-svn/src/llvm-build/projects/compiler-rt/lib/i386/floatundisf.S /home/bugger/yaourtbuild/cling-svn/src/llvm-build/projects/compiler-rt/lib/i386/floatundisf.S:82:15: error: invalid reference to undefined symbol movsd sticky-0b(%ecx,%eax,8), %xmm1

thestinger commented on 2012-08-15 13:33 (UTC)

The issue is that the cmake build system doesn't seem to support an equivalent to --enable-targets=host. At the moment there's a workaround in the PKGBUILD though so messing with the /usr/bin/python symlink is no longer necessary.