Freebsd makeinfo: not found Error and Solution

Q. I’m trying to build PHP5 under FreeBSD jail and I’m getting an error that read as follows:

ADVERTISEMENTS

m4.info-[0-9][0-9] ./m4.i[0-9] ./m4.i[0-9][0-9]; do if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; done; else :; fi && cd “$am__cwd”; if makeinfo –no-split -I . -o ./m4.info ./m4.texinfo; then rc=0; cd .; else rc=$?; cd . && $restore $backupdir/* `echo “././m4.info” | sed ‘s|[^/]*$||’`; fi; rm -rf $backupdir; exit $rc
makeinfo: not found
*** Error code 127

Stop in /usr/ports/devel/m4.
*** Error code 1

Stop in /usr/ports/devel/autoconf262.
*** Error code 1

Stop in /usr/ports/lang/php5.
*** Error code 1

How do I get rid of this problem and compile applications?

A. This error only occurs if following line added to /etc/make.conf file before make world:

NO_INFO=       true    # do not make or install info files

To get rid of this problem remove above line. Next, go to /usr/src/gnu/usr.bin/texinfo and type the following command to install required files:
# cd /usr/src/gnu/usr.bin/texinfo
To install all tools to / , enter:
# make install
To install all tools to jail, enter:
# make install DESTDIR=/path/to/jail/example.com
Now, you should able to compile ports. Read the following man pages for more information:
man ports, make, make.conf

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNCentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
5 comments… add one
  • lilian Oct 23, 2008 @ 21:44

    It didn`t help. I dont know why, maybe I should upgrade my system (freebsd 5.4)?

  • 🐧 nixCraft Oct 23, 2008 @ 21:47

    This problem is specific to jail (VPS) configuration and FreeBSD 7.

  • ustuntas Apr 13, 2009 @ 8:13

    Hi,

    In FreeBSD 7.x, this problem occurs when writing WITHOUT_INFO=yes writing in src.conf. If this occurs, you pull out this line from your src.conf, then make follows;
    # cd /usr/src/gnu/usr.bin/texinfo
    # make obj && make depend && make && make install
    Also for jails
    # make install DESTDIR=/your/jail/path
    Later on, you install your ports as you wish.

    regards.

  • sugaraa Aug 5, 2011 @ 9:12

    install -s -o root -g wheel -m 555 makeinfo /usr/bin
    install: makeinfo: No such file or directory
    *** Error code 71

    Stop in /usr/src/gnu/usr.bin/texinfo/makeinfo.
    *** Error code 1

    Stop in /usr/src/gnu/usr.bin/texinfo

  • Pieter Sep 2, 2011 @ 14:56

    First do a make in the /usr/src/gnu/usr.bin/texinfo directory before doing make install DESTDIR=/your/jail/path

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.