Bitcoin Forum
July 07, 2024, 06:27:12 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Compiling cgminer on OSX  (Read 836 times)
bitsta (OP)
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500


r00t-dev


View Profile
January 07, 2014, 01:54:42 PM
Last edit: January 07, 2014, 03:28:46 PM by bitsta
 #1

hi,


i just tried to compile a patched version of cgminer to
get my new technobit HEX16C board running and get these outputs.
Can someone help and explain me whats going wrong??

Code:
tr0ja-2:cgminer asicuser$ sudo ./autogen.sh --enable-hexminera --enable-hexminerb --enable-hexminerc
readlink: illegal option -- f
usage: readlink [-n] [file ...]
usage: dirname path
Use of chdir('') or chdir(undef) as chdir() is deprecated at /opt/local/bin/autoreconf line 670.
Configuring...
./autogen.sh: line 10: /configure: No such file or directory

thanks in advance
bitsta



#EDIT: i found out the problem. readlink is working fine on linux with the -f option
but for OSX i have to use the GNU readlink (greadlink) from coreutils (installed via macports)..
it have the same behavior like readlink on linux... then edited the autogen.sh file and voila - all is working fine
Pierobon
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
January 26, 2014, 04:04:55 PM
 #2

so I had this same problem, solved it with your steps.

now, when I run make I get the following:

Code:
$ make
make  all-recursive
Making all in lib
  GEN      signal.h
  GEN      stdint.h
  GEN      string.h
make  all-recursive
  CC       dummy.o
error: error opening '.deps/dummy.Tpo': Error opening output file '.deps/dummy.Tpo'
1 error generated.
make[4]: *** [dummy.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
$

Any help?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!