Bitcoin Forum
November 16, 2024, 04:28:44 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to install namecoin-qt in Arch Linux?  (Read 1203 times)
Kenshin (OP)
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


View Profile
January 26, 2014, 07:53:23 PM
 #1

I have tried to compile the git to make namecoin-qt but I got the following error.

Code:
kenshin@darkbox:~/Coins/namecoin-qt$ make
g++ -c -pipe -fstack-protector-all -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_REENTRANT -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -DGUI -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DNOPCH -DFOURWAYSSE2 -DUSE_SSL -DUSE_UPNP=1 -DSTATICLIB -DLINUX -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -Ibuild -Ibuild -o build/auxpow.o src/auxpow.cpp
In file included from src/auxpow.cpp:4:0:
src/headers.h:63:29: fatal error: boost/foreach.hpp: No such file or directory
 #include <boost/foreach.hpp>
                             ^
compilation terminated.
Makefile:797: recipe for target 'build/auxpow.o' failed
make: *** [build/auxpow.o] Error 1


I can see that namecoin-qt is also in the AUR, but I am new to Arch Linux, just converted from Ubuntu/ Debian. So no idea how to use the AUR. Could someone teach me how to install it using AUR or how to fix my compile error please.  Smiley
tanalith
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
January 26, 2014, 08:16:13 PM
 #2

I think you don't have boost so use:
Code:
pacman -Ss boost

and then try again

PS: I'm an ex arch user so maybe I forgot lots of things Sad
Kenshin (OP)
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


View Profile
January 26, 2014, 08:54:07 PM
 #3

I have tried the AUR Arch way. Now I got this error when execute namecoin-qt


Code:
kenshin@darkbox:~/Downloads/namecoin-qt-git$ namecoin-qt 
terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid
Aborted (core dumped)


Any idea how to fix this?
Kenshin (OP)
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


View Profile
January 26, 2014, 09:39:07 PM
 #4

Fixed it, I just needed to change the locale.gen configuration and then run locale.gen  Smiley
tanalith
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
January 26, 2014, 09:40:28 PM
 #5

I think you need to generate locales for you language
The Arch wiki has a very good tutorial to do that Smiley https://wiki.archlinux.org/index.php/locale

LE: damn, I'm slow Sad
Kenshin (OP)
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


View Profile
January 26, 2014, 09:56:37 PM
 #6

I think you need to generate locales for you language
The Arch wiki has a very good tutorial to do that Smiley https://wiki.archlinux.org/index.php/locale

LE: damn, I'm slow Sad

Thanks very much for your help anyway.  Smiley

Why don't you go back to Arch. It is so powerful, and now I got to admit it is much better than Ubuntu, Debian, Slackware, CentOS, Fedora or Gentoo. And I have only used it for 2 days.  Smiley
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!