Lx4U-book/docs/build-temp-system/m4.md
2021-05-03 12:26:21 +03:00

51 lines
913 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<package-info :package="package" showsbu></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:
```bash
sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h
```
Запустите скрипт `configure`:
```bash
./configure --prefix=/usr \
--host=$LIN_TGT \
--build=$(build-aux/config.guess)
```
## Сборка
Соберите пакет:
```bash
make
```
## Установка
Для установки {{ package.name }} выполните:
```bash
make DESTDIR=$LIN install
```