diff options
| author | jvoisin | 2019-07-05 10:33:52 +0200 |
|---|---|---|
| committer | jvoisin | 2019-07-05 10:33:52 +0200 |
| commit | 75f735f734ed8024aa11256de453667915a477ed (patch) | |
| tree | 6689eb4422141526e0691c97114057a173d12c50 /doc/source | |
| parent | 3330b988ae5f8ee6dd8388c85463886dd8dc88fa (diff) | |
Document a workaround for a gentoo-specific bug
Thanks to infectormp for reporting the bugs,
and testing the workaround.
Diffstat (limited to 'doc/source')
| -rw-r--r-- | doc/source/installation.rst | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/source/installation.rst b/doc/source/installation.rst index 3240b7a..74d5d4f 100644 --- a/doc/source/installation.rst +++ b/doc/source/installation.rst | |||
| @@ -46,6 +46,33 @@ prefer: | |||
| 46 | Be careful, on some distribution, there are separate configurations for | 46 | Be careful, on some distribution, there are separate configurations for |
| 47 | cli/fmp/cgi/… be sure to edit the right one. | 47 | cli/fmp/cgi/… be sure to edit the right one. |
| 48 | 48 | ||
| 49 | If you're using `Gentoo <https://gentoo.org>`__, you might encounter the | ||
| 50 | following error: | ||
| 51 | |||
| 52 | :: | ||
| 53 | |||
| 54 | $ make | ||
| 55 | $ /bin/sh /root/snuffleupagus-0.5.0/src/libtool --mode=compile cc -I. -I/root/snuffleupagus-0.5.0/src -DPHP_ATOM_INC -I/root/snuffleupagus-0.5.0/src/include -I/root/snuffleupagus-0.5.0/src/main -I/root/snuffleupagus-0.5.0/src -I/usr/lib64/php7.3/include/php -I/usr/lib64/php7.3/include/php/main -I/usr/lib64/php7.3/include/php/TSRM -I/usr/lib64/php7.3/include/php/Zend -I/usr/lib64/php7.3/include/php/ext -I/usr/lib64/php7.3/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -Wall -Wextra -Wno-unused-parameter -Wformat=2 -Wformat-security -D_FORTIFY_SOURCE=2 -fstack-protector -c /root/snuffleupagus-0.5.0/src/snuffleupagus.c -o snuffleupagus.lo | ||
| 56 | libtool: Version mismatch error. This is libtool 2.4.6, but the | ||
| 57 | libtool: definition of this LT_INIT comes from an older release. | ||
| 58 | libtool: You should recreate aclocal.m4 with macros from libtool 2.4.6 | ||
| 59 | libtool: and run autoconf again. | ||
| 60 | make: *** [Makefile:193: snuffleupagus.lo] Error 63 | ||
| 61 | $ | ||
| 62 | |||
| 63 | This is a `documented php bug <https://bugs.php.net/bug.php?id=58979>`__, | ||
| 64 | solvable via: | ||
| 65 | |||
| 66 | |||
| 67 | :: | ||
| 68 | |||
| 69 | rm -f aclocal.m4 | ||
| 70 | phpize | ||
| 71 | aclocal && libtoolize --force && autoreconf | ||
| 72 | ./configure --enable-snuffleupagus | ||
| 73 | make | ||
| 74 | |||
| 75 | |||
| 49 | Upgrading | 76 | Upgrading |
| 50 | --------- | 77 | --------- |
| 51 | 78 | ||
