mirror of
https://github.com/Linux4Yourself/book.git
synced 2025-01-25 07:42:19 +08:00
78 lines
1010 B
Markdown
78 lines
1010 B
Markdown
|
<package-info :package="package" showsbu2></package-info>
|
||
|
|
||
|
<script>
|
||
|
new Vue({
|
||
|
el: '#main',
|
||
|
data: { package: {} },
|
||
|
mounted: function () {
|
||
|
this.getPackage('libtool');
|
||
|
},
|
||
|
methods: {
|
||
|
getPackage: function(name) {
|
||
|
getPackage(name)
|
||
|
.then(response => this.package = response);
|
||
|
},
|
||
|
}
|
||
|
})
|
||
|
</script>
|
||
|
|
||
|
## Настройка
|
||
|
|
||
|
```bash
|
||
|
./configure --prefix=/usr
|
||
|
```
|
||
|
## Сборка
|
||
|
|
||
|
```bash
|
||
|
make
|
||
|
```
|
||
|
|
||
|
## Тестирование
|
||
|
|
||
|
```bash
|
||
|
make check
|
||
|
```
|
||
|
|
||
|
## Установка
|
||
|
|
||
|
```bash
|
||
|
make install
|
||
|
```
|
||
|
|
||
|
Удалите ненужную статическую библиотеку
|
||
|
|
||
|
```bash
|
||
|
rm -fv /usr/lib/libltdl.a
|
||
|
```
|
||
|
|
||
|
|
||
|
## Для multilib
|
||
|
|
||
|
## Очистка
|
||
|
|
||
|
```bash
|
||
|
make distclean
|
||
|
```
|
||
|
|
||
|
## Настройка
|
||
|
|
||
|
```bash
|
||
|
CC="gcc -m32" ./configure \
|
||
|
--prefix=/usr \
|
||
|
--libdir=/usr/lib32 \
|
||
|
--host=i686-pc-linux-gnu
|
||
|
```
|
||
|
## Сборка
|
||
|
|
||
|
```bash
|
||
|
make
|
||
|
```
|
||
|
|
||
|
## Установка
|
||
|
|
||
|
```bash
|
||
|
make DESTDIR=$PWD/DESTDIR install
|
||
|
cp -Rv DESTDIR/usr/lib32/* /usr/lib32
|
||
|
rm -rf DESTDIR
|
||
|
```
|