Author

Topic: Compiling cgminer on OSX (Read 851 times)

newbie
Activity: 1
Merit: 0
January 26, 2014, 11:04:55 AM
#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?
hero member
Activity: 518
Merit: 500
r00t-dev
January 07, 2014, 08:54:42 AM
#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
Jump to: