Changes between Initial Version and Version 2 of Ticket #32472


Ignore:
Timestamp:
Dec 9, 2011, 4:10:42 PM (12 years ago)
Author:
mf2k (Frank Schima)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32472

    • Property Keywords root qtroot qt_mac removed
    • Property Owner changed from macports-tickets@… to jonesc@…
    • Property Cc mattiafrancescomoro@… added
  • Ticket #32472 – Description

    initial v2  
    11Dear all,
    22
    3 I was able to compile the root package with qt_mac variant on my qt4-mac port. However after turning on the QtRoot layer I get the following errors:[[BR]]
    4 [[BR]]
    5 Dec 9 13:23:01 valhalla root.exe[29444] <Error>: CGContextSetLineCap: invalid context 0x0 [[BR]]
    6 Dec 9 13:23:01 valhalla root.exe[29444] <Error>: CGContextSetLineWidth: invalid context 0x0 [[BR]]
    7 Dec 9 13:23:01 valhalla root.exe[29444] <Error>: CGContextSetLineJoin: invalid context 0x0 [[BR]]
    8 Dec 9 13:23:01 valhalla root.exe[29444] <Error>: CGContextSetLineDash: invalid context 0x0 [[BR]]
    9 Dec 9 13:23:01 valhalla root.exe[29444] <Error>: CGContextSetStrokeColorWithColor: invalid context 0x0 [[BR]]
    10 Dec 9 13:23:01 valhalla root.exe[29444] <Error>: CGContextSetFillColorWithColor: invalid context 0x0 [[BR]]
    11 Dec 9 13:23:01 valhalla root.exe[29444] <Error>: CGContextSetLineCap: invalid context 0x0 [[BR]]
    12 Dec 9 13:23:01 valhalla root.exe[29444] <Error>: CGContextSetLineWidth: invalid context 0x0 [[BR]]
    13 Dec 9 13:23:01 valhalla root.exe[29444] <Error>: CGContextSetLineJoin: invalid context 0x0 ...[[BR]]
     3I was able to compile the root package with qt_mac variant on my qt4-mac port. However after turning on the QtRoot layer I get the following errors:
     4
     5{{{
     6Dec 9 13:23:01 valhalla root.exe[29444] <Error>: CGContextSetLineCap: invalid context 0x0
     7Dec 9 13:23:01 valhalla root.exe[29444] <Error>: CGContextSetLineWidth: invalid context 0x0
     8Dec 9 13:23:01 valhalla root.exe[29444] <Error>: CGContextSetLineJoin: invalid context 0x0
     9Dec 9 13:23:01 valhalla root.exe[29444] <Error>: CGContextSetLineDash: invalid context 0x0
     10Dec 9 13:23:01 valhalla root.exe[29444] <Error>: CGContextSetStrokeColorWithColor: invalid context 0x0
     11Dec 9 13:23:01 valhalla root.exe[29444] <Error>: CGContextSetFillColorWithColor: invalid context 0x0
     12Dec 9 13:23:01 valhalla root.exe[29444] <Error>: CGContextSetLineCap: invalid context 0x0
     13Dec 9 13:23:01 valhalla root.exe[29444] <Error>: CGContextSetLineWidth: invalid context 0x0
     14Dec 9 13:23:01 valhalla root.exe[29444] <Error>: CGContextSetLineJoin: invalid context 0x0 ...
     15}}}
    1416
    1517My system is Lion 10.7.2, which I assume is the problem. I tried to completely remove my MacPorts installation and do this from scratch, did not help, the problem stays the same, ROOT version is 5.32/00 (newest). Do this to completely reproduce my setup:
    16 [[BR]]
    1718
    18 sudo port install python27[[BR]]
    19 sudo port select --set python python27[[BR]]
    20 sudo port install qt4-mac[[BR]]
    21 sudo port install py27-pyqt4[[BR]]
    22 sudo port install pythia[[BR]]
     19{{{
     20sudo port install python27
     21sudo port select --set python python27
     22sudo port install qt4-mac
     23sudo port install py27-pyqt4
     24sudo port install pythia
    2325sudo port install root +python27 +qt_mac +ssl +xml +gsl +minuit2 +tmva +roofit +pythia
    24 [[BR]]
     26}}}
    2527
    26 Modify .rootrc to call the QtRoot layer:[[BR]]
    27 # GUI specific settings[[BR]]
    28 Gui.Backend: qt[[BR]]
    29 Gui.Factory:qt[[BR]]
    30 # Qt GUI style setting[[BR]]
    31 Gui.Style: macintosh[[BR]]
    32 [[BR]]
    33 Call Root enviroment setup[[BR]]
    34 . /Ports/bin/thisroot.sh[[BR]]
    35 [[BR]]
    36 Start ROOT:[[BR]]
     28Modify .rootrc to call the QtRoot layer:
     29{{{
     30# GUI specific settings
     31Gui.Backend: qt
     32Gui.Factory:qt
     33# Qt GUI style setting
     34Gui.Style: macintosh
     35}}}
     36
     37Call Root enviroment setup
     38{{{
     39. /Ports/bin/thisroot.sh
     40}}}
     41
     42Start ROOT:
     43{{{
    3744root
     45}}}
    3846
    39 Call any Root GUI class:[[BR]]
     47Call any Root GUI class:
     48{{{
    4049TCanvas t
    41 [[BR]]
     50}}}
     51
    4252You should get the some invalid context errors. If you need me to provide anything else, please let me know.
    43 [[BR]]
     53
    4454Thanks for any help,
    4555