How to Fix error “autoreconf: failed to run autopoint: No such file or directory” on CentOS

On CentOS, when executing “autoreconf -i” command in some repository, it prompts following error:

[root@tutorialspots ~]# autoreconf -i
Can't exec "autopoint": No such file or directory at /usr/share/autoconf/Autom4te/ line 345.
autoreconf: failed to run autopoint: No such file or directory
autoreconf: autopoint is needed because this package uses Gettext

autoreconf error

The solution is installing gettext-tools:

yum install -y gettext-devel


[root@s126368 ladspa]# yum install -y gettext-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base:
 * epel:
 * extras:
 * ius:
 * nux-dextop:
 * remi-safe:
 * updates:
Resolving Dependencies
--> Running transaction check
---> Package gettext-devel.x86_64 0: will be installed
--> Processing Dependency: gettext-common-devel = for package: gettext-devel-
--> Running transaction check
---> Package gettext-common-devel.noarch 0: will be installed
--> Finished Dependency Resolution

Dependencies Resolved

 Package                    Arch         Version               Repository  Size
 gettext-devel              x86_64        base       320 k
Installing for dependencies:
 gettext-common-devel       noarch        base       410 k

Transaction Summary
Install  1 Package (+1 Dependent package)

Total download size: 730 k
Installed size: 1.8 M
Downloading packages:
(1/2): gettext-common-devel-      | 410 kB   00:00
(2/2): gettext-devel-             | 320 kB   00:00
Total                                              2.4 MB/s | 730 kB  00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : gettext-common-devel-                   1/2
  Installing : gettext-devel-                          2/2
  Verifying  : gettext-devel-                          1/2
  Verifying  : gettext-common-devel-                   2/2

  gettext-devel.x86_64 0:

Dependency Installed:
  gettext-common-devel.noarch 0:

Segmentation fault

Then “autoreconf -i” works!

Recent search terms:

  • autopoint centos

Leave a Reply