Bitcoin Forum
November 13, 2024, 03:09:28 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 »  All
  Print  
Author Topic: Problema compilare terracoind si terracoin-qt pe linux  (Read 6409 times)
calonew (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100



View Profile
April 16, 2013, 04:37:07 PM
Last edit: May 16, 2013, 08:36:15 AM by calonew
 #1

ma tot chinui de 2 zile sa compilez terracoin-qt pe linux

- am clonat sursele de pe github (git://github.com/terracoin/terracoin.git)
- am instalat qmake, package-urile qt3-dev-tools, qt4-qmake, qtcreator

si pe urma am urmat instructiunile:

  git clone git://github.com/terracoin/terracoin.git
  cd terracoin/
  qmake USE_UPNP=1 USE_IPV6=-
  make -j 2

--- problema e ca nu reusesc sa il compilez si pace! ultimele 2 comenzi imi dau WARNING-uri si nu compileaza

are cineva experienta in compilarea terracoin pe linux? mi-ar prinde bine un step-by-step
(presupun ca imi lipseste un package, dar nu stiu sigur)

help !!! Smiley



EDIT: un tutorial pas cu pas pentru ubuntu: http://www.distrogeeks.com/install-terracoin-qt-ubuntu/
philips
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500



View Profile
April 16, 2013, 04:41:52 PM
 #2

Warning-urile sunt de multe ori doar atat, warning-uri.

Aceasi pasi i-am urmat si eu: http://terracoin.org/p2pool_howto.txt si am primit deasemenea warning-uri.

Cum suna ultimele linii?
calonew (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100



View Profile
April 16, 2013, 04:47:09 PM
 #3

philips,
dupa ultima comanda make -j 2 , asta sunt ultimele linii:

Quote
...
Makefile:2240: warning: overriding commands for target `build/moc_optionsdialog.cpp'
Makefile:2123: warning: ignoring old commands for target `build/moc_optionsdialog.cpp'
make: *** No rule to make target `/home/build/terracoin/src/leveldb/libleveldb.a', needed by `terracoin-qt'.  Stop.


EDIT: am sters tot si am reluat tot procesul. am re-downloadat sursele git... si acelasi rezultat!

Quote
make: *** No rule to make target `/home/build/terracoin/src/leveldb/libleveldb.a', needed by `terracoin-qt'.  Stop.
philips
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500



View Profile
April 16, 2013, 05:19:29 PM
 #4

Suna ca si cum n-ai avea un makefile, sau este incomplet...
Edit: am incercat si eu acum din git si nu mai merge.
Stai sa incerc master-ul.
calonew (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100



View Profile
April 16, 2013, 05:22:07 PM
 #5

o fi vreo varza in ultima versiune... ai cumva o versiune mai veche?
M0ndialu
Hero Member
*****
Offline Offline

Activity: 819
Merit: 1000



View Profile WWW
April 16, 2013, 05:29:22 PM
 #6

A incercat cineva sa vada daca este o diferenta considerabila de consum curent intre un HDD vs un stick ?
-Ma gandesc sa renunt la Hard [am HDD 500GB] si sa pun windows-ul pe un stick, cativa $ daca salvez tot e ceva Smiley

philips
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500



View Profile
April 16, 2013, 05:36:24 PM
Last edit: April 16, 2013, 06:49:16 PM by philips
 #7

Incearca asa:

Du-te pe https://github.com/terracoin/terracoin si downloadeaza master-ul, da click unde scrie ZIP.
Extrage-l undeva, intra in terracoin-master/src/ deschide o consola si da-i:
Code:
nice make -f makefile.unix
Asta pentru daemon.

Pentru clientul terracoin-qt (wallet) revino in terracoin-master/ si da-i in consola:
Code:
qmake && nice make




philips
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500



View Profile
April 16, 2013, 05:41:06 PM
 #8

A incercat cineva sa vada daca este o diferenta considerabila de consum curent intre un HDD vs un stick ?
-Ma gandesc sa renunt la Hard [am HDD 500GB] si sa pun windows-ul pe un stick, cativa $ daca salvez tot e ceva Smiley

Eh, un hard consuma cat?...5 - 6 W acolo.
calonew (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100



View Profile
April 16, 2013, 05:43:14 PM
Last edit: April 16, 2013, 05:55:22 PM by calonew
 #9

Incearca asa:

Du-te pe https://github.com/terracoin/terracoin si downloadeaza master-ul, da click unde scrie ZIP.
Extrage-l undeva, intra in el (folderul terracoin-master) deschide o consola si da-i:
Code:
qmake && nice make
Asta ar trebui sa-ti construiasca clientul terracoin-qt (wallet-ul) care e suficient ca sa minezi p2p ppol printr-un nod.

Daca vrei si daemon-ul intra in folderul src si da-i in consola:
Code:
nice make -f makefile.unix

multumesc mult philips, am incercat si varianta asta... insa acelasi insucces dupa qmake && nice make:
Quote
make: *** No rule to make target `/home/build/terracoin-master/src/leveldb/libleveldb.a', needed by `terracoin-qt'.  Stop.

si in varianta cu daemon, dupa nice make -f makefile.unix (fiind in folderul src), compilarea se opreste cu eroarea:
Quote
fatal error: db_cxx.h: No such file or directory
compilation terminated.
make: *** [obj/db.o] Error 1

Apoi am incercat toate branch-urile de pe github: master, dev, release -- si la fel! nu merge si pace.
Ai cumva o versiune mai veche a surselor, care stii ca merge? Nu stiu daca un build compilat de tine ar merge ...
philips
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500



View Profile
April 16, 2013, 05:49:14 PM
 #10

Incearca intai sa faci daemonul? (cu makefile)

In sfarsit, da-mi un mesaj cu un mail de-al tau si ti-l trimit pe asta compilat acum (din master). Mai vechi n-am.
E pe 32Bit.
calonew (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100



View Profile
April 16, 2013, 05:56:27 PM
 #11

si in varianta cu daemon, dupa nice make -f makefile.unix (fiind in folderul src), compilarea se opreste cu eroarea:
Quote
fatal error: db_cxx.h: No such file or directory
compilation terminated.
make: *** [obj/db.o] Error 1
philips
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500



View Profile
April 16, 2013, 05:59:10 PM
 #12

Iti lipsesc niste development files, dar nu stiu de la ce anume, stai sa ma uit.
calonew (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100



View Profile
April 16, 2013, 06:01:10 PM
 #13

deci la tine merge sa compilezi ultima varianta, de pe github? ca ramasesem cu impresia ca nici la tine nu mai merge ultima varianta!
daca la tine merge, atunci e clar ca mie imi lipsesc niste packages...
philips
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500



View Profile
April 16, 2013, 06:04:21 PM
 #14

Aia din git nici mie nu-mi mai merge, dar master-ul merge.

Ia vezi daca ai instalat libdb-devel (nu stiu ce versiune, vezi tu)











calonew (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100



View Profile
April 16, 2013, 06:05:42 PM
 #15

eu sunt pe un ubuntu sever... si ubuntu vad ca nu gaseste package-ul asta:
"E: Unable to locate package libdb-devel" (cred ca asta e pe Fedora)

dar vad ca ubuntu are un package numit: libdb-dev
il instalez si incerc din nou

EDIT: tot eroare. nu merge nici cu libdb-dev instalat.
Quote
In file included from db.cpp:6:0:
db.h:14:20: fatal error: db_cxx.h: No such file or directory
compilation terminated.
make: *** [obj/db.o] Error 1
philips
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500



View Profile
April 16, 2013, 06:14:36 PM
 #16

Dezinstaleaza libdb-dev si instaleaza libdb++-dev atunci.

Ubuntu asta...
calonew (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100



View Profile
April 16, 2013, 06:28:04 PM
 #17

perfect!!!  asta era, multumes philips!

am instalat libdb5.1++-dev, si am compilat fara probleme varianta cu daemon, din /src.

in veci nu mi-as fi dat seama care e package-ul care-mi lipsea! inca o data, multumesc mult! raman dator Smiley
philips
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500



View Profile
April 16, 2013, 06:29:21 PM
 #18

Iti trebuie si clientul pentru portofel. L-ai facut?
calonew (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100



View Profile
April 16, 2013, 06:37:56 PM
 #19

mda... clientul terracoin-qt (wallet) din terracoin-master/ tot nu merge compilat!

dupa qmake && nice make iese cu mesajele:
Quote
Makefile:2201: warning: ignoring old commands for target `build/moc_rpcconsole.cpp'
Makefile:2240: warning: overriding commands for target `build/moc_optionsdialog.cpp'
Makefile:2123: warning: ignoring old commands for target `build/moc_optionsdialog.cpp'
make: *** No rule to make target `/build/build.h', needed by `terracoin-qt'.  Stop.

Sad
philips
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500



View Profile
April 16, 2013, 06:39:29 PM
 #20

Vezi ca ti-am trimis clientul prin mail.
Pages: [1] 2 3 4 »  All
  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!