mirror of
https://github.com/Linux4Yourself/book.git
synced 2025-01-25 07:42:19 +08:00
51 lines
1.1 KiB
Markdown
51 lines
1.1 KiB
Markdown
<package-info :package="package" showsbu2></package-info>
|
|
<script>
|
|
new Vue({
|
|
el: '#main',
|
|
data: { package: {} },
|
|
mounted: function () {
|
|
this.getPackage('m4');
|
|
},
|
|
|
|
methods: {
|
|
getPackage: function(name) {
|
|
getPackage(name)
|
|
.then(response => this.package = response);
|
|
},
|
|
}
|
|
})
|
|
</script>
|
|
|
|
## Подготовка
|
|
|
|
Исправьте некоторые ошибки и внесите несколько изменений, необходимых для glibc-2.28 и новее:
|
|
|
|
```bash
|
|
sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
|
|
echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h
|
|
```
|
|
|
|
## Настройка
|
|
```
|
|
./configure --prefix=/usr
|
|
```
|
|
|
|
## Сборка
|
|
|
|
```
|
|
make
|
|
```
|
|
|
|
## Тестирование
|
|
```
|
|
make check
|
|
```
|
|
|
|
## Установка
|
|
```
|
|
make install
|
|
```
|
|
|
|
## Установленные программы:
|
|
`m4`
|