Bitcoin Forum
December 10, 2018, 04:36:56 PM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Build on ArchLinux fails  (Read 8802 times)
lockie
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
July 16, 2010, 11:08:13 AM
 #1

Hi.
I have tried to build bitcoin on ArchLinux, but build failed with following error:
Code:
bitcoin-0.3.0/src$ make -f makefile.unix
g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -D__WXGTK__ -DNOPCH -I"/usr/include" -I"/usr/local/include/wx-2.9" -I"/usr/local/lib/wx/include/gtk2-unicode-debug-static-2.9" -o headers.h.gch headers.h
headers.h:21:19: fatal error: wx/wx.h: No such file or directory

I googled a bit, found this topic, and tried to fix makefile by changing line 32 as
Code:
CFLAGS=`wx-config --cxxflags` -O2 -Wno-invalid-offsetof -Wformat $(DEBUGFLAGS) $(WXDEFS) $(INCLUDEPATHS)
but that gave me lots of compilation errors, log's here.
WxWidgets' version in ArchLinux currently is
Code:
$ wx-config --version-full
2.8.11.0

What's wrong? WxWidgets version?..
1544459816
Hero Member
*
Offline Offline

Posts: 1544459816

View Profile Personal Message (Offline)

Ignore
1544459816
Reply with quote  #2

1544459816
Report to moderator
1544459816
Hero Member
*
Offline Offline

Posts: 1544459816

View Profile Personal Message (Offline)

Ignore
1544459816
Reply with quote  #2

1544459816
Report to moderator
1544459816
Hero Member
*
Offline Offline

Posts: 1544459816

View Profile Personal Message (Offline)

Ignore
1544459816
Reply with quote  #2

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

Activity: 490
Merit: 500


My avatar pic says it all


View Profile
July 16, 2010, 11:30:50 AM
 #2

Ahem...

-I"/usr/local/include/wx-2.9" != 2.8.11.0

Also, yes you need 2.9. You'll have to build it from source on most distributions. Luckily, it's easy. Smiley
lockie
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
July 16, 2010, 11:43:23 AM
 #3

> You'll have to build it from source
damn.

Okay, thanks.
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!