mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-29 10:50:30 +02:00
Update Ubuntu 16.x i386 instructions (#749)
* Update Ubuntu 16.x i386 instructions to reflect working configuration on legacy hardware
This commit is contained in:
parent
aebcffc79a
commit
c50ad4bfce
|
@ -7,20 +7,40 @@
|
||||||
|
|
||||||
**Note:** DMD version >= 2.083.1 or LDC version >= 1.12.0 is required to compile this application
|
**Note:** DMD version >= 2.083.1 or LDC version >= 1.12.0 is required to compile this application
|
||||||
|
|
||||||
### Dependencies: Ubuntu / Debian - x86_64
|
### Dependencies: Ubuntu 16.x - i386 / i686 (less than 1GB Memory)
|
||||||
|
**Important:** Build environment must have at least 512 of memory & 1GB swap space
|
||||||
|
|
||||||
|
**Important:** Only use this method if you have <1GB of physical memory.
|
||||||
|
|
||||||
|
**Note:** Peppermint 7 validated with the DMD compiler on the following i386 / i686 platform:
|
||||||
|
```text
|
||||||
|
DISTRIB_ID=Peppermint
|
||||||
|
DISTRIB_RELEASE=7
|
||||||
|
DISTRIB_CODENAME=xenial
|
||||||
|
DISTRIB_DESCRIPTION="Peppermint 7 Seven"
|
||||||
|
```
|
||||||
|
|
||||||
|
First install development dependencies as per below:
|
||||||
```text
|
```text
|
||||||
sudo apt install build-essential
|
sudo apt install build-essential
|
||||||
sudo apt install libcurl4-openssl-dev
|
sudo apt install libcurl4-openssl-dev
|
||||||
sudo apt install libsqlite3-dev
|
sudo apt install libsqlite3-dev
|
||||||
sudo apt install pkg-config
|
sudo apt install pkg-config
|
||||||
curl -fsS https://dlang.org/install.sh | bash -s dmd
|
sudo apt install git
|
||||||
|
sudo apt install curl
|
||||||
```
|
```
|
||||||
For notifications the following is also necessary:
|
For notifications the following is also necessary:
|
||||||
```text
|
```text
|
||||||
sudo apt install libnotify-dev
|
sudo apt install libnotify-dev
|
||||||
```
|
```
|
||||||
|
Second, install the DMD compiler as per below:
|
||||||
|
```text
|
||||||
|
sudo wget http://master.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.list
|
||||||
|
sudo apt-get update && sudo apt-get -y --allow-unauthenticated install --reinstall d-apt-keyring
|
||||||
|
sudo apt-get update && sudo apt-get install dmd-compiler dub
|
||||||
|
```
|
||||||
|
|
||||||
### Dependencies: Ubuntu 16.x - i386 / i686
|
### Dependencies: Ubuntu 16.x - i386 / i686 (1GB Memory)
|
||||||
**Note:** Ubuntu 16.x validated with the DMD compiler on the following Ubuntu i386 / i686 platform:
|
**Note:** Ubuntu 16.x validated with the DMD compiler on the following Ubuntu i386 / i686 platform:
|
||||||
```text
|
```text
|
||||||
DISTRIB_ID=Ubuntu
|
DISTRIB_ID=Ubuntu
|
||||||
|
@ -47,7 +67,7 @@ Second, install the DMD compiler as per below:
|
||||||
curl -fsS https://dlang.org/install.sh | bash -s dmd
|
curl -fsS https://dlang.org/install.sh | bash -s dmd
|
||||||
```
|
```
|
||||||
|
|
||||||
### Dependencies: Ubuntu 18.x / Lubuntu 18.x / Debian 9 - i386 / i686 using DMD (Preferred Method)
|
### Dependencies: Ubuntu 18.x / Lubuntu 18.x / Debian 9 - i386 / i686
|
||||||
**Important:** The DMD compiler cannot be used in its default configuration on Ubuntu 18.x / Lubuntu 18.x / Debian 9 i386 / i686 architectures due to an issue in the Ubuntu / Debian linking process. See [https://issues.dlang.org/show_bug.cgi?id=19116](https://issues.dlang.org/show_bug.cgi?id=19116) for further details.
|
**Important:** The DMD compiler cannot be used in its default configuration on Ubuntu 18.x / Lubuntu 18.x / Debian 9 i386 / i686 architectures due to an issue in the Ubuntu / Debian linking process. See [https://issues.dlang.org/show_bug.cgi?id=19116](https://issues.dlang.org/show_bug.cgi?id=19116) for further details.
|
||||||
|
|
||||||
**Note:** Ubuntu 18.x validated with the DMD compiler on the following Ubuntu i386 / i686 platform:
|
**Note:** Ubuntu 18.x validated with the DMD compiler on the following Ubuntu i386 / i686 platform:
|
||||||
|
@ -93,27 +113,7 @@ sudo update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.gold" 20
|
||||||
sudo update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.bfd" 10
|
sudo update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.bfd" 10
|
||||||
```
|
```
|
||||||
|
|
||||||
### Dependencies: Peppermint 7 / Ubuntu 18.x - i386 / i686 using LDC (Optional)
|
### Dependencies: Ubuntu 18.x, Ubuntu 19.x / Debian 9, Debian 10 - x86_64
|
||||||
**Important:** Build environment must have at least 512 of memory & 1GB swap space
|
|
||||||
|
|
||||||
**Important:** Only use this method if you have <1GB of physical memory.
|
|
||||||
|
|
||||||
**Note:** Peppermint 7 validated with the LDC compiler on the following i386 / i686 platform:
|
|
||||||
```text
|
|
||||||
DISTRIB_ID=Peppermint
|
|
||||||
DISTRIB_RELEASE=7
|
|
||||||
DISTRIB_CODENAME=xenial
|
|
||||||
DISTRIB_DESCRIPTION="Peppermint 7 Seven"
|
|
||||||
```
|
|
||||||
**Note:** Ubuntu 18.x validated with the LDC compiler on the following Ubuntu i386 / i686 platform:
|
|
||||||
```text
|
|
||||||
DISTRIB_ID=Ubuntu
|
|
||||||
DISTRIB_RELEASE=18.04
|
|
||||||
DISTRIB_CODENAME=bionic
|
|
||||||
DISTRIB_DESCRIPTION="Ubuntu 18.04.3 LTS"
|
|
||||||
```
|
|
||||||
|
|
||||||
First install development dependencies as per below:
|
|
||||||
```text
|
```text
|
||||||
sudo apt install build-essential
|
sudo apt install build-essential
|
||||||
sudo apt install libcurl4-openssl-dev
|
sudo apt install libcurl4-openssl-dev
|
||||||
|
@ -121,16 +121,12 @@ sudo apt install libsqlite3-dev
|
||||||
sudo apt install pkg-config
|
sudo apt install pkg-config
|
||||||
sudo apt install git
|
sudo apt install git
|
||||||
sudo apt install curl
|
sudo apt install curl
|
||||||
|
curl -fsS https://dlang.org/install.sh | bash -s dmd
|
||||||
```
|
```
|
||||||
For notifications the following is also necessary:
|
For notifications the following is also necessary:
|
||||||
```text
|
```text
|
||||||
sudo apt install libnotify-dev
|
sudo apt install libnotify-dev
|
||||||
```
|
```
|
||||||
Second, install the LDC compiler as per below:
|
|
||||||
```text
|
|
||||||
git clone https://github.com/abraunegg/ldc-debian-i386.git
|
|
||||||
sudo dpkg -i ./ldc-debian-i386/*.deb
|
|
||||||
```
|
|
||||||
|
|
||||||
### Dependencies: Fedora < Version 18 / CentOS / RHEL
|
### Dependencies: Fedora < Version 18 / CentOS / RHEL
|
||||||
```text
|
```text
|
||||||
|
@ -266,15 +262,6 @@ as far as possible automatically, but can be overridden by passing
|
||||||
`--with-zsh-completion-dir=<DIR>` to `configure`.
|
`--with-zsh-completion-dir=<DIR>` to `configure`.
|
||||||
|
|
||||||
### Building using a different compiler (for example [LDC](https://wiki.dlang.org/LDC))
|
### Building using a different compiler (for example [LDC](https://wiki.dlang.org/LDC))
|
||||||
#### Peppermint 7 / Ubuntu 18.x - i386 / i686 (Optional)
|
|
||||||
```text
|
|
||||||
git clone https://github.com/abraunegg/onedrive.git
|
|
||||||
cd onedrive
|
|
||||||
./configure DC=ldc2
|
|
||||||
make clean; make
|
|
||||||
sudo make install
|
|
||||||
```
|
|
||||||
|
|
||||||
#### ARMHF Architecture
|
#### ARMHF Architecture
|
||||||
```text
|
```text
|
||||||
git clone https://github.com/abraunegg/onedrive.git
|
git clone https://github.com/abraunegg/onedrive.git
|
||||||
|
|
Loading…
Reference in a new issue