Author

Topic: Problem compiling with all autogen.sh type wallets. (Read 801 times)

legendary
Activity: 1098
Merit: 1000
I have found a temporary solution from this post, in case anyone else runs into this issue.

https://bitcointalksearch.org/topic/m.6483604

I would still like to know what the cause is, I even took a spare hard disk and did a fresh install of 14.10, and it does exactly the same thing, I also tried it on 14.04.1 and 12.04 with the same result

I can also replicate the issue on the fresh install by downloading any precompiled linux coin for example dogecoin
https://github.com/dogecoin/dogecoin/releases



legendary
Activity: 1098
Merit: 1000
Did you chmod +x the bitcoind and bitcoin-qt?
I did try that and no difference, like I said they run from the command line.

I've looked through the config.log that isn't showing any serious errors.
What is a "serious" error? I was under the impression that an error of any seriousness will cause configure to abort without producing a makefile.
I'm new to linux but from what I read some minor errors are common during the configure process as it then generates an appropriate makefile, by nothing serious I meant there were no warnings about missing files or packages.

This has made a little progress, the bitcoind and the bitcoin-qt files are now appearing in the coin-name/src directory but I can't click to run them as it appears they are not executable.  They will however run from the terminal.
Some file managers do not use the executable flag to determine if a particular file is executable, instead they attempt to determine the file format, which seems to fail on certain types of ELF binaries, with the file manager thinking the executable is instead a shared library, despite the flags. This is a bug which should be reported to developers of the file manager in question (if it isn't already reported).
This seems to be close to what the problem is, if I double click on the files I get this



but my gut still tells me that it's missing doing something at the end that would solve this, and put the files in the original directory


legendary
Activity: 4536
Merit: 3188
Vile Vixen and Miss Bitcointalk 2021-2023
I've looked through the config.log that isn't showing any serious errors.
What is a "serious" error? I was under the impression that an error of any seriousness will cause configure to abort without producing a makefile.

This has made a little progress, the bitcoind and the bitcoin-qt files are now appearing in the coin-name/src directory but I can't click to run them as it appears they are not executable.  They will however run from the terminal.
Some file managers do not use the executable flag to determine if a particular file is executable, instead they attempt to determine the file format, which seems to fail on certain types of ELF binaries, with the file manager thinking the executable is instead a shared library, despite the flags. This is a bug which should be reported to developers of the file manager in question (if it isn't already reported).
legendary
Activity: 1064
Merit: 1000
Did you chmod +x the bitcoind and bitcoin-qt?

Edit: I can't think of anything else right off hand. Strange problem, I hope you can fix it.
legendary
Activity: 1098
Merit: 1000
I decided to re-purpose one of my old mining machines to run as a server for all the coin daemons.

It's running Ubuntu 14.10 and I've compiled lots of normal qt wallets and daemons that use this usual method
Code:
Daemon
make -f makefile.unix USE_UNPNP=-

QT
qmake "USE_UNPNP=-"
make

However I have not been able to get a single one of these  types to work and I've tried about 10 different coins
Code:
./autogen.sh
./configure
make

What happens is that everything runs through fine, but at the end there is no bitcoind or bitcoin-qt

I've scoured the web but not managed to come across anyone with the same problem. I've checked numerous times that all the required packages are there,  I've looked through the config.log that isn't showing any serious errors.

I've done a manual install of the Berkley 4.8 DB and by using the following command
Code:
./configure CPPFLAGS="-I/usr/local/BerkeleyDB.4.8/include -O2" LDFLAGS="-L/usr/local/BerkeleyDB.4.8/lib"

This has made a little progress, the bitcoind and the bitcoin-qt files are now appearing in the coin-name/src directory but I can't click to run them as it appears they are not executable.  They will however run from the terminal.

I presumed that both files would end up in the coin-name directory, so it appears like it's failing to do something at the end.

Anybody any clues ?
Jump to: