Title: [BOUNTY] Ubuntu 12.04 Environment to compile bitcoin Post by: ProfMac on December 22, 2013, 09:24:37 PM I want an environment to compile bytecoin (BTE) under Ubuntu 12.04 (Precise Pangolin). This is the 1:1 bitcoin clone that was released April 1 (https://github.com/bryan-mills/bytecoin/), and may or may not be an April Fools's gag.
I will have a newly installed and updated standard Ubuntu 12.04 (Precise Pangolin) virtual machine (Oracle VirtualBox), and I will test your script in that environment. Certain posts suggest that related altcoins, especially CNC, will give a clean make in Ubuntu 11.04. You will provide a shell script that runs as root, that makes a complete environment to compile bytecoin, and does a clean make of bytecoin. I will own and publish the script. You may do anything else that you wish with it. I have made an initial effort to do this, and there are some missing dependencies. Some of the altcoin threads discuss these dependencies. I would rather pay you to handle these details than duplicate your expertise. If you have trouble connecting to a node, you may try addnode 66.234.123.28 add in your configuration file. for example: #!/bin/sh #sudo apt-get install ssh, ntp, git, <anything else that is necessary> #other installs as may be necessary #--- #git the source #--- #perform the make Please submit a bid denominated in BTC and a deadline. I will consider making payment in USD or BTE, provided that we agree on the exchange rate. If I pay in BTC or BTE, I will disclose the TXiD. Title: Re: [BOUNTY] Ubuntu 12.04 Environment to compile bitcoin Post by: ProfMac on December 22, 2013, 09:27:47 PM Oh my, my mouse button bounced. This should compile bytecoin-qt to be accepted. Execution of bytecoin-qt in my 12.04 virtual box is my acceptance criteria.
Title: Re: [BOUNTY] Ubuntu 12.04 Environment to compile bitcoin Post by: elbandi on December 23, 2013, 01:03:22 AM Hi,
Here: Quote apt-get install -y git-core build-essential apt-get install -y libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libboost-test-dev apt-get install -y libdb5.1++-dev libssl-dev pkg-config qt4-qmake libqt4-dev libqrencode-dev libminiupnpc-dev git clone https://github.com/ahmedbodi/bytecoin/ cd bytecoin/ qmake bytecoin-qt.pro USE_QRCODE=1 make cd src; make -f makefile.unix bytecoind Some more packages may be missing if your env is different from mine. (in created the test env with debootstrap) Elbandi Title: Re: [BOUNTY] Ubuntu 12.04 Environment to compile bitcoin Post by: ProfMac on December 23, 2013, 04:06:46 AM This looks pretty good. There is still one apparently well known problem. (http://askubuntu.com/questions/301183/broken-package-when-trying-to-install-libminiupnpc-dev)
On my system, I have the directory path /etc/apt/preferences.d/. This directory is empty. I am assuming that this is where the file should go that is mentioned in the answer linked above. What should that file name be, and should that fix be applied? Title: Re: [BOUNTY] Ubuntu 12.04 Environment to compile bitcoin Post by: crunchynut on December 23, 2013, 04:17:49 AM maybe "make -f makefile.unix USE_UPNP=-"
Title: Re: [BOUNTY] Ubuntu 12.04 Environment to compile bitcoin Post by: ProfMac on December 23, 2013, 04:48:13 AM maybe "make -f makefile.unix USE_UPNP=-" Do you have a working binary? Title: Re: [BOUNTY] Ubuntu 12.04 Environment to compile bitcoin Post by: ProfMac on December 23, 2013, 06:56:09 AM I have a successful build.
I do not have a solution to the libupnpc-dev problem. Title: Re: [BOUNTY] Ubuntu 12.04 Environment to compile bitcoin Post by: elbandi on December 23, 2013, 08:40:16 AM This looks pretty good. There is still one apparently well known problem. (http://askubuntu.com/questions/301183/broken-package-when-trying-to-install-libminiupnpc-dev) what is the result for this commandOn my system, I have the directory path /etc/apt/preferences.d/. This directory is empty. I am assuming that this is where the file should go that is mentioned in the answer linked above. What should that file name be, and should that fix be applied? Code: apt-cache policy libminiupnpc8 libminiupnpc-dev Title: Re: [BOUNTY] Ubuntu 12.04 Environment to compile bitcoin Post by: ProfMac on December 23, 2013, 04:23:10 PM This looks pretty good. There is still one apparently well known problem. (http://askubuntu.com/questions/301183/broken-package-when-trying-to-install-libminiupnpc-dev) what is the result for this commandOn my system, I have the directory path /etc/apt/preferences.d/. This directory is empty. I am assuming that this is where the file should go that is mentioned in the answer linked above. What should that file name be, and should that fix be applied? Code: apt-cache policy libminiupnpc8 libminiupnpc-dev That's pretty handy. I really need to read the docs again. Code: avalon@avalon-VirtualBox:~/bytecoin$ apt-cache policy libminiupnpc8 libminiupnpc-dev Title: Re: [BOUNTY] Ubuntu 12.04 Environment to compile bitcoin Post by: elbandi on December 23, 2013, 04:50:32 PM Ah, you use 3thparty repo, which use different name for upnp.
try install with this command: Code: apt-get install -y libminiupnpc8-dev libminiupnpc8 Or if you want to install the official package: Code: apt-get install -y libminiupnpc-dev=1.6-3ubuntu1 libminiupnpc8=1.6-3ubuntu1 Title: Re: [BOUNTY] Ubuntu 12.04 Environment to compile bitcoin Post by: ProfMac on December 23, 2013, 06:35:50 PM I now have made working binaries of bytecoin-qt and bytecoind, and have a stream of consciousness .bash_history file.
Thanks (https://blockchain.info/tx/ef183720d0416dbe095f3570ec46ed5814164960c96c44ea1780f26bd0c3b9da) Title: Re: [BOUNTY] Ubuntu 12.04 Environment to compile bitcoin Post by: ProfMac on December 24, 2013, 04:00:28 AM I created a new virtual machine in Oracle VirtualBox. I set the memory too 1024, and set the network to bridged, not NAT. I started the machine, and placed the Ubuntu Precise Pangolin (12.04) distribution CD into the reader, and booted from it.
I did a standard install. I set my time zone, keyboard, and not much else. Then I executed Code: >sudo ls I usually enter my public ssh key, restrict logins to ssh, and some other stuff that I don't remember right now: I like egg-nog. If you have a nice script to set up the firewall, lock down logins, and generally tighten security, please feel free to post it. Code: #!/bin/sh |