Bitcoin Forum

Local => Альтернативные криптовалюты => Topic started by: knyaz-veks on December 06, 2012, 02:07:25 PM



Title: Установка litecoin на ubuntu 12.04
Post by: knyaz-veks on December 06, 2012, 02:07:25 PM
Помогите с установкой клиента на убунту 12.04.
Пробывал через гит клоне установку :
Quote
root@knyazveks:~/litecoin/src# make -f makefile.unix litecoind
g++ -c -pthread -Wextra -Wno-sign-compare -Wno-char-subscripts -Wno-invalid-offsetof -Wformat-security -g -DNOPCH -I/root/litecoin/src -DUSE_UPNP=0 -DUSE_SSL -fno-stack-protector -fstack-protector-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -O2 -MMD -o obj/net.o net.cpp
net.cpp:20:32: warning: miniupnpc/miniwget.h: No such file or directory
net.cpp:21:33: warning: miniupnpc/miniupnpc.h: No such file or directory
net.cpp:22:36: warning: miniupnpc/upnpcommands.h: No such file or directory
net.cpp:23:34: warning: miniupnpc/upnperrors.h: No such file or directory
net.cpp: In function 'void ThreadMapPort2(void*)':
net.cpp:911: error: 'upnpDiscover' was not declared in this scope
net.cpp:918: error: aggregate 'UPNPUrls urls' has incomplete type and cannot be defined
net.cpp:919: error: aggregate 'IGDdatas data' has incomplete type and cannot be defined
net.cpp:922: error: 'UPNP_GetValidIGD' was not declared in this scope
net.cpp:928: error: 'UPNP_GetExternalIPAddress' was not declared in this scope
net.cpp:929: error: 'UPNPCOMMAND_SUCCESS' was not declared in this scope
net.cpp:949: error: 'UPNP_AddPortMapping' was not declared in this scope
net.cpp:956: error: 'UPNPCOMMAND_SUCCESS' was not declared in this scope
net.cpp:958: error: 'strupnperror' was not declared in this scope
net.cpp:965: error: 'UPNP_DeletePortMapping' was not declared in this scope
net.cpp:967: error: 'freeUPNPDevlist' was not declared in this scope
net.cpp:968: error: 'FreeUPNPUrls' was not declared in this scope
net.cpp:983: error: 'UPNPCOMMAND_SUCCESS' was not declared in this scope
net.cpp:985: error: 'strupnperror' was not declared in this scope
net.cpp:994: error: 'freeUPNPDevlist' was not declared in this scope
net.cpp:996: error: 'FreeUPNPUrls' was not declared in this scope
make: *** [obj/net.o] Error 1



Title: Re: Установка litecoin на ubuntu 12.04
Post by: giv on December 06, 2012, 03:42:52 PM
sudo apt-get install libminiupnpc-dev


Title: Re: Установка litecoin на ubuntu 12.04
Post by: knyaz-veks on December 06, 2012, 04:07:21 PM
sudo apt-get install libminiupnpc-dev

root@knyazveks:~# sudo apt-get install libminiupnpc-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libminiupnpc-dev


Title: Re: Установка litecoin на ubuntu 12.04
Post by: AV on December 06, 2012, 04:12:55 PM
Поищи его через менеджер пакетов.


Title: Re: Установка litecoin на ubuntu 12.04
Post by: giv on December 06, 2012, 07:16:21 PM
root@knyazveks:~# sudo apt-get install libminiupnpc-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libminiupnpc-dev

тогда
sudo apt-get update
sudo apt-get install libminiupnpc-dev