Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: dust on April 22, 2011, 08:02:46 PM



Title: Bitcoin on Ubuntu 11.04
Post by: dust on April 22, 2011, 08:02:46 PM
I made the mistake of upgrading to Ubuntu 11.04 and can't seem to get the graphical client running.  Neither the released binary nor the binary I compiled myself will show the graphical interface.  The debug.log file indicates that at least the IRC communications are working.

Has anyone been able to run the graphical client on 11.04?


Title: Re: Bitcoin on Ubuntu 11.04
Post by: ploum on April 22, 2011, 09:29:30 PM
The deb package done by tuxsoul for 10.10 still works for me (but with some error that popup during launch)


Title: Re: Bitcoin on Ubuntu 11.04
Post by: gigabytecoin on April 28, 2011, 06:10:53 AM
I made the mistake of upgrading to Ubuntu 11.04 and can't seem to get the graphical client running.  Neither the released binary nor the binary I compiled myself will show the graphical interface.  The debug.log file indicates that at least the IRC communications are working.

Has anyone been able to run the graphical client on 11.04?

Perhaps you need to re-install...???

The bitcoin client works on virtually any stable linux version... No matter what "release".


Title: Re: Bitcoin on Ubuntu 11.04
Post by: humble on April 29, 2011, 02:17:18 AM
Yep, same problem here. Upgraded to Natty and now Bitcoin GUI doesn't come up anymore - neither in Unity nor in Gnome. Tried upgrading to 0.3.21 and recanning the blockchain but still no joy.

Bitcoind still shows my balance (fortunately!)


Title: Re: Bitcoin on Ubuntu 11.04
Post by: RodeoX on April 29, 2011, 03:26:55 AM
 Thanks for the heads up I was going to upgrade this week.
I filed a report with Ubuntu about this.


Title: Re: Bitcoin on Ubuntu 11.04
Post by: jawsdaws on April 29, 2011, 12:20:03 PM
On Natty, I could get the Bitcoin client to show up in only Ubuntu classic (No effects) mode.  It seems there is a problem with compiz in 11.04.


Title: Re: Bitcoin on Ubuntu 11.04
Post by: FatherMcGruder on April 29, 2011, 03:56:29 PM
Anyone else get burned with the upgrade? At first I all I could get was a black screen, but after a bit of mucking around, I could get to a classic desktop with an Nvidia driver that's active but not in use. It also boots up slower than with 10.10. I've been poking around the Ubuntu forums, but I'm still not sure what to do about it.


Title: Re: Bitcoin on Ubuntu 11.04
Post by: omegamormegil on April 29, 2011, 06:15:34 PM
Yes, the gui stops coming up after the upgrade to 11.04 (Ubuntu Natty), unless I choose the Ubuntu Classic (no effects) option at the login screen.  

Reinstalling (deleting the folder and unpacking the tarball again) changed nothing.

Edit:  Here's the Launchpad bug report: https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/758398


Title: Re: Bitcoin on Ubuntu 11.04
Post by: trout on April 29, 2011, 07:32:41 PM
I just upgraded to Natty. Luckily, compiz doesn't work :-D so I'm bacl to "classic" by forced default.
bitcoin works.


Title: Re: Bitcoin on Ubuntu 11.04
Post by: dust on April 29, 2011, 08:00:08 PM
The graphical client doesn't work with either unity or classic for me.


Title: Re: Bitcoin on Ubuntu 11.04
Post by: alkor on April 29, 2011, 09:28:59 PM
I think maybe it is time to switch from wxWidgets to Qt?


Title: Re: Bitcoin on Ubuntu 11.04
Post by: FatherMcGruder on April 30, 2011, 02:45:19 AM
Everything seems to be working nicely now. I just had to go into classic mode and uninstall and reinstall the nvidia driver. Unity is pretty neat.


Title: Re: Bitcoin on Ubuntu 11.04
Post by: partyp on April 30, 2011, 07:10:03 PM
i made the mistake of updating to 11.04 as well..

i reinstalled my nvidia drivers and still do not see the bitcoin GUI in ubuntu classic.. :(


Title: Re: Bitcoin on Ubuntu 11.04
Post by: trentzb on April 30, 2011, 07:13:21 PM
I went a bit further and stripped compiz out entirely, logout/login with Ubuntu Classic and all is good on 11.04 now.


Title: Re: Bitcoin on Ubuntu 11.04
Post by: kuracisto on April 30, 2011, 08:22:02 PM
I have no intention of dumping Unity solely to run bitcoin, and it appears from my experience and other reports that there is some problem between the two.

Can anyone suggest a workaround? Is anyone working on a fix?


Title: Re: Bitcoin on Ubuntu 11.04
Post by: xur17 on April 30, 2011, 09:21:40 PM
I am having trouble running bitcoin on 11.04 x64.  I tried a few different packages, and the tar.gz from bitcoin.org, but none work for me.  I start the program, and nothing comes up (and no output to the console).

Any ideas?


Title: Re: Bitcoin on Ubuntu 11.04
Post by: alkor on May 01, 2011, 05:20:41 AM
Can anyone suggest a workaround? Is anyone working on a fix?
Well, right now my workaround is to just use the CLI via bitcoind.


Title: Re: Bitcoin on Ubuntu 11.04
Post by: trentzb on May 01, 2011, 07:18:35 AM
Workarounds/Ideas:

- Login with Ubuntu Classic
- Remove Compiz/Disable Compiz
- Use bitcoind

Did you try any/all of these?


Title: Re: Bitcoin on Ubuntu 11.04
Post by: wolciph on May 01, 2011, 04:41:37 PM
I am quite sure this is a bug in bitcoin and not in Ubuntu since the same thing seams to happen with other window managers. See this bug report: https://github.com/bitcoin/bitcoin/issues/128


Title: Re: Bitcoin on Ubuntu 11.04
Post by: Matt Corallo on May 01, 2011, 05:49:45 PM
This is a problem with wxWidgets, works fine if you compile with wxWidgets-trunk.  For those who cannot/will not do that, the bitcoin-gui 0.3.21 binaries are posted at: http://bitcoin.bluematt.me/bitcoin-nightly/ubuntu-11.04/ (http://bitcoin.bluematt.me/bitcoin-nightly/ubuntu-11.04/).  Works with Ubuntu classic and the new crap.  Just download, right-click -> permissions -> check the "execute" box and be on your way.

Technical stuff:
For reference, this binary works fine on 10.10 as well, I suppose we should be building this binary by default instead.
Appears to be http://trac.wxwidgets.org/ticket/13146 (http://trac.wxwidgets.org/ticket/13146), but doesnt work if you simply apply http://trac.wxwidgets.org/changeset/67496 (http://trac.wxwidgets.org/changeset/67496).  I probably didn't look into the matter far enough, but it works with trunk, so I don't really care to.


Title: Re: Bitcoin on Ubuntu 11.04
Post by: ploum on May 01, 2011, 08:21:20 PM
By the way, are you using Unity? What do you think of this new interface?


Title: Re: Bitcoin on Ubuntu 11.04
Post by: wolciph on May 01, 2011, 10:13:47 PM
After compiling with latest wxWidget daily snapshot, I can confirm the GUI is working fine here.

By the way, are you using Unity? What do you think of this new interface?

I hate it. It takes up space and I find the new menu system a real pain. I just switched to the classic interface after a few minutes.


Title: Re: Bitcoin on Ubuntu 11.04
Post by: dust on May 01, 2011, 10:15:55 PM
By the way, are you using Unity? What do you think of this new interface?
Unity seems only appropriate for netbooks to me.

On topic: Building with the trunk of wxWidgets worked for me.


Title: Re: Bitcoin on Ubuntu 11.04
Post by: Matt Corallo on May 01, 2011, 10:16:35 PM
By the way, are you using Unity? What do you think of this new interface?
Not a chance, just upgraded the full desktop to 11.04, hate Unity.  Also had to downgrade NVIDIA driver for mining (260 appears to work best for those who might be interested different X server version, 260 doesn't work and miners use 100% cpu), and add
Code:
style "default-style"
{
  GtkWindow::resize-grip-height = 0
  GtkWindow::resize-grip-width = 0
}

class "GtkWidget" style "default-style"
to ~/.gtkrc-2.0 to make those anoying resize squares go away in most applications.


Title: Re: Bitcoin on Ubuntu 11.04
Post by: loungedaddy on May 02, 2011, 12:31:16 AM
This is a problem with wxWidgets, works fine if you compile with wxWidgets-trunk.  For those who cannot/will not do that, the bitcoin-gui 0.3.21 binaries are posted at: http://bitcoin.bluematt.me/bitcoin-nightly/ubuntu-11.04/ (http://bitcoin.bluematt.me/bitcoin-nightly/ubuntu-11.04/).  Works with Ubuntu classic and the new crap.  Just download, right-click -> permissions -> check the "execute" box and be on your way.
...

Wanted to say that this works perfectly.

I was having the same problem as everyone else upon upgrade to 11.04. So I'm jazzed to have everything up and running again. Thanks for posting that.  :)


Title: Re: Bitcoin on Ubuntu 11.04
Post by: alkor on May 02, 2011, 07:06:00 PM
Maybe it is time to migrate the GUI from wxWidgets to Qt. How hard would that be?


Title: Re: Bitcoin on Ubuntu 11.04
Post by: JackSparrow on May 02, 2011, 07:31:06 PM
By the way, are you using Unity? What do you think of this new interface?
Sorry to say that, but I like the new interface.

When will there be official binaries out there? I don't want to trust some binaries uploaded by someone one some server  :-\


Title: Re: Bitcoin on Ubuntu 11.04
Post by: Matt Corallo on May 02, 2011, 07:46:29 PM
When will there be official binaries out there? I don't want to trust some binaries uploaded by someone one some server  :-\
Sadly not till the next version I'm afraid.  Gavin doesn't have time right now and the build system is being redone for 0.4.0 (think distributed builds by many people so you don't have to trust any individual party).  Building bitcoin yourself, however, isn't as bad as it seems.  Follow the instructions in build-unix.txt and ask if you have any questions.  (or you could trust me, of course, but even I wouldn't recommend that)


Title: Re: Bitcoin on Ubuntu 11.04
Post by: JackSparrow on May 02, 2011, 07:55:00 PM
or you could trust me, of course, but even I wouldn't recommend that
Could you just post some singed sha1sums of the binaries here, so that it is at least sure that they are from you ;) ?


Title: Re: Bitcoin on Ubuntu 11.04
Post by: Matt Corallo on May 02, 2011, 08:09:19 PM
Could you just post some singed sha1sums of the binaries here, so that it is at least sure that they are from you ;) ?

Code:
SHA256:
87690c9fd3d806f40dc0e954f2b64e0d26a5b843f69314969238a144fe833f0f  bitcoin-i386
1bc0e424b109b28f148c2ff6e950add8365c3c39f330f1d6a7c131a1862c4fd6  bitcoin-amd64


Title: Re: Bitcoin on Ubuntu 11.04
Post by: benfell on May 03, 2011, 07:53:46 AM
Interesting.  I am running Natty.  I actually did try to build from source first and ran into some strange problem and so went with the precompiled binaries.  There might be a couple differences: 1) I'm using Xubuntu, so I'm running under XFCE4 which is unaffected by all this Unity upheaval.  2) Following the directions, I did succeed in building WxWidgets.  But I take it that that library is built into the the precompiled binaries:

Code:
graton root /home/benfell # ldd bitcoin-0.3.21/bin/32/bitcoin
linux-gate.so.1 =>  (0x0080d000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x00110000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x004e9000)
libatk-1.0.so.0 => /usr/lib/i386-linux-gnu/libatk-1.0.so.0 (0x005d1000)
libpangoft2-1.0.so.0 => /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0 (0x00d3e000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x00582000)
libgio-2.0.so.0 => /usr/lib/i386-linux-gnu/libgio-2.0.so.0 (0x005ed000)
libpango-1.0.so.0 => /usr/lib/i386-linux-gnu/libpango-1.0.so.0 (0x00a32000)
libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0x00f77000)
libfontconfig.so.1 => /usr/lib/i386-linux-gnu/libfontconfig.so.1 (0x00bea000)
libgobject-2.0.so.0 => /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 (0x006f0000)
libgmodule-2.0.so.0 => /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0 (0x00883000)
libgthread-2.0.so.0 => /usr/lib/i386-linux-gnu/libgthread-2.0.so.0 (0x0059f000)
librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0x008e7000)
libglib-2.0.so.0 => /lib/i386-linux-gnu/libglib-2.0.so.0 (0x008f0000)
libXinerama.so.1 => /usr/lib/i386-linux-gnu/libXinerama.so.1 (0x005a4000)
libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0x0077e000)
libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0x005a8000)
libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0x00737000)
libjpeg.so.62 => /usr/lib/i386-linux-gnu/libjpeg.so.62 (0x0074c000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0x005cd000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0x00aa6000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0x00c19000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0x00786000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0x007a2000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0x00d66000)
libpangocairo-1.0.so.0 => /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0 (0x0076c000)
libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0x00ffd000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00b2e000)
libXcomposite.so.1 => /usr/lib/i386-linux-gnu/libXcomposite.so.1 (0x00778000)
libXdamage.so.1 => /usr/lib/i386-linux-gnu/libXdamage.so.1 (0x00f17000)
libXfixes.so.3 => /usr/lib/i386-linux-gnu/libXfixes.so.3 (0x007bb000)
libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0x007c1000)
libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0x007d0000)
libXi.so.6 => /usr/lib/i386-linux-gnu/libXi.so.6 (0x007da000)
libXrandr.so.2 => /usr/lib/i386-linux-gnu/libXrandr.so.2 (0x007e9000)
libXcursor.so.1 => /usr/lib/i386-linux-gnu/libXcursor.so.1 (0x007f1000)
libpcre.so.3 => /lib/i386-linux-gnu/libpcre.so.3 (0x0080e000)
libresolv.so.2 => /lib/i386-linux-gnu/libresolv.so.2 (0x0084d000)
libselinux.so.1 => /lib/i386-linux-gnu/libselinux.so.1 (0x00862000)
libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0x00887000)
/lib/ld-linux.so.2 (0x00b10000)
libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0x008b1000)
libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0x007fb000)
libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0x008c9000)
libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x0a9d7000)
libxcb-shm.so.0 => /usr/lib/i386-linux-gnu/libxcb-shm.so.0 (0x00800000)
libxcb-render.so.0 => /usr/lib/i386-linux-gnu/libxcb-render.so.0 (0x00804000)
libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0x0087d000)
libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0x009c7000)
graton root /home/benfell #

'cause maybe I'm blind, but I don't see it here.


Title: Re: Bitcoin on Ubuntu 11.04
Post by: walidzohair on May 03, 2011, 04:28:27 PM
I made the mistake of upgrading to Ubuntu 11.04 and can't seem to get the graphical client running.  Neither the released binary nor the binary I compiled myself will show the graphical interface.  The debug.log file indicates that at least the IRC communications are working.

Has anyone been able to run the graphical client on 11.04?

Yes it is a BIG Mistake to upgrade to natty ... bitcoin is just one of my problems... skype too


Title: Re: Bitcoin on Ubuntu 11.04
Post by: walidzohair on May 03, 2011, 04:43:08 PM
This is a problem with wxWidgets, works fine if you compile with wxWidgets-trunk.  For those who cannot/will not do that, the bitcoin-gui 0.3.21 binaries are posted at: http://bitcoin.bluematt.me/bitcoin-nightly/ubuntu-11.04/ (http://bitcoin.bluematt.me/bitcoin-nightly/ubuntu-11.04/).  Works with Ubuntu classic and the new crap.  Just download, right-click -> permissions -> check the "execute" box and be on your way.

Technical stuff:
For reference, this binary works fine on 10.10 as well, I suppose we should be building this binary by default instead.
Appears to be http://trac.wxwidgets.org/ticket/13146 (http://trac.wxwidgets.org/ticket/13146), but doesnt work if you simply apply http://trac.wxwidgets.org/changeset/67496 (http://trac.wxwidgets.org/changeset/67496).  I probably didn't look into the matter far enough, but it works with trunk, so I don't really care to.


not working for me


Title: Re: Bitcoin on Ubuntu 11.04
Post by: Matt Corallo on May 03, 2011, 04:49:20 PM
not working for me
Care to share a bit more information?


Title: Re: Bitcoin on Ubuntu 11.04
Post by: walidzohair on May 04, 2011, 09:01:44 AM
not working for me
Care to share a bit more information?


not working for me
Care to share a bit more information?

It is hell right now for me .. trying a 100 solution and yet bitcoin is not working for natty.

these are the things I have tried

1) building with wxwidgets-trunk as in these steps  http://lickthesalt.com/2010/08/19/compiling-bitcoin-on-ubuntu-10-04-karmic/

and as much as it was painful specially the trick of no file system translation ( --fstrans=no for the checkinstall to work on natty), I finally hit the wall in the last step trying to compile the butcoin (after painful sucessful compilation of wxWidgets). the error message for last step is net.cpp:8:32: fatal error: miniupnpc/miniwget.h: No such file or directory
compilation terminated.


2) trying the 0.3.20 and 0.3.21 and the nightly build at http://bitcoin.bluematt.me/bitcoin-nightly/ubuntu-11.04/ resulted in the funkiest response ever i have found on a linux system as I get these two error message boxes (windows-like)
bitcoin
EXCEPTION: 11dbException
dbc::get:input/output error
bitcoin in appInit()

Bitcoin
Dbc::get:Input.output error
bitcoin in CMyapp::OnunhandledException()

 - the screenshots could not be attached because the download folder is full here ? - and finally no client and no client process! strange that I used to have the process sleeping but no gui.

3) I have tried the above steps at all the natty GUI flavors. ubuntu , classic , classic with no effects.

It just wont work and they complain it is a bug in the bitcoin code. (https://github.com/bitcoin/bitcoin/issues/128).


Any advise ?





Title: Re: Bitcoin on Ubuntu 11.04
Post by: Matt Corallo on May 04, 2011, 09:42:46 AM
It is hell right now for me .. trying a 100 solution and yet bitcoin is not working for natty.

these are the things I have tried

1) building with wxwidgets-trunk as in these steps  http://lickthesalt.com/2010/08/19/compiling-bitcoin-on-ubuntu-10-04-karmic/

and as much as it was painful specially the trick of no file system translation ( --fstrans=no for the checkinstall to work on natty), I finally hit the wall in the last step trying to compile the butcoin (after painful sucessful compilation of wxWidgets). the error message for last step is net.cpp:8:32: fatal error: miniupnpc/miniwget.h: No such file or directory
compilation terminated.
This means you need to install miniupnpc

2) trying the 0.3.20 and 0.3.21 and the nightly build at http://bitcoin.bluematt.me/bitcoin-nightly/ubuntu-11.04/ resulted in the funkiest response ever i have found on a linux system as I get these two error message boxes (windows-like)
bitcoin
EXCEPTION: 11dbException
dbc::get:input/output error
bitcoin in appInit()

Bitcoin
Dbc::get:Input.output error
bitcoin in CMyapp::OnunhandledException()

 - the screenshots could not be attached because the download folder is full here ? - and finally no client and no client process! strange that I used to have the process sleeping but no gui.
Try deleting everything but wallet.dat in your ~/.bitcoin folder and make sure you have the right architecture downloaded (64-bit vs 32-bit)


Title: Re: Bitcoin on Ubuntu 11.04
Post by: walidzohair on May 04, 2011, 10:41:11 AM
OK thanks.


Solution 1

now it works from http://bitcoin.bluematt.me/bitcoin-nightly/ubuntu-11.04/ for me .. still downloading the block chain and it shows my balance as 0 although it have all my previous transactions listed (with 0 confirmations) - is that normal ? until i get the whole block chain again ?


The Solution

For building with the wxwidgets-trunk, I have downloaded, compiled and installed the miniupnpc as indicated in the build-unix.txt in bitcoin source code.

and now it gives a new error


obj/db.o: In function `Unserialize<CDataStream>':
/home/walid/Downloads/src/bitcoin-trunk/serialize.h:136: undefined reference to `fUseUPnP'
collect2: ld returned 1 exit status
make: *** [bitcoin] Error 1

when I try to compile with make -f makefile.unix USE_UPNP=


also the same error when I try to compile with the USE_PNP:=0  commented in the makefile.unix

or just use make -f makefile.unix

I am guessing the problem is "To compile with UPnP support, install miniupnpc and compile after setting USE_UPNP" which I have no clue how to do it.

although I used this thread as reference   http://bitcointalk.org/index.php?topic=6942.0



Any help would be appreciated since it is the really the right way to compile it yourself or downloaded from a public repository.

Thanks



Title: Re: Bitcoin on Ubuntu 11.04
Post by: walidzohair on May 04, 2011, 10:53:35 AM
By the way, are you using Unity? What do you think of this new interface?

Unity Sucks.

is it even new ? it is the same as in the maverick netbook version!

if that all what is the new release about then someone should really leave his ass kicked.


Title: Re: Bitcoin on Ubuntu 11.04
Post by: Matt Corallo on May 04, 2011, 04:56:54 PM
obj/db.o: In function `Unserialize<CDataStream>':
/home/walid/Downloads/src/bitcoin-trunk/serialize.h:136: undefined reference to `fUseUPnP'
collect2: ld returned 1 exit status
make: *** [bitcoin] Error 1

when I try to compile with make -f makefile.unix USE_UPNP=

also the same error when I try to compile with the USE_PNP:=0  commented in the makefile.unix

or just use make -f makefile.unix
No idea here.  If you just build with make -f makefile.unix, which is equivalent to make -f makefile.unix USE_UPNP=0 do you get any errors (that is the proper way to build if you want UPnP support).  If you build with make -f makefile.unix USE_UPNP= the compiler should automatically optimize out any code which references fUseUPnP as fHaveUPnP is set statically and constantly to false.  What compiler are you using and do you have any kind of CXXFLAGS set at compiletime?

I am guessing the problem is "To compile with UPnP support, install miniupnpc and compile after setting USE_UPNP" which I have no clue how to do it.
Sorry, poorly worded (shame on me), should compile with UPnP by default. 

although I used this thread as reference   http://bitcointalk.org/index.php?topic=6942.0
Really have no idea why this thread exists, from what I can tell, it is people who didn't know that you can use USE_UPNP= to unset it (which, to be fair, I didn't know either until I was told)

is it even new ? it is the same as in the maverick netbook version!
Exactly what I thought when I first saw it.  Something like "They better change this crap before putting it as default on all desktops" but nope, they just left it.
if that all what is the new release about then someone should really leave his ass kicked.
To be fair, there is a ton of upgraded packages and changed default applications (which I all tend to agree with).


Title: Re: Bitcoin on Ubuntu 11.04
Post by: Vasco on May 05, 2011, 06:47:08 AM
Had the same problem, BlueMatt's version fixed it. Thanks!


Title: Re: Bitcoin on Ubuntu 11.04
Post by: walidzohair on May 05, 2011, 03:52:46 PM
I dunno if it is me the unlucky one or if there is something wrong with my system .. but now after i deleted every thing in my .bitcoin folder except the wallet.dat .. when i run the program it is fine and trying to pull the block chain and every thing is OK

BUT

when i click on the sent tab it gives an error that says

An Assertion failed!

./src/comoon/evtloopcmn.cpp(755):asser "assert failure"
failed in Yield(): wxYield called recursivley

it just continue if i press continue

finally it is my thrid day and not being able to pull all the chain block yet .. is that normal ?

and here is the error i get when i try to compile with sudo make -f makefile.unix USE_UPNP=

obj/db.o: In function `CWalletDB::LoadWallet()':
/home/walid/Downloads/src/bitcoin-trunk/db.cpp:811: undefined reference to `fUseUPnP'
obj/db.o: In function `Unserialize<CDataStream>':
/home/walid/Downloads/src/bitcoin-trunk/serialize.h:136: undefined reference to `fUseUPnP'
collect2: ld returned 1 exit status
make: *** [bitcoin] Error 1





Title: Re: Bitcoin on Ubuntu 11.04
Post by: walidzohair on May 05, 2011, 06:54:12 PM
any help ?


Title: Re: Bitcoin on Ubuntu 11.04
Post by: JackSparrow on May 06, 2011, 06:27:03 AM
any help ?
Which Version are you using?


Title: Re: Bitcoin on Ubuntu 11.04
Post by: Matt Corallo on May 06, 2011, 09:42:19 AM
and here is the error i get when i try to compile with sudo make -f makefile.unix USE_UPNP=

obj/db.o: In function `CWalletDB::LoadWallet()':
/home/walid/Downloads/src/bitcoin-trunk/db.cpp:811: undefined reference to `fUseUPnP'
obj/db.o: In function `Unserialize<CDataStream>':
/home/walid/Downloads/src/bitcoin-trunk/serialize.h:136: undefined reference to `fUseUPnP'
collect2: ld returned 1 exit status
make: *** [bitcoin] Error 1
What compiler? ie gcc -v


Title: Re: Bitcoin on Ubuntu 11.04
Post by: walidzohair on May 07, 2011, 12:20:50 PM
and here is the error i get when i try to compile with sudo make -f makefile.unix USE_UPNP=

obj/db.o: In function `CWalletDB::LoadWallet()':
/home/walid/Downloads/src/bitcoin-trunk/db.cpp:811: undefined reference to `fUseUPnP'
obj/db.o: In function `Unserialize<CDataStream>':
/home/walid/Downloads/src/bitcoin-trunk/serialize.h:136: undefined reference to `fUseUPnP'
collect2: ld returned 1 exit status
make: *** [bitcoin] Error 1
What compiler? ie gcc -v

I have no idea i just type in the command and I am using the default with ubuntu natty


Title: Re: Bitcoin on Ubuntu 11.04
Post by: wolciph on May 07, 2011, 11:10:59 PM
Here is a script that will do absolutely everything - including downloads - in order to get a compiled version of bitcoin working in Natty (with the GUI fixed of course): http://pastebin.com/JLxKKpuq
Actually, I'll even put it here directly:
Code:
#!/bin/bash
echo "DISCLAIMER: you are using this script at your own discretion! By typing 'c', you agree that you have read the script yourself and have understood it and that you will thus take full responsabilty in the eventuality that this script leads to any harm to you or your property. If you do not agree type 'n'"
read -n 1 r
[ "$r" = 'c' ] || exit 0

set -e

echo "You will be prompted to enter your password in order to install necessary dependencies."

sudo apt-get install build-essential libgtk2.0-dev libssl-dev libdb4.7-dev libdb4.7++-dev libboost-all-dev
sudo apt-get build-dep libwxgtk2.8-dev

mkdir bitcoin || true
cd bitcoin

[ -e wxWidgets.tar.gz ] || wget "http://biolpc22.york.ac.uk/pub/Daily_HEAD/wxWidgets.tar.gz"
[ -e wxWidgets ] || tar -xvzf wxWidgets.tar.gz
cd wxWidgets
./configure
make -j3
sudo make install
sudo ldconfig
cd ..

[ -e miniupnpc*.tar.gz ] || wget "http://miniupnp.tuxfamily.org/files/download.php?file=miniupnpc-1.5.tar.gz"
[ -e miniupnpc*/ ] || tar -xvzf *miniupnpc*.tar.gz
cd *miniupnpc*/
make
sudo make install
cd ..

#for some reason, github's certificate doesn't work:
[ -e bitcoin*.tar.gz ] || wget --no-check-certificate "https://www.github.com/bitcoin/bitcoin/tarball/v0.3.21"
[ -e bitcoin*/ ] || tar -xvzf "v0.3.21"
cd bitcoin*/
make -f makefile.unix
make -f makefile.unix bitcoind
#optional:
strip bitcoin; strip bitcoind;
echo "Bitcoin is now compiled : '$PWD/bitcoin'"
echo "Launch bitcoin now? (y/n)"
read -n1 r
[[ "$r" = y ]] && ./bitcoin
cd ..
To run it: save it in your home folder as bitcoinfornatty.bash, open a terminal (ctrl+alt+t), type "bash ./bitcoinfornatty.bash", press enter (yeah, some people don't even get that you have to press enter) and READ THE DISCLAIMER.
Also, you agree that I will not be held responsible for any inconsistencies between my disclaimer and the amount of detail in my instructions.
Don't hesitate to report any problems.

EDIT: added lines:
Code:
make -f makefile.unix bitcoind
#optional:
strip bitcoin; strip bitcoind;
It will now build bitcoind also.


Title: Re: Bitcoin on Ubuntu 11.04
Post by: walidzohair on May 10, 2011, 06:05:10 AM
Here is a script that will do absolutely everything - including downloads - in order to get a compiled version of bitcoin working in Natty (with the GUI fixed of course): http://pastebin.com/JLxKKpuq
Actually, I'll even put it here directly:
Code:
#!/bin/bash
echo "DISCLAIMER: you are using this script at your own discretion! By typing 'c', you agree that you have read the script yourself and have understood it and that you will thus take full responsabilty in the eventuality that this script leads to any harm to you or your property. If you do not agree type 'n'"
read -n 1 r
[ "$r" = 'c' ] || exit 0

set -e

echo "You will be prompted to enter your password in order to install necessary dependencies."

sudo apt-get install build-essential libgtk2.0-dev libssl-dev libdb4.7-dev libdb4.7++-dev libboost-all-dev
sudo apt-get build-dep libwxgtk2.8-dev

mkdir bitcoin || true
cd bitcoin

[ -e wxWidgets.tar.gz ] || wget "http://biolpc22.york.ac.uk/pub/Daily_HEAD/wxWidgets.tar.gz"
[ -e wxWidgets ] || tar -xvzf wxWidgets.tar.gz
cd wxWidgets
./configure
make -j3
sudo make install
sudo ldconfig
cd ..

[ -e miniupnpc*.tar.gz ] || wget "http://miniupnp.tuxfamily.org/files/download.php?file=miniupnpc-1.5.tar.gz"
[ -e miniupnpc*/ ] || tar -xvzf *miniupnpc*.tar.gz
cd *miniupnpc*/
make
sudo make install
cd ..

#for some reason, github's certificate doesn't work:
[ -e bitcoin*.tar.gz ] || wget --no-check-certificate "https://www.github.com/bitcoin/bitcoin/tarball/v0.3.21"
[ -e bitcoin*/ ] || tar -xvzf "v0.3.21"
cd bitcoin*/
make -f makefile.unix
#optional:
strip bitcoin
echo "Bitcoin is now compiled : '$PWD/bitcoin'"
echo "Launch bitcoin now? (y/n)"
read -n1 r
[[ "$r" = y ]] && ./bitcoin
cd ..
To run it: save it in your home folder as bitcoinfornatty.bash, open a terminal (ctrl+alt+t), type "bash ./bitcoinfornatty.bash", press enter (yeah, some people don't even get that you have to press enter) and READ THE DISCLAIMER.
Also, you agree that I will not be held responsible for any inconsistencies between my disclaimer and the amount of detail in my instructions.
Don't hesitate to report any problems.

Thanks a lot man for your time,


This what I call a true piece of work and help.

I will try it and post either way


Title: Re: Bitcoin on Ubuntu 11.04
Post by: kingbirdy on May 10, 2011, 09:07:43 PM
I got it to work for the most part, but eventually I get an error (after the programs are installed, but before it makes a bitcoin directory)
it says:

Code:
ERROR: Build failed. Please review the build log at /tmp/alsa-driver-linuxant.29315.log
dpkg: error processing alsa-driver-linuxant (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 alsa-driver-linuxant
E: Sub-process /usr/bin/dpkg returned an error code (1)


Title: Re: Bitcoin on Ubuntu 11.04
Post by: tuxsoul on May 12, 2011, 07:05:42 AM
Hi,

I think wxwidget is one big problem to bitcoin, why don't try using spesmilo gui for bitcoin ?, you can find it using the search command in the forum.

I will like create one package from spesmilo.

Greeting's.


Title: Re: Bitcoin on Ubuntu 11.04
Post by: freecoin on May 13, 2011, 06:23:13 AM
wolciph, thanks for the script; it worked!
I notice it installed to a 'user/bitcoin/bitcoin-bitcoin-12345e2' folder, that no 'daemon' folder was created, and with no bitcoind executable.  
When I use the "-server" option, I get a Warning about setting rpcpassword in the configuration file: /home/user/.bitcoin/bitcoin.conf' even though I did create that file.

I can't get it running in server mode.

EDIT: I got Bitcoin working in server mode by creating a 'bitcoin.conf' file within that 'bitcoin-bitcoin-12345e2' subfolder and then launching with this command: ./bitcoin -server -rpcuser=user -rpcpassword=pass

CPU mines at over 5 Mhash/s.  Now I will attempt to get a GPU miner going.

THANK YOU.


Title: Re: Bitcoin on Ubuntu 11.04
Post by: walidzohair on May 15, 2011, 05:40:34 AM
Hi,

I think wxwidget is one big problem to bitcoin, why don't try using spesmilo gui for bitcoin ?, you can find it using the search command in the forum.

I will like create one package from spesmilo.

Greeting's.

Nope thanks for your efforts but this time i will stick to bitcoin client.


Title: Re: Bitcoin on Ubuntu 11.04
Post by: walidzohair on May 15, 2011, 06:07:46 AM
Here is a script that will do absolutely everything - including downloads - in order to get a compiled version of bitcoin working in Natty (with the GUI fixed of course): http://pastebin.com/JLxKKpuq
Actually, I'll even put it here directly:
Code:
#!/bin/bash
echo "DISCLAIMER: you are using this script at your own discretion! By typing 'c', you agree that you have read the script yourself and have understood it and that you will thus take full responsabilty in the eventuality that this script leads to any harm to you or your property. If you do not agree type 'n'"
read -n 1 r
[ "$r" = 'c' ] || exit 0

set -e

echo "You will be prompted to enter your password in order to install necessary dependencies."

sudo apt-get install build-essential libgtk2.0-dev libssl-dev libdb4.7-dev libdb4.7++-dev libboost-all-dev
sudo apt-get build-dep libwxgtk2.8-dev

mkdir bitcoin || true
cd bitcoin

[ -e wxWidgets.tar.gz ] || wget "http://biolpc22.york.ac.uk/pub/Daily_HEAD/wxWidgets.tar.gz"
[ -e wxWidgets ] || tar -xvzf wxWidgets.tar.gz
cd wxWidgets
./configure
make -j3
sudo make install
sudo ldconfig
cd ..

[ -e miniupnpc*.tar.gz ] || wget "http://miniupnp.tuxfamily.org/files/download.php?file=miniupnpc-1.5.tar.gz"
[ -e miniupnpc*/ ] || tar -xvzf *miniupnpc*.tar.gz
cd *miniupnpc*/
make
sudo make install
cd ..

#for some reason, github's certificate doesn't work:
[ -e bitcoin*.tar.gz ] || wget --no-check-certificate "https://www.github.com/bitcoin/bitcoin/tarball/v0.3.21"
[ -e bitcoin*/ ] || tar -xvzf "v0.3.21"
cd bitcoin*/
make -f makefile.unix
#optional:
strip bitcoin
echo "Bitcoin is now compiled : '$PWD/bitcoin'"
echo "Launch bitcoin now? (y/n)"
read -n1 r
[[ "$r" = y ]] && ./bitcoin
cd ..
To run it: save it in your home folder as bitcoinfornatty.bash, open a terminal (ctrl+alt+t), type "bash ./bitcoinfornatty.bash", press enter (yeah, some people don't even get that you have to press enter) and READ THE DISCLAIMER.
Also, you agree that I will not be held responsible for any inconsistencies between my disclaimer and the amount of detail in my instructions.
Don't hesitate to report any problems.

Thanks a lot man for your time,


This what I call a true piece of work and help.

I will try it and post either way


did not work from first time and by the moment i discovered i need to bash it instead of sh it. i decided to go throw it manually and yet after a painful long compilation of the wx it works with an assertion error (as usual) .. i will give the other sp something trial but i will stick with the bitcoin :(

If i ever try the sp somthing I will post back here too.


Title: Re: Bitcoin on Ubuntu 11.04
Post by: wolciph on May 15, 2011, 09:48:00 AM
I don't understand what your saying, Walidzohair. What's the "sp"? EDIT: oh right, spesmilo.
If you're having trouble, it may be because my script is fetching the very latest sources of wxwidgets. But I can't seem to find a complete archive of the daily snapshots. They only seem to keep them for 3 days so I can't link to one that is known to be functional.

Also, I edited my previous post so it would compile bitcoind too.


Title: Re: Bitcoin on Ubuntu 11.04
Post by: Xenland on May 15, 2011, 09:15:36 PM
Mines working here (Ubuntu Natty fresh installed about 2 weeks ago) although i always open mine from the command line and leave it open(helps debugging and just a habit really) try opening from command line if it hasnt already been suggested.


Title: Re: Bitcoin on Ubuntu 11.04
Post by: freecoin on May 17, 2011, 03:22:58 AM
OK I had a system lock-up necessitating a hard reset.  Now Bitcoin won't start:

   EXCEPTION: 22DbRunRecoveryException       
   DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery       
   bitcoin in AppInit()


Can I just delete and re-run the script? There was nothing in the /bitcoin folder I needed.  In fact I don't think it ever created a wallet.dat file


Title: Re: Bitcoin on Ubuntu 11.04
Post by: Gnaffel on May 17, 2011, 06:31:49 AM
OK I had a system lock-up necessitating a hard reset.  Now Bitcoin won't start:

  EXCEPTION: 22DbRunRecoveryException      
   DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery      
   bitcoin in AppInit()


Can I just delete and re-run the script? There was nothing in the /bitcoin folder I needed.  In fact I don't think it ever created a wallet.dat file

If you delete wallet.dat you lose all your bitcoins. You can delete everything in .bitcoin but NOT Wallet.dat and Bitcoin.conf


Title: Re: Bitcoin on Ubuntu 11.04
Post by: Matt Corallo on May 17, 2011, 10:09:34 AM
Can I just delete and re-run the script? There was nothing in the /bitcoin folder I needed.  In fact I don't think it ever created a wallet.dat file
Yea, if you dont have any coins in your wallet.dat, just rm -r ~/.bitcoin and move on with it (though remember, that will delete all your coins so...)


Title: Re: Bitcoin on Ubuntu 11.04
Post by: freecoin on May 18, 2011, 03:26:30 AM
deleted /bitcoin folder (with its subfolders) and re-installed.  Same error.

I will say that something just didn't seem right about the initial Bitcoin install.  It never created a wallet.dat file, I searched high and low, even used the Ubuntu file search.  I thought, well maybe it's only created on first use.  So I sent 0.01 BTC from my windows box to Ubuntu.  Never arrived.  That was about the time of the freeze-up too.  Now I've got a 0/unconfirmed transaction in my windows Bitcoin (whatever becomes of those orphaned trans?).


Title: Re: Bitcoin on Ubuntu 11.04
Post by: omichalek on June 10, 2011, 12:47:55 PM
I think maybe it is time to switch from wxWidgets to Qt?
+1