Lx4U-book/docs/build-system/expect.md

47 lines
738 B
Markdown
Raw Normal View History

2021-05-23 20:24:26 +08:00
<package-info :package="package" showsbu2></package-info>
<script>
new Vue({
el: '#main',
data: { package: {} },
mounted: function () {
this.getPackage('expect');
},
methods: {
getPackage: function(name) {
getPackage(name)
.then(response => this.package = response);
},
}
})
</script>
## Настройка
```bash
./configure --prefix=/usr \
--with-tcl=/usr/lib \
--enable-shared \
--mandir=/usr/share/man \
--with-tclinclude=/usr/include
```
## Сборка
```bash
make
```
## Тестирование
```bash
make test
```
## Установка
```bash
make install
ln -svf expect5.45.4/libexpect5.45.4.so /usr/lib
```