-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
Optimize build process on debian jessie #2347
Comments
Thanks for posting your one-liner but this seems like it would be better fixed by the right include dirs instead of transforming the source. |
Had the same problem on Ubuntu 15.04, solution worked, thanks. |
To get the build to pass on Debian Jessie, I had to (in addition to the above)
|
|
Thanks for this. It worked in Debian Jessie |
Works on Ubuntu 15.04 |
@shelhamer But fixing the right include dirs does not solve another problem:
We have to create two symbolic links manually. |
Here: instead of using gcc-4.6, using nvidia-cuda-toolkit-6.5.14 from stretch seems to work also to workaround #337 |
Is there any more complete summary on how to do this build? After attempting to merge various bits and pieces from this as well as StackOverflow questions, I end up with the following all the same .
I had used apt-get install on the relevant libraries, updated paths and the Makefile.config . Quite a number of steps. There does not seem to be a firm consensus on the correct aproach so there was a certain degree of mix and match. I am on ubuntu 15.10 with nVidia cuda . |
@javadba, + where ever you have installed cudnn headers and library file
as for gcc workaroud try to use clang for everthing Update: Dont follow this anymore. |
This worked for me, thanks. |
Don't mess with symlinks! Just edit Makefile: --- LIBRARIES += glog gflags protobuf boost_system boost_filesystem m hdf5_hl hdf5
+++ LIBRARIES += glog gflags protobuf boost_system boost_filesystem m hdf5_serial_hl hdf5_serial |
This worked for me on Ubuntu 16.04, thanks. |
Worked for me on linux mint.Thank you. |
Works on Debian 8.7. Thanks! |
Can we reopen this? Still failing on Ubuntu 16 without manual workarounds. And update the title- this is not a request for 'optimization', currently the build process as provided is broken on debian based OSes. |
Update : Works on Ubuntu 16.04 too! Thanks |
your comment appears to be wrong: but the solution worked! thank you! |
Hello,when i Build all the targets! |
Works on Ubuntu 16.04, thanks! |
These workarounds don't seem to fix the CMake build. Has anyone gotten that to work (in particular on Debian)? I'm stuck because CMake is unable to locate HDF5 even after creating symlinks for header files and shared objects in the "right" locations. I'm starting to think the whole build process has been broken for years on Debian. |
@StrugglingXu |
I'd suggest that adding this script for debian users.
The text was updated successfully, but these errors were encountered: