Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: cdnbcguy on June 27, 2011, 09:08:23 PM



Title: built 3.23 in Narwhal - no gui
Post by: cdnbcguy on June 27, 2011, 09:08:23 PM
Hi - I've built 3.23 in Narwhal, it compiles and runs and downloads blocks but the gui does not come up.

tail -F debug.log
IRC got new address
IRC got join
IRC got join
IRC got join
IRC got join
IRC got join
AddAddress()
IRC got new address
IRC got join
IRC got join

it does eventually get the blocks - blkindex.dat is 137 mb and blk0001.dat is 286 mb - but the gui never shows up. Any ideas?

 ???


Title: Re: built 3.23 in Narwhal - no gui
Post by: drawoc on June 27, 2011, 11:43:09 PM
Do you have the package libwxgtk2.8-dev installed? If not, install it, recompile, and see if that works.


Title: Re: built 3.23 in Narwhal - no gui
Post by: cdnbcguy on June 28, 2011, 12:12:38 AM
Do you have the package libwxgtk2.8-dev installed? If not, install it, recompile, and see if that works.

I'll try it, but I must tell you it's not in the build-unix.txt file.



Title: Re: built 3.23 in Narwhal - no gui
Post by: drawoc on June 28, 2011, 12:17:38 AM
Sorry, never mind. Just read build-unix.txt more closely, and:

Quote
Requires wxWidgets 2.9.0 or greater, which uses UTF-8. Don't try 2.8, it
won't work.

You need to download wxWidgets from http://www.wxwidgets.org/downloads/
and build it yourself. See the build instructions and configure parameters
below.

So, you need to compile wxwidgets yourself, if you haven't already.


Title: Re: built 3.23 in Narwhal - no gui
Post by: cdnbcguy on June 28, 2011, 01:17:26 AM
Ok - I did on the 15th but I remember now - here's the script from build-unix.txt

cd /usr/local
tar -xzvf wxWidgets-2.9.0.tar.gz
cd wxWidgets-2.9.0
mkdir buildgtk
cd buildgtk
../configure --with-gtk --enable-debug --disable-shared --enable-monolithic
make
sudo su
make install
ldconfig

Notice it says sudo su at the end - well, I needed root access just to untar the files in usr/local

I am a bigger unix noob than I would like to admit - I did the whole thing as root - was this wrong?

Sorry, never mind. Just read build-unix.txt more closely, and:

Quote
Requires wxWidgets 2.9.0 or greater, which uses UTF-8. Don't try 2.8, it
won't work.

You need to download wxWidgets from http://www.wxwidgets.org/downloads/
and build it yourself. See the build instructions and configure parameters
below.

So, you need to compile wxwidgets yourself, if you haven't already.


Title: Re: built 3.23 in Narwhal - no gui
Post by: drawoc on June 28, 2011, 03:48:25 AM
Doing them all as root isn't ideal, but should work. Did you just copy and paste most of that in one block, or did you enter the commands one by one?
Were there any build errors?
Try running make install and ldconfig again (as root), I'm going to guess they didn't do their job.


Title: Re: built 3.23 in Narwhal - no gui
Post by: talpan on June 28, 2011, 02:01:24 PM
Here is a really good guide on how to compile bitcoin under linux(ubuntu, works on debian too) :).
http://lickthesalt.com/2010/08/19/compiling-bitcoin-on-ubuntu-10-04-lucid/

regards, talpan


Title: Re: built 3.23 in Narwhal - no gui
Post by: cdnbcguy on June 28, 2011, 11:42:38 PM
No difference - also the webpage does not mention miniupnpc - but I appreciate the help.

Here is a really good guide on how to compile bitcoin under linux(ubuntu, works on debian too) :).
http://lickthesalt.com/2010/08/19/compiling-bitcoin-on-ubuntu-10-04-lucid/

regards, talpan


Title: Re: built 3.23 in Narwhal - no gui
Post by: talpan on July 04, 2011, 10:55:51 PM
No difference - also the webpage does not mention miniupnpc - but I appreciate the help.

Here is a really good guide on how to compile bitcoin under linux(ubuntu, works on debian too) :).
http://lickthesalt.com/2010/08/19/compiling-bitcoin-on-ubuntu-10-04-lucid/

regards, talpan

Hey,

here you can download miniupnc, had the problem on a different machine, it works fine with it.

http://miniupnp.free.fr/files/download.php?file=miniupnpc-1.5.tar.gz

tar xfv miniupnc..
cd miniupnc
make
make install
regards, talpan


Title: Re: built 3.23 in Narwhal - no gui
Post by: gigabytecoin on July 05, 2011, 03:39:54 AM
Hi - I've built 3.23 in Narwhal, it compiles and runs and downloads blocks but the gui does not come up.

tail -F debug.log
IRC got new address
IRC got join
IRC got join
IRC got join
IRC got join
IRC got join
AddAddress()
IRC got new address
IRC got join
IRC got join

it does eventually get the blocks - blkindex.dat is 137 mb and blk0001.dat is 286 mb - but the gui never shows up. Any ideas?

 ???

Why are you compiling it?

What is wrong with the download link available on bitcoin.org?


Title: Re: built 3.23 in Narwhal - no gui
Post by: cdnbcguy on July 08, 2011, 12:58:32 AM

Why are you compiling it?

What is wrong with the download link available on bitcoin.org?

Well, as part of my continuous improvement program I am trying to get back into C after abandoning it years ago... I have decided that a few things in computers will stick around like Unix, C and SQL so I should get a grip on them.



Title: Re: built 3.23 in Narwhal - no gui
Post by: drawoc on July 08, 2011, 01:21:45 AM
You could attempt to compile the QT port of the bitcoin app:
http://forum.bitcoin.org/index.php?topic=15276.0 (http://forum.bitcoin.org/index.php?topic=15276.0)
They're planning on switching to QT in the future anyway, and you might have fewer issues.


Title: Re: built 3.23 in Narwhal - no gui
Post by: marcus_of_augustus on July 12, 2011, 06:59:40 AM
Hi - I've built 3.23 in Narwhal, it compiles and runs and downloads blocks but the gui does not come up.

tail -F debug.log
IRC got new address
IRC got join
IRC got join
IRC got join
IRC got join
IRC got join
AddAddress()
IRC got new address
IRC got join
IRC got join

it does eventually get the blocks - blkindex.dat is 137 mb and blk0001.dat is 286 mb - but the gui never shows up. Any ideas?

 ???


Why are you compiling it?

What is wrong with the download link available on bitcoin.org?

What's wrong with wanting to compile it ...?