Opened 10 years ago
Last modified 6 years ago
#44136 closed defect
PyROOT with root6 ACLiC Issues — at Version 2
Reported by: | jfcaron3 | Owned by: | jonesc@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | mojca@… | |
Port: | root6 |
Description (last modified by mojca (Mojca Miklavec))
Hi, I've tried reporting this on ROOTTalk but haven't gotten anywhere. It looks like it might be MacPorts-specific. ROOTTalk post: http://root.cern.ch/phpBB3/viewtopic.php?f=14&t=18229
I tried using MacPorts provided ROOT 6.00.01 and I get the same behavior, so it's not my customized GSL & ROOT. This is still a problem on 6.06.00.
Steps to reproduce.
File tuple.C
:
#ifndef __MAKECINT__ #include <tuple> #endif #include <array> #include <utility> int foo() { int a,b; std::tie(a,b)= std::make_pair(5,6); return a; }
When running python2.7
:
> python2.7 Python 2.7.11 (default, Dec 8 2015, 20:16:01) [GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import ROOT >>> ROOT.gROOT.ProcessLine(".L tuple.C+") Info in <TMacOSXSystem::ACLiC>: creating shared library /private/tmp/./tuple_C.so ld: can't link with bundle (MH_BUNDLE) only dylibs (MH_DYLIB) file '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_locale.so' for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) Error in <ACLiC>: Compilation failed! 0L >>>
When running root6
:
$ root6 ... root [0] .L tuple.C+ Info in <TMacOSXSystem::ACLiC>: creating shared library /private/tmp/./tuple_C.so root [1] .q
(Running python2.7
after root6
would make the python command succeed because the files are already there.)
Change History (2)
comment:1 Changed 10 years ago by mojca (Mojca Miklavec)
Cc: | jonesc@… removed |
---|---|
Owner: | changed from macports-tickets@… to jonesc@… |
Version: | 2.3.0 |
comment:2 Changed 9 years ago by mojca (Mojca Miklavec)
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.