Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building on Ubuntu 16.04 LTS #126

Open
beniz opened this issue May 16, 2016 · 10 comments
Open

Building on Ubuntu 16.04 LTS #126

beniz opened this issue May 16, 2016 · 10 comments

Comments

@beniz
Copy link
Collaborator

beniz commented May 16, 2016

This is the placeholder for information regarding the building of deepdetect on Ubuntu 16.04 LTS (expected future reference platform).

Build status: successful, tested with Caffe back-end on CPU

Thanks to @MartinThoma the correct way of doing it is below:

$ sudo apt-get remove libcurlpp0
$ cd [wherever]
$ git clone https://github.com/jpbarrette/curlpp.git
$ cd curlpp
$ cmake .
$ sudo make install
$ cd [back to deepdetect]
$ make clean
$ make

Existing difficulties with 15.10 (#29) appear to have been fixed, but for the version of curlpp that is still broken (http://stackoverflow.com/questions/33420631/link-errors-with-curlpp). The fix remains to rebuild curlpp from https://github.com/datacratic/curlpp:

EDIT: fixed.

@beniz
Copy link
Collaborator Author

beniz commented Sep 7, 2016

On the way to make 16.04 LTS a supported platform, here are some install info.

  • Nvidia Cuda + driver install:
  • Download Cuda 8 run file + Cuda 8 patch run file, when installing do not install the default driver
./cuda_8.0.27_linux.run
./cuda_8.0.27.1_linux.run
sudo ./NVIDIA-Linux-x86_64-367.44.run

From there, nvidia-smi should work. It is possible to use deviceQuery from the Cuda samples to make sure the device is working properly.

Note: good tutorial is here: https://github.com/BVLC/caffe/wiki/GeForce-GTX-1080,---CUDA-8.0,---Ubuntu-16.04,---Caffe

@acabrol
Copy link

acabrol commented Sep 9, 2016

require packages autoconf and libtool-bin to build curlcpp from sources on ubuntu 16.04 LTS

@jpbarrette
Copy link

quick info:

The bug reported by http://stackoverflow.com/questions/33420631/link-errors-with-curlpp is now fixed by version 0.7.4 on cURLpp's official github repository: https://github.com/jpbarrette/curlpp. I hope that ubuntu will update their package to include new versions.

@beniz
Copy link
Collaborator Author

beniz commented Feb 24, 2017

@jpbarrette thanks for the heads up!

@yangboz
Copy link

yangboz commented Mar 5, 2017

based on 0.8.0 version, the step is:
git clone https://github.com/jpbarrette/curlpp
cmake .
sudo make install

@MartinThoma
Copy link

MartinThoma commented Mar 6, 2017

Here is how you fix the curlpp problem on Ubuntu 16.04:

$ sudo apt-get remove libcurlpp0
$ cd [wherever]
$ git clone https://github.com/jpbarrette/curlpp.git
$ cd curlpp
$ cmake .
$ sudo make install
$ cd [back to deepdetect]
$ make clean
$ make

@EBazarov
Copy link

Had same error, thanks for provided solution @MartinThoma. I think this should be in DD installing page https://deepdetect.com/overview/installing/

@vadiwalker
Copy link

Your note is very useful! Thank you very much!

@Labyrins
Copy link

Thank you so much, guys!!
Merry Christmas!

@acabrol
Copy link

acabrol commented Dec 31, 2017

By the way we have scripted the install of deepdetect for ubuntu 16.04 here: https://github.com/soprasteria/cybersecurity-dfm/blob/master/install_ubuntu.sh#L245

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants