Quansight / omnisci

Explorations on using MapD and Jupyter together.
4 stars 1 forks source link

Phase 1 #17

Closed xmnlab closed 6 years ago

xmnlab commented 6 years ago
xmnlab commented 6 years ago
  Could NOT find GDALExtra (missing: KMLDOM_LIBRARY MINIZIP_LIBRARY
  KMLENGINE_LIBRARY KMLBASE_LIBRARY URIPARSER_LIBRARY)```

Andrew's feedback: 

I thought those were automatically pulled in when installing gdal. Maybe try installing libkml and see if that resolves some of the missing ones


Problem when tried to install nvidia-cuda using brew:

```+ brew tap caskroom/drivers
+ brew cask reinstall nvidia-cuda
==> Caveats
To install and/or use nvidia-cuda you may need to enable their kernel extension in

  System Preferences → Security & Privacy → General

For more information refer to vendor documentation or the Apple Technical Note:

  https://developer.apple.com/library/content/technotes/tn2459/_index.html

==> Satisfying dependencies
==> Downloading https://developer.nvidia.com/compute/cuda/9.2/Prod/local_installers/cuda_9.2.64_mac
Already downloaded: /Users/quansight/Library/Caches/Homebrew/Cask/nvidia-cuda--9.2.64.64_mac
==> Verifying checksum for Cask nvidia-cuda
==> Uninstalling Cask nvidia-cuda
==> Running uninstall process for nvidia-cuda; your password may be necessary
==> Removing launchctl service com.nvidia.CUDASoftwareUpdate
==> Removing launchctl service com.nvidia.cuda.launcher
==> Removing launchctl service com.nvidia.cudad
==> Unloading kernel extension com.nvidia.CUDA
==> Running uninstall script /Developer/NVIDIA/CUDA-9.2/bin/uninstall_cuda_9.2.pl
Warning: uninstall script /Developer/NVIDIA/CUDA-9.2/bin/uninstall_cuda_9.2.pl does not exist, skipping.
==> Removing files:
/Library/PreferencePanes/CUDA Preferences.prefPane
==> Purging files for version 9.2.64 of Cask nvidia-cuda
==> Installing Cask nvidia-cuda
==> Running installer script 'CUDAMacOSXInstaller.app/Contents/MacOS/CUDAMacOSXInstaller'
Jul 27 18:08:57  CUDAMacOSXInstaller[63244] <Error>: Permissions elevation declined```

Andrew's feedback:

Check vnc to see if it's popping open a message asking for confirmation. Otherwise skipping cuda is fine for now, can figure out how to get it installed once I'm back next week

xmnlab commented 6 years ago

update 1: using vnc and installing nvidia-cuda there worked for me. update 2: installing KMLDOM_LIBRARY MINIZIP_LIBRARY KMLENGINE_LIBRARY KMLBASE_LIBRARY URIPARSER_LIBRARY using brew worked for me.

issues:

  1. using java 10 raises a error: https://github.com/google/protobuf/issues/3781 .. recommendation: use openjdk 1.8
  2. ld: symbol(s) not found for architecture x86_64: https://github.com/mapd/mapd-core/issues/255
    
    Could you try wiping out you build dir (make clean is not enough) and run cmake with -DPREFER_STATIC_LIBS=off instead of on? That would narrow it down to a missing lib when linking.

It might also be that Boost was updated after building one of the dependencies which also uses Boost (eg Thrift), but that dep wasn't rebuilt after the update.

Actually, you might also want to try -DCMAKE_CXX_COMPILER=clang++ instead of clang


3. doesn't work with apache-arrow > 0.7: 
  - https://github.com/mapd/mapd-core/issues/190
  - https://community.mapd.com/t/support-for-mac-os-x/137/23

brew uninstall apache-arrow brew install https://github.com/Homebrew/homebrew-core/raw/16ebe5f1843e6cb54856311ff0f676be53007329/Formula/apache-arrow.rb brew pin apache-arrow

xmnlab commented 6 years ago

normal built on osx done!