Changes between Initial Version and Version 2 of Ticket #44136


Ignore:
Timestamp:
Dec 17, 2015, 12:11:57 AM (8 years ago)
Author:
mojca (Mojca Miklavec)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #44136

    • Property Owner changed from macports-tickets@… to jonesc@…
    • Property Cc jonesc@… removed
    • Property Version changed from 2.3.0 to
  • Ticket #44136 – Description

    initial v2  
    33http://root.cern.ch/phpBB3/viewtopic.php?f=14&t=18229
    44
    5 I tried using MacPorts provided ROOT 6.00.01 and I get the same behavior, so it's not my customized GSL & ROOT.  
     5I 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.
    66
    7 Can anyone reproduce with the minimal script in the later reply?
     7Steps to reproduce.
     8
     9File `tuple.C`:
     10{{{
     11#ifndef __MAKECINT__
     12#include <tuple>
     13#endif
     14#include <array>
     15#include <utility>
     16int foo() {
     17  int a,b;
     18  std::tie(a,b)= std::make_pair(5,6);
     19  return a;
     20}
     21}}}
     22
     23When running `python2.7`:
     24{{{
     25> python2.7
     26Python 2.7.11 (default, Dec  8 2015, 20:16:01)
     27[GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)] on darwin
     28Type "help", "copyright", "credits" or "license" for more information.
     29>>> import ROOT
     30>>> ROOT.gROOT.ProcessLine(".L tuple.C+")
     31Info in <TMacOSXSystem::ACLiC>: creating shared library /private/tmp/./tuple_C.so
     32ld: 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
     33clang: error: linker command failed with exit code 1 (use -v to see invocation)
     34Error in <ACLiC>: Compilation failed!
     350L
     36>>>
     37}}}
     38
     39When running `root6`:
     40{{{
     41$ root6
     42...
     43root [0] .L tuple.C+
     44Info in <TMacOSXSystem::ACLiC>: creating shared library /private/tmp/./tuple_C.so
     45root [1] .q
     46}}}
     47(Running `python2.7` after `root6` would make the python command succeed because the files are already there.)