Pages:
Author

Topic: Bitcoin on Ubuntu 11.04 - page 2. (Read 24736 times)

hero member
Activity: 755
Merit: 515
May 04, 2011, 11:56:54 AM
#39
obj/db.o: In function `Unserialize':
/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   https://bitcointalksearch.org/topic/patch-build-without-upnp-6942
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).
full member
Activity: 184
Merit: 100
May 04, 2011, 05:53:35 AM
#38
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.
full member
Activity: 184
Merit: 100
May 04, 2011, 05:41:11 AM
#37
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':
/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   https://bitcointalksearch.org/topic/patch-build-without-upnp-6942



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

Thanks

hero member
Activity: 755
Merit: 515
May 04, 2011, 04:42:46 AM
#36
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)
full member
Activity: 184
Merit: 100
May 04, 2011, 04:01:44 AM
#35
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 ?



hero member
Activity: 755
Merit: 515
May 03, 2011, 11:49:20 AM
#34
not working for me
Care to share a bit more information?
full member
Activity: 184
Merit: 100
May 03, 2011, 11:43:08 AM
#33
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/.  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, but doesnt work if you simply apply 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
full member
Activity: 184
Merit: 100
May 03, 2011, 11:28:27 AM
#32
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
newbie
Activity: 1
Merit: 0
May 03, 2011, 02:53:46 AM
#31
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.
hero member
Activity: 755
Merit: 515
May 02, 2011, 03:09:19 PM
#30
Could you just post some singed sha1sums of the binaries here, so that it is at least sure that they are from you Wink ?

Code:
SHA256:
87690c9fd3d806f40dc0e954f2b64e0d26a5b843f69314969238a144fe833f0f  bitcoin-i386
1bc0e424b109b28f148c2ff6e950add8365c3c39f330f1d6a7c131a1862c4fd6  bitcoin-amd64
member
Activity: 116
Merit: 10
May 02, 2011, 02:55:00 PM
#29
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 Wink ?
hero member
Activity: 755
Merit: 515
May 02, 2011, 02:46:29 PM
#28
When will there be official binaries out there? I don't want to trust some binaries uploaded by someone one some server  Undecided
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)
member
Activity: 116
Merit: 10
May 02, 2011, 02:31:06 PM
#27
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  Undecided
full member
Activity: 136
Merit: 100
May 02, 2011, 02:06:00 PM
#26
Maybe it is time to migrate the GUI from wxWidgets to Qt. How hard would that be?
newbie
Activity: 2
Merit: 0
May 01, 2011, 07:31:16 PM
#25
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/.  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.  Smiley
hero member
Activity: 755
Merit: 515
May 01, 2011, 05:16:35 PM
#24
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.
hero member
Activity: 840
Merit: 1000
May 01, 2011, 05:15:55 PM
#23
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.
newbie
Activity: 33
Merit: 0
May 01, 2011, 05:13:47 PM
#22
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.
sr. member
Activity: 428
Merit: 254
May 01, 2011, 03:21:20 PM
#21
By the way, are you using Unity? What do you think of this new interface?
hero member
Activity: 755
Merit: 515
May 01, 2011, 12:49:45 PM
#20
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/.  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, but doesnt work if you simply apply 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.
Pages:
Jump to: