Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
d1e5eab
try fix
RomoliGabriele Sep 9, 2024
1b09827
try fix
RomoliGabriele Sep 9, 2024
d84836a
try fix
RomoliGabriele Sep 9, 2024
6724a06
try fix
RomoliGabriele Sep 9, 2024
4ab29e9
try fix
RomoliGabriele Sep 9, 2024
296a05a
add new build script
RomoliGabriele Sep 9, 2024
791d685
Fix build.sh
RomoliGabriele Sep 9, 2024
625cbee
Fix build.sh
RomoliGabriele Sep 9, 2024
475ff7c
Fix build.sh
RomoliGabriele Sep 9, 2024
565a8a1
Fix build.sh
RomoliGabriele Sep 9, 2024
dfce046
Fix build.sh
RomoliGabriele Sep 9, 2024
6880170
Fix build.sh
RomoliGabriele Sep 9, 2024
ecdcbc9
Fix build.sh
RomoliGabriele Sep 9, 2024
2ecc554
Fix build.sh
RomoliGabriele Sep 9, 2024
e85a27d
Fix build.sh
RomoliGabriele Sep 9, 2024
6b06262
Fix build.sh
RomoliGabriele Sep 9, 2024
4babe7b
Fix build.sh
RomoliGabriele Sep 9, 2024
b9b3fad
Fix build.sh
RomoliGabriele Sep 9, 2024
10a5ec4
Fix build.sh
RomoliGabriele Sep 9, 2024
e65e9c7
Fix build.sh
RomoliGabriele Sep 9, 2024
5127594
Fix build.sh
RomoliGabriele Sep 10, 2024
22fecf1
Fix install.sh
RomoliGabriele Sep 10, 2024
3bb8266
Fix open.ssl
RomoliGabriele Sep 10, 2024
e6392e2
Fix install.sh
RomoliGabriele Sep 10, 2024
6fc2a97
add fix for broken deps
RomoliGabriele Sep 10, 2024
b1d3140
Fix
RomoliGabriele Sep 11, 2024
d0d67fe
Removed curl
RomoliGabriele Sep 12, 2024
81cf7db
Removed curl from conf
RomoliGabriele Sep 12, 2024
25aa642
Try fix ssl
RomoliGabriele Sep 12, 2024
14fcc2a
Try fix ssl
RomoliGabriele Sep 12, 2024
146af6b
Revert "Try fix ssl"
RomoliGabriele Sep 12, 2024
7ba4ab1
Try fix install.sh
RomoliGabriele Sep 12, 2024
c89356e
Fix curl bootstrap
RomoliGabriele Sep 12, 2024
0f3caff
Fix Make without curl
RomoliGabriele Sep 12, 2024
94cdd77
Fix CScript
RomoliGabriele Sep 13, 2024
af46243
Fix #include <QStyle>
RomoliGabriele Sep 13, 2024
49c49e5
Removed && nLastCoinStakeSearchInterval
RomoliGabriele Sep 13, 2024
fd0e7ca
fix install.sh
RomoliGabriele Sep 13, 2024
276c8bc
Update INSTALL.md
RomoliGabriele Sep 16, 2024
d2f8705
Update INSTALL.md
RomoliGabriele Sep 16, 2024
5244fe7
Fix install.sh
RomoliGabriele Sep 16, 2024
37acae5
Fix berkley.sh
RomoliGabriele Sep 16, 2024
baa042b
Add repo
RomoliGabriele Sep 16, 2024
6832b42
Added nLastCoinStakeSearchInterval control
RomoliGabriele Sep 17, 2024
1e3175c
Removed sync and staking check
RomoliGabriele Sep 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion COPYING
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
THE SOFTWARE.
13 changes: 0 additions & 13 deletions INSTALL

This file was deleted.

15 changes: 15 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Building LYRA


assicurati che gli script siano eseguibili
``` chmod 777 berkeleydb.sh boost.sh install.sh```

Controllare se è presente Berkeley DB e installarlo se necessario
``` ./berkeleydb.sh```

Controllare se è presente boost e installarlo se necessario
``` ./boost.sh```

Se è tutto a posto, eseguire install.sh fuori dalla cartella del progetto

``` cp install.sh .. && cd .. && ./install.sh```
3 changes: 2 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ ACLOCAL_AMFLAGS = -I build-aux/m4
SUBDIRS = src
.PHONY: deploy FORCE

GZIP_ENV="-9n"
MY_GZIP_ENV="-9n"
export MY_GZIP_ENV
export PYTHONPATH

BITCOIND_BIN=$(top_builddir)/src/lyrad$(EXEEXT)
Expand Down
11 changes: 9 additions & 2 deletions autogen.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
#!/bin/sh
# Copyright (c) 2013-2016 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

export LC_ALL=C
set -e
srcdir="$(dirname $0)"
cd "$srcdir"
if [ -z ${LIBTOOLIZE} ] && GLIBTOOLIZE="`which glibtoolize 2>/dev/null`"; then
if [ -z ${LIBTOOLIZE} ] && GLIBTOOLIZE="$(command -v glibtoolize)"; then
LIBTOOLIZE="${GLIBTOOLIZE}"
export LIBTOOLIZE
fi
autoreconf --install --force --warnings=all
command -v autoreconf >/dev/null || \
(echo "configuration failed, please install autoconf first" && exit 1)
autoreconf --install --force --warnings=all
5 changes: 5 additions & 0 deletions berkley.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#/bin/bash
sudo add-apt-repository ppa:pivx/berkeley-db4
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ED72260A3CDEA874
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev
29 changes: 29 additions & 0 deletions boost.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/bin/bash

# Install bzip2 and Python development packages
sudo apt-get install -y libbz2-dev python-dev

# Download the boost tarball
curl -L -o boost_1_59_0.tar.gz http://sourceforge.net/projects/boost/files/boost/1.59.0/boost_1_59_0.tar.gz/download

# Verify the file type
file_type=$(file --mime-type -b boost_1_59_0.tar.gz)
if [ "$file_type" != "application/gzip" ]; then
echo "Error: The downloaded file is not a gzip file."
exit 1
fi

# Extract the tarball to /usr/local
sudo tar xzvf boost_1_59_0.tar.gz -C /usr/local

# Proceed with the installation
cd /usr/local/boost_1_59_0
chmod 777 bootstrap.sh
chmod 777 b2
./bootstrap.sh
./b2 -q
sudo ./b2 install -q

# Clean up
cd ..
sudo rm -rf boost_1_59_0.tar.gz
24 changes: 14 additions & 10 deletions build-aux/compile
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#! /bin/sh
# Wrapper for compilers which do not understand '-c -o'.

scriptversion=2012-10-14.11; # UTC
scriptversion=2024-06-19.01; # UTC

# Copyright (C) 1999-2014 Free Software Foundation, Inc.
# Copyright (C) 1999-2024 Free Software Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
Expand All @@ -17,7 +17,7 @@ scriptversion=2012-10-14.11; # UTC
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <https://www.gnu.org/licenses/>.

# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
Expand Down Expand Up @@ -53,7 +53,7 @@ func_file_conv ()
MINGW*)
file_conv=mingw
;;
CYGWIN*)
CYGWIN* | MSYS*)
file_conv=cygwin
;;
*)
Expand All @@ -67,7 +67,7 @@ func_file_conv ()
mingw/*)
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
;;
cygwin/*)
cygwin/* | msys/*)
file=`cygpath -m "$file" || echo "$file"`
;;
wine/*)
Expand Down Expand Up @@ -143,7 +143,7 @@ func_cl_wrapper ()
# configure might choose to run compile as 'compile cc -o foo foo.c'.
eat=1
case $2 in
*.o | *.[oO][bB][jJ])
*.o | *.lo | *.[oO][bB][jJ])
func_file_conv "$2"
set x "$@" -Fo"$file"
shift
Expand Down Expand Up @@ -248,14 +248,18 @@ If you are trying to build a whole package this is not the
right script to run: please start by reading the file 'INSTALL'.

Report bugs to <bug-automake@gnu.org>.
GNU Automake home page: <https://www.gnu.org/software/automake/>.
General help using GNU software: <https://www.gnu.org/gethelp/>.
EOF
exit $?
;;
-v | --v*)
echo "compile $scriptversion"
echo "compile (GNU Automake) $scriptversion"
exit $?
;;
cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
clang-cl | *[/\\]clang-cl | clang-cl.exe | *[/\\]clang-cl.exe | \
icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
func_cl_wrapper "$@" # Doesn't return...
;;
esac
Expand Down Expand Up @@ -339,9 +343,9 @@ exit $ret
# Local Variables:
# mode: shell-script
# sh-indentation: 2
# eval: (add-hook 'write-file-hooks 'time-stamp)
# eval: (add-hook 'before-save-hook 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-time-zone: "UTC"
# time-stamp-time-zone: "UTC0"
# time-stamp-end: "; # UTC"
# End:
Loading