This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Error installing CVS GCC


On Mon, 15 Jan 2001, Neil Booth wrote:

> I don't know if this is reproducible, but I got this a couple of
> seconds ago after a bootstrap:-
>
> perl ../../gcc/../contrib/texi2pod.pl < ../../gcc/invoke.texi > gcc.pod
> (pod2man --center="GNU" --release="gcc-2.97" --section=1 gcc.pod > ../../gcc/gcc.1.T$$ && \
>         mv -f ../../gcc/gcc.1.T$$ ../../gcc/gcc.1) || \
>         (rm -f ../../gcc/gcc.1.T$$ && exit 1)
> Can't locate object method "cmd_head3" via package "Pod::Man" at /usr/lib/perl5/5.6/Pod/Man.pm line 463, <GEN0> line 4598.
> make[1]: *** [../../gcc/gcc.1] Error 1
> make[1]: Leaving directory `/usr/src/gcc/build/gcc'
> make: *** [install-gcc] Error 2

I've installed the following patch as obvious, to remove an explicit
dependency on gcc.1 from install-man now gcc.1 is in generated-manpages,
so in $(GENERATED_MANPAGES), or not, according to whether the version of
Pod::Man is detected as recent enough by configure.

Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ChangeLog,v
retrieving revision 1.9002
diff -u -r1.9002 ChangeLog
--- ChangeLog	2001/01/15 23:32:23	1.9002
+++ ChangeLog	2001/01/15 23:33:42
@@ -1,5 +1,8 @@
 2001-01-15  Joseph S. Myers  <jsm28@cam.ac.uk>

+	* Makefile.in (install-man): Remove explicit dependency on
+	$(srcdir)/gcc.1.
+
 	* configure.in, configure: Revert previous patch requiring perl
 	5.6.0.

Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.586
diff -u -r1.586 Makefile.in
--- Makefile.in	2001/01/14 22:38:22	1.586
+++ Makefile.in	2001/01/15 23:33:43
@@ -2562,7 +2562,7 @@
 	-chmod a-x $(infodir)/c-tree.info* $(infodir)/cppinternals.info*

 # Install the man pages.
-install-man: installdirs $(srcdir)/gcc.1 $(GENERATED_MANPAGES) lang.install-man
+install-man: installdirs $(GENERATED_MANPAGES) lang.install-man
 	-if [ -f gcc-cross$(exeext) ] ; then \
 	  rm -f $(man1dir)/$(GCC_CROSS_NAME)$(manext); \
 	  $(INSTALL_DATA) $(srcdir)/gcc.1 $(man1dir)/$(GCC_CROSS_NAME)$(manext); \

-- 
Joseph S. Myers
jsm28@cam.ac.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]