Author: Philip Hazel Date: To: 742 CC: pcre-dev Subject: Re: [pcre-dev] [Bug 742] pcre 7.7 make error
On Tue, 5 Aug 2008, sunrainbj wrote:
> --- Comment #2 from sunrainbj <sunrainbj@???> 2008-08-05 02:49:37 ---
> [root@localhost chenyj]# uname -a
> Linux localhost.localdomain 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007
> i686 i686 i386 GNU/Linux
That doesn't say which distribution you are using (e.g. Gentoo, Debian,
SUSE, or whatever).
> [root@localhost pcre-7.7]# make
> cd . && /bin/sh /home/chenyj/pcre-7.7/pcre-7.7/missing --run automake-1.9
> --gnu
> Makefile.am:3: `dist_doc_DATA' is used but `docdir' is undefined
> Makefile.am:15: `dist_html_DATA' is used but `htmldir' is undefined
> Makefile.am:59: `html_DATA' is used but `htmldir' is undefined
> make: *** [Makefile.in] Error 1
1. I still don't understand why it is trying to run automake. It should
not do that for a straightforward build.
2. `docdir' and the others should be defined. They are in my Makefile.
Do a check with "grep 'docdir =' Makefile".
3. It seems almost certain that something went wrong during the
./configure stage, generating a bad Makefile.
4. Did the output of ./configure look reasonable?
5. I suggest you get an entirely fresh copy of the 7.7 distribution, and
run ./configure and post the output here if you are still stuck.