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:
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 127Stop in /usr/ports/devel/m4.
*** Error code 1Stop in /usr/ports/devel/autoconf262.
*** Error code 1Stop 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
Capture each and every moment of life with a FREE 4 GB SD memory card with the purchase of select digital cameras from Canon, Nikon, Pentax and others from Amazon
E-mail
Print
Can't find an answer to your question? Contact us
Related Other Helpful FAQs:
- How To Upgrade FreeBSD Jail ( OS Level Virtualization )
- FreeBSD: Mount /usr/ports Inside Jail
- Bash Shell Check Whether a Directory is Empty or Not
- FreeBSD Apache Jail: Connection refused: connect to listener on 0.0.0.0:80 Error and Solution
- Freebsd: /libexec/ld-elf.so.1: Shared object "libc.so.6" not found Error and Solution
Discussion on This FAQ
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: /etc/make.conf, /usr/src/gnu/usr.bin/texinfo, freebsd jail, freebsd ports, m4, make command, make install DESTDIR, man pages, ports, texinfo, usr bin



October 23rd, 2008 at 9:44 pm
It didn`t help. I dont know why, maybe I should upgrade my system (freebsd 5.4)?
October 23rd, 2008 at 9:47 pm
This problem is specific to jail (VPS) configuration and FreeBSD 7.