Bitcoin Forum
December 10, 2016, 05:05:12 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Help needed, Litecoin mining on linux (BAMT, debian)  (Read 5869 times)
Transisto
Donator
Legendary
*
Offline Offline

Activity: 1624



View Profile WWW
November 05, 2011, 09:48:44 AM
#1

I have some miners using linux for mining.

I would need some noobs instructions for having this running.

I did "Dependency Build Instructions" for debian,
don't want upnp, no qt UI,

I'm currently in front this page long building error,

Code:
makefile.unix:131: warning: overriding commands for target `obj/nogui/scrypt.o'
makefile.unix:128: warning: ignoring old commands for target `obj/nogui/scrypt.o                   '
g++ -c -pthread -Wno-invalid-offsetof -Wformat -g -DNOPCH  -DUSE_UPNP=0 -DUSE_SS                   L -fstack-protector-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOU                   RCE=2 -O2 -MMD -o obj/nogui/crypter.o crypter.cpp
In file included from crypter.cpp:9:
headers.h:36:20: warning: db_cxx.h: No such file or directory
In file included from main.h:12,
                 from headers.h:89,
                 from crypter.cpp:9:
db.h:29: error: ‚DbEnv‚ does not name a type
db.h:42: error: ISO C++ forbids declaration of ‚Db‚ with no type
db.h:42: error: expected ‚;‚ before ‚*‚ token
db.h:44: error: ‚DbTxn‚ was not declared in this scope
db.h:44: error: template argument 1 is invalid
db.h:44: error: template argument 2 is invalid
db.h:157: error: ISO C++ forbids declaration of ‚Dbc‚ with no type
db.h:157: error: expected ‚;‚ before ‚*‚ token
db.h:168: error: expected ‚;‚ before ‚int‚
db.h:168: error: ‚Dbc‚ has not been declared
db.h:207: error: ISO C++ forbids declaration of ‚DbTxn‚ with no type
db.h:207: error: expected ‚;‚ before ‚*‚ token
db.h:215: error: expected ‚;‚ before ‚public‚
db.h:168: error: ‚DB_NEXT‚ was not declared in this scope
db.h: In member function ‚bool CDB::Read(const K&, T&)‚:
db.h:59: error: ‚pdb‚ was not declared in this scope
db.h:66: error: ‚Dbt‚ was not declared in this scope
db.h:66: error: expected ‚;‚ before ‚datKey‚
db.h:69: error: expected ‚;‚ before ‚datValue‚
db.h:70: error: ‚datValue‚ was not declared in this scope
db.h:70: error: ‚DB_DBT_MALLOC‚ was not declared in this scope
db.h:71: error: ‚pdb‚ was not declared in this scope
db.h:71: error: there are no arguments to ‚GetTxn‚ that depend on a template par                   ameter, so a declaration of ‚GetTxn‚ must be available
db.h:71: note: (if you use ‚-fpermissive‚, G++ will accept your code, but allowi                   ng the use of an undeclared name is deprecated)
db.h:71: error: ‚datKey‚ was not declared in this scope
db.h: In member function ‚bool CDB::Write(const K&, const T&, bool)‚:
db.h:89: error: ‚pdb‚ was not declared in this scope
db.h:98: error: ‚Dbt‚ was not declared in this scope
db.h:98: error: expected ‚;‚ before ‚datKey‚
db.h:104: error: expected ‚;‚ before ‚datValue‚
db.h:107: error: ‚pdb‚ was not declared in this scope
db.h:107: error: there are no arguments to ‚GetTxn‚ that depend on a template pa                   rameter, so a declaration of ‚GetTxn‚ must be available
db.h:107: error: ‚datKey‚ was not declared in this scope
db.h:107: error: ‚datValue‚ was not declared in this scope
db.h:107: error: ‚DB_NOOVERWRITE‚ was not declared in this scope
db.h: In member function ‚bool CDB::Erase(const K&)‚:
db.h:118: error: ‚pdb‚ was not declared in this scope
db.h:127: error: ‚Dbt‚ was not declared in this scope
db.h:127: error: expected ‚;‚ before ‚datKey‚
db.h:130: error: ‚pdb‚ was not declared in this scope
db.h:130: error: there are no arguments to ‚GetTxn‚ that depend on a template pa                   rameter, so a declaration of ‚GetTxn‚ must be available
db.h:130: error: ‚datKey‚ was not declared in this scope
db.h:134: error: ‚DB_NOTFOUND‚ was not declared in this scope
db.h: In member function ‚bool CDB::Exists(const K&)‚:
db.h:140: error: ‚pdb‚ was not declared in this scope
db.h:147: error: ‚Dbt‚ was not declared in this scope
db.h:147: error: expected ‚;‚ before ‚datKey‚
db.h:150: error: ‚pdb‚ was not declared in this scope
db.h:150: error: there are no arguments to ‚GetTxn‚ that depend on a template pa                   rameter, so a declaration of ‚GetTxn‚ must be available
db.h:150: error: ‚datKey‚ was not declared in this scope
db.h: In member function ‚int CDB::ReadAtCursor(int*, CDataStream&, CDataStream&                   , unsigned int)‚:
db.h:171: error: ‚Dbt‚ was not declared in this scope
db.h:171: error: expected ‚;‚ before ‚datKey‚
db.h:172: error: ‚DB_SET‚ was not declared in this scope
db.h:172: error: ‚DB_SET_RANGE‚ was not declared in this scope
db.h:172: error: ‚DB_GET_BOTH‚ was not declared in this scope
db.h:172: error: ‚DB_GET_BOTH_RANGE‚ was not declared in this scope
db.h:174: error: ‚datKey‚ was not declared in this scope
db.h:177: error: expected ‚;‚ before ‚datValue‚
db.h:178: error: ‚DB_GET_BOTH‚ was not declared in this scope
db.h:178: error: ‚DB_GET_BOTH_RANGE‚ was not declared in this scope
db.h:180: error: ‚datValue‚ was not declared in this scope
db.h:183: error: ‚datKey‚ was not declared in this scope
db.h:183: error: ‚DB_DBT_MALLOC‚ was not declared in this scope
db.h:184: error: ‚datValue‚ was not declared in this scope
db.h:185: error: request for member ‚get‚ in ‚* pcursor‚, which is of non-class                    type ‚int‚
db.h: In member function ‚bool CDB::TxnBegin()‚:
db.h:218: error: ‚pdb‚ was not declared in this scope
db.h:220: error: ‚DbTxn‚ was not declared in this scope
db.h:220: error: ‚ptxn‚ was not declared in this scope
db.h:221: error: ‚dbenv‚ was not declared in this scope
db.h:221: error: ‚GetTxn‚ was not declared in this scope
db.h:221: error: ‚DB_TXN_NOSYNC‚ was not declared in this scope
db.h:224: error: request for member ‚push_back‚ in ‚((CDB*)this)->CDB::vTxn‚, wh                   ich is of non-class type ‚int‚
db.h: In member function ‚bool CDB::TxnCommit()‚:
db.h:230: error: ‚pdb‚ was not declared in this scope
db.h:232: error: request for member ‚empty‚ in ‚((CDB*)this)->CDB::vTxn‚, which                    is of non-class type ‚int‚
db.h:234: error: request for member ‚back‚ in ‚((CDB*)this)->CDB::vTxn‚, which i                   s of non-class type ‚int‚
db.h:235: error: request for member ‚pop_back‚ in ‚((CDB*)this)->CDB::vTxn‚, whi                   ch is of non-class type ‚int‚
db.h: In member function ‚bool CDB::TxnAbort()‚:
db.h:241: error: ‚pdb‚ was not declared in this scope
db.h:243: error: request for member ‚empty‚ in ‚((CDB*)this)->CDB::vTxn‚, which                    is of non-class type ‚int‚
db.h:245: error: request for member ‚back‚ in ‚((CDB*)this)->CDB::vTxn‚, which i                   s of non-class type ‚int‚
db.h:246: error: request for member ‚pop_back‚ in ‚((CDB*)this)->CDB::vTxn‚, whi                   ch is of non-class type ‚int‚
make: *** [obj/nogui/crypter.o] Error 1

Do someone understand this gibberish ?
1481346312
Hero Member
*
Offline Offline

Posts: 1481346312

View Profile Personal Message (Offline)

Ignore
1481346312
Reply with quote  #2

1481346312
Report to moderator
1481346312
Hero Member
*
Offline Offline

Posts: 1481346312

View Profile Personal Message (Offline)

Ignore
1481346312
Reply with quote  #2

1481346312
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481346312
Hero Member
*
Offline Offline

Posts: 1481346312

View Profile Personal Message (Offline)

Ignore
1481346312
Reply with quote  #2

1481346312
Report to moderator
1481346312
Hero Member
*
Offline Offline

Posts: 1481346312

View Profile Personal Message (Offline)

Ignore
1481346312
Reply with quote  #2

1481346312
Report to moderator
ArtForz
Sr. Member
****
Offline Offline

Activity: 406


View Profile
November 05, 2011, 11:17:49 AM
#2

I have some miners using linux for mining.

I would need some noobs instructions for having this running.

I did "Dependency Build Instructions" for debian,
don't want upnp, no qt UI,

I'm currently in front this page long building error,

Code:
makefile.unix:131: warning: overriding commands for target `obj/nogui/scrypt.o'
makefile.unix:128: warning: ignoring old commands for target `obj/nogui/scrypt.o                   '
g++ -c -pthread -Wno-invalid-offsetof -Wformat -g -DNOPCH  -DUSE_UPNP=0 -DUSE_SS                   L -fstack-protector-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOU                   RCE=2 -O2 -MMD -o obj/nogui/crypter.o crypter.cpp
In file included from crypter.cpp:9:
headers.h:36:20: warning: db_cxx.h: No such file or directory
In file included from main.h:12,
                 from headers.h:89,
                 from crypter.cpp:9:
db.h:29: error: ‚DbEnv‚ does not name a type
db.h:42: error: ISO C++ forbids declaration of ‚Db‚ with no type
db.h:42: error: expected ‚;‚ before ‚*‚ token
db.h:44: error: ‚DbTxn‚ was not declared in this scope
db.h:44: error: template argument 1 is invalid
db.h:44: error: template argument 2 is invalid
db.h:157: error: ISO C++ forbids declaration of ‚Dbc‚ with no type
db.h:157: error: expected ‚;‚ before ‚*‚ token
db.h:168: error: expected ‚;‚ before ‚int‚
db.h:168: error: ‚Dbc‚ has not been declared
db.h:207: error: ISO C++ forbids declaration of ‚DbTxn‚ with no type
db.h:207: error: expected ‚;‚ before ‚*‚ token
db.h:215: error: expected ‚;‚ before ‚public‚
db.h:168: error: ‚DB_NEXT‚ was not declared in this scope
db.h: In member function ‚bool CDB::Read(const K&, T&)‚:
db.h:59: error: ‚pdb‚ was not declared in this scope
db.h:66: error: ‚Dbt‚ was not declared in this scope
db.h:66: error: expected ‚;‚ before ‚datKey‚
db.h:69: error: expected ‚;‚ before ‚datValue‚
db.h:70: error: ‚datValue‚ was not declared in this scope
db.h:70: error: ‚DB_DBT_MALLOC‚ was not declared in this scope
db.h:71: error: ‚pdb‚ was not declared in this scope
db.h:71: error: there are no arguments to ‚GetTxn‚ that depend on a template par                   ameter, so a declaration of ‚GetTxn‚ must be available
db.h:71: note: (if you use ‚-fpermissive‚, G++ will accept your code, but allowi                   ng the use of an undeclared name is deprecated)
db.h:71: error: ‚datKey‚ was not declared in this scope
db.h: In member function ‚bool CDB::Write(const K&, const T&, bool)‚:
db.h:89: error: ‚pdb‚ was not declared in this scope
db.h:98: error: ‚Dbt‚ was not declared in this scope
db.h:98: error: expected ‚;‚ before ‚datKey‚
db.h:104: error: expected ‚;‚ before ‚datValue‚
db.h:107: error: ‚pdb‚ was not declared in this scope
db.h:107: error: there are no arguments to ‚GetTxn‚ that depend on a template pa                   rameter, so a declaration of ‚GetTxn‚ must be available
db.h:107: error: ‚datKey‚ was not declared in this scope
db.h:107: error: ‚datValue‚ was not declared in this scope
db.h:107: error: ‚DB_NOOVERWRITE‚ was not declared in this scope
db.h: In member function ‚bool CDB::Erase(const K&)‚:
db.h:118: error: ‚pdb‚ was not declared in this scope
db.h:127: error: ‚Dbt‚ was not declared in this scope
db.h:127: error: expected ‚;‚ before ‚datKey‚
db.h:130: error: ‚pdb‚ was not declared in this scope
db.h:130: error: there are no arguments to ‚GetTxn‚ that depend on a template pa                   rameter, so a declaration of ‚GetTxn‚ must be available
db.h:130: error: ‚datKey‚ was not declared in this scope
db.h:134: error: ‚DB_NOTFOUND‚ was not declared in this scope
db.h: In member function ‚bool CDB::Exists(const K&)‚:
db.h:140: error: ‚pdb‚ was not declared in this scope
db.h:147: error: ‚Dbt‚ was not declared in this scope
db.h:147: error: expected ‚;‚ before ‚datKey‚
db.h:150: error: ‚pdb‚ was not declared in this scope
db.h:150: error: there are no arguments to ‚GetTxn‚ that depend on a template pa                   rameter, so a declaration of ‚GetTxn‚ must be available
db.h:150: error: ‚datKey‚ was not declared in this scope
db.h: In member function ‚int CDB::ReadAtCursor(int*, CDataStream&, CDataStream&                   , unsigned int)‚:
db.h:171: error: ‚Dbt‚ was not declared in this scope
db.h:171: error: expected ‚;‚ before ‚datKey‚
db.h:172: error: ‚DB_SET‚ was not declared in this scope
db.h:172: error: ‚DB_SET_RANGE‚ was not declared in this scope
db.h:172: error: ‚DB_GET_BOTH‚ was not declared in this scope
db.h:172: error: ‚DB_GET_BOTH_RANGE‚ was not declared in this scope
db.h:174: error: ‚datKey‚ was not declared in this scope
db.h:177: error: expected ‚;‚ before ‚datValue‚
db.h:178: error: ‚DB_GET_BOTH‚ was not declared in this scope
db.h:178: error: ‚DB_GET_BOTH_RANGE‚ was not declared in this scope
db.h:180: error: ‚datValue‚ was not declared in this scope
db.h:183: error: ‚datKey‚ was not declared in this scope
db.h:183: error: ‚DB_DBT_MALLOC‚ was not declared in this scope
db.h:184: error: ‚datValue‚ was not declared in this scope
db.h:185: error: request for member ‚get‚ in ‚* pcursor‚, which is of non-class                    type ‚int‚
db.h: In member function ‚bool CDB::TxnBegin()‚:
db.h:218: error: ‚pdb‚ was not declared in this scope
db.h:220: error: ‚DbTxn‚ was not declared in this scope
db.h:220: error: ‚ptxn‚ was not declared in this scope
db.h:221: error: ‚dbenv‚ was not declared in this scope
db.h:221: error: ‚GetTxn‚ was not declared in this scope
db.h:221: error: ‚DB_TXN_NOSYNC‚ was not declared in this scope
db.h:224: error: request for member ‚push_back‚ in ‚((CDB*)this)->CDB::vTxn‚, wh                   ich is of non-class type ‚int‚
db.h: In member function ‚bool CDB::TxnCommit()‚:
db.h:230: error: ‚pdb‚ was not declared in this scope
db.h:232: error: request for member ‚empty‚ in ‚((CDB*)this)->CDB::vTxn‚, which                    is of non-class type ‚int‚
db.h:234: error: request for member ‚back‚ in ‚((CDB*)this)->CDB::vTxn‚, which i                   s of non-class type ‚int‚
db.h:235: error: request for member ‚pop_back‚ in ‚((CDB*)this)->CDB::vTxn‚, whi                   ch is of non-class type ‚int‚
db.h: In member function ‚bool CDB::TxnAbort()‚:
db.h:241: error: ‚pdb‚ was not declared in this scope
db.h:243: error: request for member ‚empty‚ in ‚((CDB*)this)->CDB::vTxn‚, which                    is of non-class type ‚int‚
db.h:245: error: request for member ‚back‚ in ‚((CDB*)this)->CDB::vTxn‚, which i                   s of non-class type ‚int‚
db.h:246: error: request for member ‚pop_back‚ in ‚((CDB*)this)->CDB::vTxn‚, whi                   ch is of non-class type ‚int‚
make: *** [obj/nogui/crypter.o] Error 1

Do someone understand this gibberish ?
apt-get install libdb4.8++-dev (or 4.7 or 5.1 or whatever you want)

bitcoin: 1Fb77Xq5ePFER8GtKRn2KDbDTVpJKfKmpz
i0coin: jNdvyvd6v6gV3kVJLD7HsB5ZwHyHwAkfdw
Transisto
Donator
Legendary
*
Offline Offline

Activity: 1624



View Profile WWW
November 06, 2011, 04:46:36 AM
#3

did this then tried again , now got this,

Code:
makefile.unix:131: warning: overriding commands for target `obj/nogui/scrypt.o'
makefile.unix:128: warning: ignoring old commands for target `obj/nogui/scrypt.o'
g++ -c -pthread -Wno-invalid-offsetof -Wformat -g -DNOPCH  -DUSE_UPNP=0 -DUSE_SSL -fstack-p-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -O2 -MMD -o obj/nogui/crcrypter.cpp
g++ -c -pthread -Wno-invalid-offsetof -Wformat -g -DNOPCH  -DUSE_UPNP=0 -DUSE_SSL -fstack-p-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -O2 -MMD -o obj/nogui/dbp
g++ -c -pthread -Wno-invalid-offsetof -Wformat -g -DNOPCH  -DUSE_UPNP=0 -DUSE_SSL -fstack-p-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -O2 -MMD -o obj/nogui/int.cpp
g++ -c -pthread -Wno-invalid-offsetof -Wformat -g -DNOPCH  -DUSE_UPNP=0 -DUSE_SSL -fstack-p-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -O2 -MMD -o obj/nogui/ircpp
g++ -c -pthread -Wno-invalid-offsetof -Wformat -g -DNOPCH  -DUSE_UPNP=0 -DUSE_SSL -fstack-p-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -O2 -MMD -o obj/nogui/ke keystore.cpp
g++ -c -pthread -Wno-invalid-offsetof -Wformat -g -DNOPCH  -DUSE_UPNP=0 -DUSE_SSL -fstack-p-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -O2 -MMD -o obj/nogui/man.cpp
g++ -c -pthread -Wno-invalid-offsetof -Wformat -g -DNOPCH  -DUSE_UPNP=0 -DUSE_SSL -fstack-p-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -O2 -MMD -o obj/nogui/necpp
net.cpp:18:32: warning: miniupnpc/miniwget.h: No such file or directory
net.cpp:19:33: warning: miniupnpc/miniupnpc.h: No such file or directory
net.cpp:20:36: warning: miniupnpc/upnpcommands.h: No such file or directory
net.cpp:21:34: warning: miniupnpc/upnperrors.h: No such file or directory
net.cpp: In function ‚void ThreadMapPort2(void*)‚:
net.cpp:1138: error: ‚upnpDiscover‚ was not declared in this scope
net.cpp:1140: error: aggregate ‚UPNPUrls urls‚ has incomplete type and cannot be defined
net.cpp:1141: error: aggregate ‚IGDdatas data‚ has incomplete type and cannot be defined
net.cpp:1144: error: ‚UPNP_GetValidIGD‚ was not declared in this scope
net.cpp:1151: error: ‚UPNP_AddPortMapping‚ was not declared in this scope
net.cpp:1153: error: ‚UPNPCOMMAND_SUCCESS‚ was not declared in this scope
net.cpp:1155: error: ‚strupnperror‚ was not declared in this scope
net.cpp:1161: error: ‚UPNP_DeletePortMapping‚ was not declared in this scope
net.cpp:1163: error: ‚freeUPNPDevlist‚ was not declared in this scope
net.cpp:1164: error: ‚FreeUPNPUrls‚ was not declared in this scope
net.cpp:1171: error: ‚freeUPNPDevlist‚ was not declared in this scope
net.cpp:1173: error: ‚FreeUPNPUrls‚ was not declared in this scope
make: *** [obj/nogui/net.o] Error 1
Transisto
Donator
Legendary
*
Offline Offline

Activity: 1624



View Profile WWW
November 06, 2011, 07:49:15 AM
#4

Why can't we simply dl and run the x86 version ?

They bothered adding UPnP support but no care for Linux binaries ?
Transisto
Donator
Legendary
*
Offline Offline

Activity: 1624



View Profile WWW
November 06, 2011, 08:01:11 AM
#5

Do this.
Code:
./configure USE_UPNP=
Is there a path where I can type "./configure USE_UPNP=" and not get "No such file or directory" ?
Spacy
Full Member
***
Offline Offline

Activity: 168


View Profile
November 06, 2011, 08:10:06 AM
#6

Do this.
Code:
./configure USE_UPNP=
Is there a path where I can type "./configure USE_UPNP=" and not get "No such file or directory" ?


You can change the line in the makefile to
USE_UPNP=
Transisto
Donator
Legendary
*
Offline Offline

Activity: 1624



View Profile WWW
November 06, 2011, 08:39:59 AM
#7

I think I compiled the wrong thing, This gave me a 14mb litecoind.

All I want is something like phoenix, minerd scrypt,  can run pointing to a pool and mine.

I have been mining on the default win GUI client for ~1 week and found 0 block, (with 7 thread, on an i7)

What instructions am I missing ? It look like an unfair launch for LiteCoin.
3phase
Sr. Member
****
Offline Offline

Activity: 313


Third score


View Profile
November 06, 2011, 08:49:41 AM
#8

I was just typing a reply about compiling the daemon, but you probably want to compile the miner.

Here's my own little script for new machines:

Code:
sudo apt-get update
sudo apt-get -y install build-essential git libcurl4-nss-dev automake
git clone git://github.com/Lolcust/Tenebrix-miner miner
cd miner
./autogen.sh
CFLAGS="-march=native -O3 -Wall -msse2 -msse3 -msse4.1 -msse4.2 -msse4" ./configure
make
cp minerd ../
cd ..
./minerd --url http://{YOUR POOL} --user {USER} --pass {PASSWORD} -s 30 -t 4

The CFLAGS are good for all except the latest Sandybridge Intel. If you got that (i3/5/7 2xxx) then add a -mavx to the flags. If you have an older CPU, and the executable hangs with "invalid operation" or "segmentation fault" try to recompile by removing one by one the -msseX flags (4.2 first, then 4.1, then 4, if it still doesn't work, get a better CPU  Wink)

In the miner command line (last one above) the -t switch should match your number of cores.

Good luck!

Fiat no more.
Δοκιμάστε το http://multibit.org - Bitcoin client τώρα και στα Ελληνικά
Transisto
Donator
Legendary
*
Offline Offline

Activity: 1624



View Profile WWW
November 07, 2011, 03:15:21 AM
#9

Code:
root@miner:/# cd ..
root@miner:/# mkdir ~/src
root@miner:/# cd ~/src
root@miner:~/src# apt-get install git
Reading package lists... Done
Building dependency tree
Reading state information... Done
git is already the newest version.
git set to manually installed.
The following packages were automatically installed and are no longer required:
  libjpeg8 xli libjpeg-progs xscreensaver-data
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@miner:~/src# git clone https://github.com/ArtForz/cpuminer
Cloning into cpuminer...
remote: Counting objects: 676, done.
remote: Compressing objects: 100% (299/299), done.
remote: Total 676 (delta 432), reused 597 (delta 373)
Receiving objects: 100% (676/676), 164.12 KiB, done.
Resolving deltas: 100% (432/432), done.
root@miner:~/src# cd cpuminer
root@miner:~/src/cpuminer# ./configure CFLAGS=" -march=native -O3 -Wall -msse2 -msse3 -msse4.1 -msse4.2 -msse4"
-bash: ./configure: No such file or directory
root@miner:~/src/cpuminer# make^C
root@miner:~/src/cpuminer# make
make: *** No targets specified and no makefile found.  Stop.
root@miner:~/src/cpuminer# ^C
root@miner:~/src/cpuminer# cd ..
root@miner:~/src# cd ..
root@miner:~# sudo apt-get update
git clone git://github.com/Lolcust/Tenebrix-miner miner
cd miner
./autogen.sh
CFLAGS="-march=native -O3 -Wall -msse2 -msse3 -msse4.1 -msse4.2 -msse4" ./configure
make
cp minerd ../
cd ..sudo: unable to resolve host miner
Get:1 http://cdn.debian.net stable Release.gpg [1,672 B]
Ign http://cdn.debian.net/debian/ stable/main Translation-en
Get:2 http://security.debian.org stable/updates Release.gpg [836 B]
Ign http://security.debian.org/ stable/updates/main Translation-en
Ign http://security.debian.org/ stable/updates/main Translation-en_US
Ign http://cdn.debian.net/debian/ stable/main Translation-en_US
Get:3 http://cdn.debian.net stable Release [87.3 kB]
Get:4 http://security.debian.org stable/updates Release [38.4 kB]
Get:5 http://cdn.debian.net stable/main i386 Packages [6,567 kB]
Get:6 http://security.debian.org stable/updates/main i386 Packages [165 kB]
Fetched 6,861 kB in 14s (487 kB/s)
Reading package lists... Done
root@miner:~# sudo apt-get -y install build-essential git libcurl4-nss-dev automake
sudo: unable to resolve host miner
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libcurl4-nss-dev
root@miner:~# git clone git://github.com/Lolcust/Tenebrix-miner miner
Cloning into miner...
remote: Counting objects: 659, done.
remote: Compressing objects: 100% (293/293), done.
remote: Total 659 (delta 420), reused 581 (delta 362)
Receiving objects: 100% (659/659), 159.53 KiB, done.
Resolving deltas: 100% (420/420), done.
root@miner:~# cd miner
root@miner:~/miner# ./autogen.sh
./autogen.sh: 8: aclocal: not found
root@miner:~/miner# CFLAGS="-march=native -O3 -Wall -msse2 -msse3 -msse4.1 -msse4.2 -msse4" ./configure
-bash: ./configure: No such file or directory
root@miner:~/miner# make
make: *** No targets specified and no makefile found.  Stop.
root@miner:~/miner# cp minerd ../
cp: cannot stat `minerd': No such file or directory

I always get
Code:
-bash: ./configure: No such file or directory
there is no "configure" in github.com/ArtForz/cpuminer

make
Code:
make: *** No targets specified and no makefile found.  Stop.

what about "./autogen.sh" ?  ; "./autogen.sh: 8: aclocal: not found"

Will try on another linux distro,
CAMOPEJB
Full Member
***
Offline Offline

Activity: 132



View Profile
November 08, 2011, 02:25:43 AM
#10


Will try on another linux distro,

I recommend Ubuntu - you have instruction for miner here: https://bitcointalk.org/index.php?topic=47417.msg603357#msg603357
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!