ggobi / qtbase

Dynamic bindings from R to the Qt library
20 stars 7 forks source link

Install issue on Mac #19

Closed schloerke closed 10 years ago

schloerke commented 10 years ago

Can't install on mac through devtools

> R.version
               _                           
platform       x86_64-apple-darwin10.8.0   
arch           x86_64                      
os             darwin10.8.0                
system         x86_64, darwin10.8.0        
status                                     
major          3                           
minor          0.2                         
year           2013                        
month          09                          
day            25                          
svn rev        63987                       
language       R                           
version.string R version 3.0.2 (2013-09-25)
nickname       Frisbee Sailing             
> install_github('qtbase', 'ggobi', ref='qt4');
Installing github repo qtbase/qt4 from ggobi
Downloading qt4.zip from https://github.com/ggobi/qtbase/archive/qt4.zip
Installing package from /var/folders/b_/p70ksf2n01n6bjj3zs47s8rc0000gn/T//RtmpMwY19a/qt4.zip
arguments 'minimized' and 'invisible' are for Windows only
Installing qtbase
'/Library/Frameworks/R.framework/Resources/bin/R' --vanilla CMD build  \
  '/private/var/folders/b_/p70ksf2n01n6bjj3zs47s8rc0000gn/T/RtmpMwY19a/devtools48787069aa4c/qtbase-qt4'  \
  --no-manual --no-resave-data 

* checking for file '/private/var/folders/b_/p70ksf2n01n6bjj3zs47s8rc0000gn/T/RtmpMwY19a/devtools48787069aa4c/qtbase-qt4/DESCRIPTION' ... OK
* preparing 'qtbase':
* checking DESCRIPTION meta-information ... OK
* cleaning src
* installing the package to build vignettes
      -----------------------------------
* installing *source* package 'qtbase' ...
** libs
** arch - 
mkdir -p ../kdebindings-build;
cd ../kdebindings-build; \
    cmake ../kdebindings -DR_CXX="clang++" -DCMAKE_CXX_FLAGS=" " -DCMAKE_SHARED_LINKER_FLAGS="  -L/usr/local/lib -L/usr/local/lib -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress" \
          -DCMAKE_INSTALL_PREFIX=../inst/local \
          -DCMAKE_EXE_LINKER_FLAGS="  -L/usr/local/lib -L/usr/local/lib" \
          -DCMAKE_MODULE_LINKER_FLAGS="  -L/usr/local/lib -L/usr/local/lib"; \
    LD_LIBRARY_PATH=../../generator/bin make install
-- The C compiler identification is Clang 5.1.0
-- The CXX compiler identification is Clang 5.1.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - found
-- Looking for QT_MAC_USE_COCOA
-- Looking for QT_MAC_USE_COCOA - found
-- Found Qt4: /usr/local/bin/qmake (found suitable version "4.8.6", minimum required is "4.0.0") 
-- Found Qt4: /usr/local/bin/qmake (found suitable version "4.8.6", minimum required is "4.0.0") 
-- Found OpenGL: /System/Library/Frameworks/OpenGL.framework  
-- Found Perl: /usr/bin/perl (found version "5.16.2") 
-- Checking how Qt was built...
-- Threshold is set to 15
-- QT_NO_DEBUG *Undefined*
-- QT_NO_ACCESSIBILITY [Defined]
-- QT_NO_STYLE_PLASTIQUE *Undefined*
-- QT_NO_STYLE_WINDOWSXP [Defined]
-- QT_NO_STYLE_WINDOWS *Undefined*
-- QT_NO_STYLE_MAC [Defined]
-- QT_NO_STYLE_CLEANLOOKS *Undefined*
-- QT_NO_TABLEVIEW *Undefined*
-- QT_NO_DEBUG [Defined]
-- QT_OPENGL_LIB [Defined]
-- QT_DECLARATIVE_LIB [Defined]
-- QT_SCRIPT_LIB [Defined]
-- QT_SVG_LIB [Defined]
-- QT_UITOOLS_LIB [Defined]
-- QT_HELP_LIB [Defined]
-- QT_WEBKIT_LIB [Defined]
-- QT_MULTIMEDIA_LIB [Defined]
-- QT_XMLPATTERNS_LIB [Defined]
-- QT_GUI_LIB [Defined]
-- QT_TEST_LIB [Defined]
-- QT_XML_LIB [Defined]
-- QT_SQL_LIB [Defined]
-- QT_NETWORK_LIB [Defined]
-- QT_CORE_LIB [Defined]
-- Build Smoke... yes - Qt
-- Configuring done
-- Generating done
-- Build files have been written to: /private/var/folders/b_/p70ksf2n01n6bjj3zs47s8rc0000gn/T/RtmpTBJtEe/Rbuild87775086800a/qtbase/kdebindings-build
Scanning dependencies of target cppparser
[  1%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/ast.cpp.o
[  3%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/default_visitor.cpp.o
[  4%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/memorypool.cpp.o
[  6%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/visitor.cpp.o
[  8%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/control.cpp.o
[  9%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/lexer.cpp.o
[ 11%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/parser.cpp.o
[ 13%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/listnode.cpp.o
[ 14%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/tokens.cpp.o
[ 16%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/dumptree.cpp.o
[ 18%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/parsesession.cpp.o
/private/var/folders/b_/p70ksf2n01n6bjj3zs47s8rc0000gn/T/RtmpTBJtEe/Rbuild87775086800a/qtbase/kdebindings/generator/parser/parsesession.cpp:42:3: warning: deleting pointer to incomplete type 'rpp::MacroBlock' may cause undefined behavior [-Wdelete-incomplete]
  delete macros;
  ^      ~~~~~~
/private/var/folders/b_/p70ksf2n01n6bjj3zs47s8rc0000gn/T/RtmpTBJtEe/Rbuild87775086800a/qtbase/kdebindings/generator/parser/parsesession.h:43:23: note: forward declaration of 'rpp::MacroBlock'
namespace rpp { class MacroBlock; class LocationTable; }
                      ^
1 warning generated.
[ 19%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/commentparser.cpp.o
[ 21%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/commentformatter.cpp.o
[ 22%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/codegenerator.cpp.o
[ 24%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/indexedstring.cpp.o
[ 26%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/stringhelpers.cpp.o
[ 27%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/rpp/pp-stream.cpp.o
[ 29%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/rpp/pp-macro-expander.cpp.o
[ 31%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/rpp/pp-scanner.cpp.o
[ 32%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/rpp/pp-macro.cpp.o
[ 34%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/rpp/pp-engine.cpp.o
[ 36%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/rpp/pp-internal.cpp.o
[ 37%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/rpp/pp-environment.cpp.o
[ 39%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/rpp/pp-location.cpp.o
[ 40%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/rpp/preprocessor.cpp.o
[ 42%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/rpp/chartools.cpp.o
Linking CXX shared library ../bin/libcppparser.dylib
[ 42%] Built target cppparser
Scanning dependencies of target smokegen
[ 44%] Building CXX object generator/CMakeFiles/smokegen.dir/main.cpp.o
[ 45%] Building CXX object generator/CMakeFiles/smokegen.dir/generatorenvironment.cpp.o
[ 47%] Building CXX object generator/CMakeFiles/smokegen.dir/generatorvisitor.cpp.o
[ 49%] Building CXX object generator/CMakeFiles/smokegen.dir/generatorpreprocessor.cpp.o
[ 50%] Building CXX object generator/CMakeFiles/smokegen.dir/options.cpp.o
[ 52%] Building CXX object generator/CMakeFiles/smokegen.dir/type_compiler.cpp.o
[ 54%] Building CXX object generator/CMakeFiles/smokegen.dir/name_compiler.cpp.o
[ 55%] Building CXX object generator/CMakeFiles/smokegen.dir/type.cpp.o
Linking CXX executable bin/smokegen
[ 55%] Built target smokegen
Scanning dependencies of target generator_smoke
[ 57%] Building CXX object generator/generators/smoke/CMakeFiles/generator_smoke.dir/generator_smoke.cpp.o
[ 59%] Building CXX object generator/generators/smoke/CMakeFiles/generator_smoke.dir/writeClasses.cpp.o
[ 60%] Building CXX object generator/generators/smoke/CMakeFiles/generator_smoke.dir/writeSmokeDataFile.cpp.o
[ 62%] Building CXX object generator/generators/smoke/CMakeFiles/generator_smoke.dir/helpers.cpp.o
Linking CXX shared module ../../bin/generator_smoke.so
[ 62%] Built target generator_smoke
Scanning dependencies of target generator_dump
[ 63%] Building CXX object generator/generators/dump/CMakeFiles/generator_dump.dir/generator_dump.cpp.o
Linking CXX shared module ../../bin/generator_dump.so
[ 63%] Built target generator_dump
[ 65%] Generating smokedata.cpp, x_1.cpp, x_2.cpp, x_3.cpp, x_4.cpp, x_5.cpp, x_6.cpp, x_7.cpp, x_8.cpp, x_9.cpp, x_10.cpp, x_11.cpp, x_12.cpp, x_13.cpp, x_14.cpp, x_15.cpp, x_16.cpp, x_17.cpp, x_18.cpp, x_19.cpp, x_20.cpp
using generator "/private/var/folders/b_/p70ksf2n01n6bjj3zs47s8rc0000gn/T/RtmpTBJtEe/Rbuild87775086800a/qtbase/kdebindings-build/generator/bin/generator_smoke.so" 
include directory "/usr/local/Cellar/qt/4.8.6/include;/usr/local/Cellar/qt/4.8.6/lib/QtCore.framework" doesn't exist 
include directory "QT_QTDBUS_INCLUDE_DIR-NOTFOUND" doesn't exist 
parsing "/private/var/folders/b_/p70ksf2n01n6bjj3zs47s8rc0000gn/T/RtmpTBJtEe/Rbuild87775086800a/qtbase/kdebindings/smoke/qt/qt_includes.h" 
Generating SMOKE sources... 
preparing SMOKE data [qt]
writing out smokedata.cpp [qt]
writing out x_*.cpp [qt]
Done. 
Scanning dependencies of target smokeqt
[ 67%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/smokedata.cpp.o
/private/var/folders/b_/p70ksf2n01n6bjj3zs47s8rc0000gn/T/RtmpTBJtEe/Rbuild87775086800a/qtbase/kdebindings-build/smoke/qt/smokedata.cpp:947:34: error: use of undeclared identifier 'QDrawPixmaps'
        case 128: return (void*)(QDrawPixmaps::Data*)xptr;
                                 ^
/private/var/folders/b_/p70ksf2n01n6bjj3zs47s8rc0000gn/T/RtmpTBJtEe/Rbuild87775086800a/qtbase/kdebindings-build/smoke/qt/smokedata.cpp:947:53: error: expected expression
        case 128: return (void*)(QDrawPixmaps::Data*)xptr;
                                                    ^
2 errors generated.
make[3]: *** [smoke/qt/CMakeFiles/smokeqt.dir/smokedata.cpp.o] Error 1
make[2]: *** [smoke/qt/CMakeFiles/smokeqt.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
ERROR: compilation failed for package 'qtbase'
* removing '/private/var/folders/b_/p70ksf2n01n6bjj3zs47s8rc0000gn/T/RtmpTBJtEe/Rinst87772e4039d3/qtbase'
      -----------------------------------
ERROR: package installation failed
Error: Command failed (1)
lawremi commented 10 years ago

Maybe you'll have more luck with qt5? Not sure I can maintain qt4 support...

On Tue, May 13, 2014 at 1:52 PM, Barret Schloerke notifications@github.comwrote:

Can't install on mac through devtools

R.version _ platform x86_64-apple-darwin10.8.0 arch x86_64 os darwin10.8.0 system x86_64, darwin10.8.0 status major 3 minor 0.2 year 2013 month 09 day 25 svn rev 63987 language R version.string R version 3.0.2 (2013-09-25) nickname Frisbee Sailing installgithub('qtbase', 'ggobi', ref='qt4'); Installing github repo qtbase/qt4 from ggobi Downloading qt4.zip from https://github.com/ggobi/qtbase/archive/qt4.zip Installing package from /var/folders/b/p70ksf2n01n6bjj3zs47s8rc0000gn/T//RtmpMwY19a/qt4.zip arguments 'minimized' and 'invisible' are for Windows only Installing qtbase '/Library/Frameworks/R.framework/Resources/bin/R' --vanilla CMD build \ '/private/var/folders/b_/p70ksf2n01n6bjj3zs47s8rc0000gn/T/RtmpMwY19a/devtools48787069aa4c/qtbase-qt4' \ --no-manual --no-resave-data

  • checking for file '/private/var/folders/b_/p70ksf2n01n6bjj3zs47s8rc0000gn/T/RtmpMwY19a/devtools48787069aa4c/qtbase-qt4/DESCRIPTION' ... OK
  • preparing 'qtbase':
  • checking DESCRIPTION meta-information ... OK
  • cleaning src
  • installing the package to build vignettes

  • installing source package 'qtbase' ... * libs * arch - mkdir -p ../kdebindings-build; cd ../kdebindings-build; \ cmake ../kdebindings -DR_CXX="clang++" -DCMAKE_CXX_FLAGS=" " -DCMAKE_SHARED_LINKER_FLAGS=" -L/usr/local/lib -L/usr/local/lib -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress" \ -DCMAKE_INSTALL_PREFIX=../inst/local \ -DCMAKE_EXE_LINKER_FLAGS=" -L/usr/local/lib -L/usr/local/lib" \ -DCMAKE_MODULE_LINKER_FLAGS=" -L/usr/local/lib -L/usr/local/lib"; \ LD_LIBRARY_PATH=../../generator/bin make install -- The C compiler identification is Clang 5.1.0 -- The CXX compiler identification is Clang 5.1.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - not found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - found -- Looking for QT_MAC_USE_COCOA -- Looking for QT_MAC_USE_COCOA - found -- Found Qt4: /usr/local/bin/qmake (found suitable version "4.8.6", minimum required is "4.0.0") -- Found Qt4: /usr/local/bin/qmake (found suitable version "4.8.6", minimum required is "4.0.0") -- Found OpenGL: /System/Library/Frameworks/OpenGL.framework -- Found Perl: /usr/bin/perl (found version "5.16.2") -- Checking how Qt was built... -- Threshold is set to 15 -- QT_NO_DEBUG Undefined -- QT_NO_ACCESSIBILITY [Defined] -- QT_NO_STYLE_PLASTIQUE Undefined -- QT_NO_STYLE_WINDOWSXP [Defined] -- QT_NO_STYLE_WINDOWS Undefined -- QT_NO_STYLE_MAC [Defined] -- QT_NO_STYLE_CLEANLOOKS Undefined -- QT_NO_TABLEVIEW Undefined -- QT_NO_DEBUG [Defined] -- QT_OPENGL_LIB [Defined] -- QT_DECLARATIVE_LIB [Defined] -- QT_SCRIPT_LIB [Defined] -- QT_SVG_LIB [Defined] -- QT_UITOOLS_LIB [Defined] -- QT_HELP_LIB [Defined] -- QT_WEBKIT_LIB [Defined] -- QT_MULTIMEDIA_LIB [Defined] -- QT_XMLPATTERNS_LIB [Defined] -- QT_GUI_LIB [Defined] -- QT_TEST_LIB [Defined] -- QT_XML_LIB [Defined] -- QT_SQL_LIB [Defined] -- QT_NETWORK_LIB [Defined] -- QT_CORELIB [Defined] -- Build Smoke... yes - Qt -- Configuring done -- Generating done -- Build files have been written to: /private/var/folders/b/p70ksf2n01n6bjj3zs47s8rc0000gn/T/RtmpTBJtEe/Rbuild87775086800a/qtbase/kdebindings-build Scanning dependencies of target cppparser [ 1%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/ast.cpp.o [ 3%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/defaultvisitor.cpp.o [ 4%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/memorypool.cpp.o [ 6%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/visitor.cpp.o [ 8%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/control.cpp.o [ 9%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/lexer.cpp.o [ 11%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/parser.cpp.o [ 13%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/listnode.cpp.o [ 14%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/tokens.cpp.o [ 16%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/dumptree.cpp.o [ 18%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/parsesession.cpp.o /private/var/folders/b/p70ksf2n01n6bjj3zs47s8rc0000gn/T/RtmpTBJtEe/Rbuild87775086800a/qtbase/kdebindings/generator/parser/parsesession.cpp:42:3: warning: deleting pointer to incomplete type 'rpp::MacroBlock' may cause undefined behavior [-Wdelete-incomplete] delete macros; ^ ~~ /private/var/folders/b_/p70ksf2n01n6bjj3zs47s8rc0000gn/T/RtmpTBJtEe/Rbuild87775086800a/qtbase/kdebindings/generator/parser/parsesession.h:43:23: note: forward declaration of 'rpp::MacroBlock' namespace rpp { class MacroBlock; class LocationTable; } ^ 1 warning generated. [ 19%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/commentparser.cpp.o [ 21%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/commentformatter.cpp.o [ 22%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/codegenerator.cpp.o [ 24%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/indexedstring.cpp.o [ 26%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/stringhelpers.cpp.o [ 27%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/rpp/pp-stream.cpp.o [ 29%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/rpp/pp-macro-expander.cpp.o [ 31%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/rpp/pp-scanner.cpp.o [ 32%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/rpp/pp-macro.cpp.o [ 34%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/rpp/pp-engine.cpp.o [ 36%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/rpp/pp-internal.cpp.o [ 37%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/rpp/pp-environment.cpp.o [ 39%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/rpp/pp-location.cpp.o [ 40%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/rpp/preprocessor.cpp.o [ 42%] Building CXX object generator/parser/CMakeFiles/cppparser.dir/rpp/chartools.cpp.o Linking CXX shared library ../bin/libcppparser.dylib [ 42%] Built target cppparser Scanning dependencies of target smokegen [ 44%] Building CXX object generator/CMakeFiles/smokegen.dir/main.cpp.o [ 45%] Building CXX object generator/CMakeFiles/smokegen.dir/generatorenvironment.cpp.o [ 47%] Building CXX object generator/CMakeFiles/smokegen.dir/generatorvisitor.cpp.o [ 49%] Building CXX object generator/CMakeFiles/smokegen.dir/generatorpreprocessor.cpp.o [ 50%] Building CXX object generator/CMakeFiles/smokegen.dir/options.cpp.o [ 52%] Building CXX object generator/CMakeFiles/smokegen.dir/type_compiler.cpp.o [ 54%] Building CXX object generator/CMakeFiles/smokegen.dir/name_compiler.cpp.o [ 55%] Building CXX object generator/CMakeFiles/smokegen.dir/type.cpp.o Linking CXX executable bin/smokegen [ 55%] Built target smokegen Scanning dependencies of target generator_smoke [ 57%] Building CXX object generator/generators/smoke/CMakeFiles/generator_smoke.dir/generator_smoke.cpp.o [ 59%] Building CXX object generator/generators/smoke/CMakeFiles/generator_smoke.dir/writeClasses.cpp.o [ 60%] Building CXX object generator/generators/smoke/CMakeFiles/generator_smoke.dir/writeSmokeDataFile.cpp.o [ 62%] Building CXX object generator/generators/smoke/CMakeFiles/generator_smoke.dir/helpers.cpp.o Linking CXX shared module ../../bin/generator_smoke.so [ 62%] Built target generator_smoke Scanning dependencies of target generator_dump [ 63%] Building CXX object generator/generators/dump/CMakeFiles/generator_dump.dir/generator_dump.cpp.o Linking CXX shared module ../../bin/generator_dump.so [ 63%] Built target generator_dump [ 65%] Generating smokedata.cpp, x_1.cpp, x_2.cpp, x_3.cpp, x_4.cpp, x_5.cpp, x_6.cpp, x_7.cpp, x_8.cpp, x_9.cpp, x_10.cpp, x_11.cpp, x_12.cpp, x_13.cpp, x_14.cpp, x_15.cpp, x_16.cpp, x_17.cpp, x_18.cpp, x_19.cpp, x20.cpp using generator "/private/var/folders/b/p70ksf2n01n6bjj3zs47s8rc0000gn/T/RtmpTBJtEe/Rbuild87775086800a/qtbase/kdebindings-build/generator/bin/generator_smoke.so" include directory "/usr/local/Cellar/qt/4.8.6/include;/usr/local/Cellar/qt/4.8.6/lib/QtCore.framework" doesn't exist include directory "QT_QTDBUS_INCLUDEDIR-NOTFOUND" doesn't exist parsing "/private/var/folders/b/p70ksf2n01n6bjj3zs47s8rc0000gn/T/RtmpTBJtEe/Rbuild87775086800a/qtbase/kdebindings/smoke/qt/qt_includes.h" Generating SMOKE sources... preparing SMOKE data [qt] writing out smokedata.cpp [qt] writing out x_.cpp [qt] Done. Scanning dependencies of target smokeqt [ 67%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/smokedata.cpp.o /private/var/folders/b/p70ksf2n01n6bjj3zs47s8rc0000gn/T/RtmpTBJtEe/Rbuild87775086800a/qtbase/kdebindings-build/smoke/qt/smokedata.cpp:947:34: error: use of undeclared identifier 'QDrawPixmaps' case 128: return (void)(QDrawPixmaps::Data)xptr; ^ /private/var/folders/b/p70ksf2n01n6bjj3zs47s8rc0000gn/T/RtmpTBJtEe/Rbuild87775086800a/qtbase/kdebindings-build/smoke/qt/smokedata.cpp:947:53: error: expected expression case 128: return (void)(QDrawPixmaps::Data)xptr; ^ 2 errors generated. make[3]: ** [smoke/qt/CMakeFiles/smokeqt.dir/smokedata.cpp.o] Error 1 make[2]: * [smoke/qt/CMakeFiles/smokeqt.dir/all] Error 2 make[1]: * [all] Error 2 make: *\ [all] Error 2 ERROR: compilation failed for package 'qtbase'
  • removing '/private/var/folders/b_/p70ksf2n01n6bjj3zs47s8rc0000gn/T/RtmpTBJtEe/Rinst87772e4039d3/qtbase'

    ERROR: package installation failed Error: Command failed (1)

— Reply to this email directly or view it on GitHubhttps://github.com/ggobi/qtbase/issues/19 .

yihui commented 10 years ago

I succeeded with qt5 the last time I tried (perhaps a couple of months ago): http://cranvas.org/download.html#install-qt-under-mac-os-x

schloerke commented 10 years ago

Worked great with qt5! Love the brew setup!

Side node for cranvas:

> install.packages("Rcartogram", type = "source")
Installing package into ‘/Users/barret/R’
(as ‘lib’ is unspecified)
Warning message:
package ‘Rcartogram’ is not available (for R version 3.0.2) 
yihui commented 10 years ago

You can try to download the tarball and install it: http://www.omegahat.org/Rcartogram/