This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: problems building on Solaris
- To: Richard Gorton <gorton at amt dot tay1 dot dec dot com>
- Subject: Re: problems building on Solaris
- From: Jim Wilson <wilson at cygnus dot com>
- Date: Wed, 08 Apr 1998 13:14:46 -0700
- cc: sxthree at penfeld dot tls dot mms dot fr, egcs at cygnus dot com
>See <http://egcs.cygnus.com/faq.html#autoconf/bison++>.
This is _not_ a solution. It does _not_ work.
Yes, I only discovered this after the fact when I tried it myself.
The instructions work only if you have GNU xgettext installed.
I see three possible solutions to this problem:
1) Add the requirement that people using CVS must install GNU xgettext, and
fix snapshots and diffs so that they include the generated .pot files.
2) Add the .pot files to the CVS archive.
3) Stop building the po subdirectory.
Personally, I like the last choice. Here is the patch I have been using, but
as yet I haven't tried to force this on everyone else.
Index: Makefile.am
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/texinfo/Makefile.am,v
retrieving revision 1.4
diff -p -r1.4 Makefile.am
*** Makefile.am 1998/03/24 19:40:22 1.4
--- Makefile.am 1998/03/31 02:26:47
*************** EXTRA_DIST = INTRODUCTION dir-example
*** 14,16 ****
--- 14,19 ----
# Do doc/ last so makeinfo will be built when we get there.
# Others are alphabetical.
SUBDIRS = intl lib info makeinfo po util doc
+ # ??? For EGCS, only build the stuff we actually need. This eliminates the
+ # need for xgettext that exists in the po subdirectory.
+ SUBDIRS = intl lib makeinfo
Index: Makefile.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/texinfo/Makefile.in,v
retrieving revision 1.9
diff -p -r1.9 Makefile.in
*** Makefile.in 1998/03/24 19:40:23 1.9
--- Makefile.in 1998/03/31 02:26:47
*************** EXTRA_DIST = INTRODUCTION dir-example
*** 97,102 ****
--- 97,105 ----
# Do doc/ last so makeinfo will be built when we get there.
# Others are alphabetical.
SUBDIRS = intl lib info makeinfo po util doc
+ # ??? For EGCS, only build the stuff we actually need. This eliminates the
+ # need for xgettext that exists in the po subdirectory.
+ SUBDIRS = intl lib makeinfo
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = config.h