Title: (Help) How to compile ccMiner for Ubuntu 13.10? Post by: unitedminers on July 16, 2014, 12:48:59 PM I've tried now more than one week to compile ccMiner from https://github.com/djm34/ccminer for Ubuntu 13.10, but I'm stucking since days at the point where I start ccMiner and get the following output.
Code: ./ccminer-djm-0712-trade-x13-5a.sh *** ccMiner for nVidia GPUs by Christian Buchner and Christian H. *** I guess ccMiner doesn't find the installed Cuda toolkit, but I have no idea how to point to the Cuda toolkit directory, except the way I do it in my Howto. This is my current Howto: sudo add-apt-repository ppa:xorg-edgers/ppa -y sudo apt-get update sudo apt-get install nvidia-340 reboot sudo apt-get install build-essential sudo apt-get install automake sudo apt-add-repository ppa:aaron-haviland/cuda-5.5 sudo apt-get update sudo apt-get install nvidia-cuda-toolkit cd ccminer-master chmod +x configure autogen.sh sudo apt-get install libssl-dev export PATH=$PATH:/usr/lib/nvidia-cuda-toolkit/bin export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/nvidia-cuda-toolkit/lib reboot ./autogen.sh && ./configure && make Thank you for every hint :) Title: Re: (Help) How to compile ccMiner for Ubuntu 13.10? Post by: KriszDev on July 16, 2014, 08:06:13 PM Try this: http://www.r-tutor.com/gpu-computing/cuda-installation/cuda6.0-ubuntu (http://www.r-tutor.com/gpu-computing/cuda-installation/cuda6.0-ubuntu).
Title: Re: (Help) How to compile ccMiner for Ubuntu 13.10? Post by: unitedminers on July 17, 2014, 06:56:15 AM Try this: http://www.r-tutor.com/gpu-computing/cuda-installation/cuda6.0-ubuntu (http://www.r-tutor.com/gpu-computing/cuda-installation/cuda6.0-ubuntu). I've already tried to install the 13.04 DEB package for Ubuntu 13.10 without success but will give your tutorial a shot :) What I've recognized with ccMiner or Cuda tutorials very often is the fact that they mention always the /usr/local/cuda directory but I don't have a Cuda folder in the /user/local/ directory and I'm pretty sure the damn easy installation through PPA (Cuda 5.5) or even with the Ubuntu standard archive packages (Cuda 5.0) worked. I have a Cuda toolkit folder in /usr/lib/ but again I don't have a lib64 folder /usr/lib/nvidia-cuda-toolkit/ but probably I should have one because I'm running Ubuntu 13.10 64bit. Title: Re: (Help) How to compile ccMiner for Ubuntu 13.10? Post by: unitedminers on July 19, 2014, 06:04:46 PM Try this: http://www.r-tutor.com/gpu-computing/cuda-installation/cuda6.0-ubuntu (http://www.r-tutor.com/gpu-computing/cuda-installation/cuda6.0-ubuntu). Doesn't work :( Code: ubuntu@server:~$ sudo apt-get install cuda Edit: Some dependencies like cuda-6.0 and cuda-drivers were missing. Let's see how far it goes. sudo apt-get install nvidia-libopencl1-331 sudo apt-get install cuda-drivers sudo apt-get install cuda-6-0 Edit: Mixing the Nvidia 340 driver and Cuda 331 dependencies wasn't a good idea ;) Title: Re: (Help) How to compile ccMiner for Ubuntu 13.10? Post by: unitedminers on July 21, 2014, 08:53:10 PM Ok, this is now my current howto on Xubuntu 14.10. My old 13.10 didn't boot anymore, didn't install with my new Nvidia GPU, so I had to choose 14.10.
I. Install Xubuntu 14.10 II. sudo apt-get update sudo apt-get upgrade reboot III. sudo apt-get install nvidia-331 reboot IV. Retrieve the CUDA repository DEB package for Ubuntu 12.04: https://developer.nvidia.com/cuda-downloads#linux V. cd Downloads sudo dpkg -i cuda-repo-ubuntu1204_6.0-37_amd64.deb sudo apt-get update sudo apt-get install cuda reboot VI. Execute the following commands: export CUDA_HOME=/usr/local/cuda-6.0 export LD_LIBRARY_PATH=${CUDA_HOME}/lib64 PATH=${CUDA_HOME}/bin:${PATH} export PATH cuda-install-samples-6.0.sh ~ cd ~/NVIDIA_CUDA-6.0_Samples make VII. Download and extract ccMiner: https://github.com/djm34/ccminer VIII. sudo apt-get install automake sudo apt-get install libssl-dev cd ccminer-djm34-0721 chmod +x configure autogen.sh IX. https://github.com/cbuchner1/ccminer/issues/8 This is easily fixed by adding to Makefile.am: AUTOMAKE_OPTIONS = subdir-objects X. ./autogen.sh && ./configure && make But I get the following error: Code: user@ubuntu:~/ccminer-djm34-0721$ ./autogen.sh && ./configure && make Thanks for any further hints! Title: Re: (Help) How to compile ccMiner for Ubuntu 13.10? Post by: KriszDev on July 22, 2014, 05:16:36 AM This is an syntax error. Go to 6181 line and delete it. And make sure you have libcurl installed.
Title: Re: (Help) How to compile ccMiner for Ubuntu 13.10? Post by: unitedminers on July 22, 2014, 07:55:29 AM This is an syntax error. Go to 6181 line and delete it. Where? And make sure you have libcurl installed. Ok, I will try that. Thank you :) Title: Re: (Help) How to compile ccMiner for Ubuntu 13.10? Post by: KriszDev on July 22, 2014, 11:38:25 AM This is an syntax error. Go to 6181 line and delete it. Where? And make sure you have libcurl installed. Ok, I will try that. Thank you :) ./configure line 6181 Type "curl" (to command line) if it not print error you have libcurl. Title: Re: (Help) How to compile ccMiner for Ubuntu 13.10? Post by: unitedminers on July 22, 2014, 12:32:33 PM Thank you :)
Code: checking for EVP_DigestFinal_ex in -lcrypto... yes Line 6186, right? Title: Re: (Help) How to compile ccMiner for Ubuntu 13.10? Post by: KriszDev on July 22, 2014, 06:07:45 PM Thank you :) Code: checking for EVP_DigestFinal_ex in -lcrypto... yes Line 6186, right? It says error at line 6186 so yes. Title: Re: (Help) How to compile ccMiner for Ubuntu 13.10? Post by: unitedminers on July 24, 2014, 01:45:05 PM It says error at line 6186 so yes. Thank you! Works now with nvidia-331 :) not with nvidia-340 and manual fan settings in NVIDIA Settings GUI neither. But it's a start :) Title: Re: (Help) How to compile ccMiner for Ubuntu 13.10? Post by: tolazy on February 07, 2016, 06:16:16 PM i'm trying to compile ccminer for compute 3.0 and 3.5 but cant get it to work
tried many diffrent ccminer sources i dont get any specific error msg. anyone have a working binarey for linux ? |