[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Groff for OS/2
From: |
John Poltorak |
Subject: |
Re: [Groff] Groff for OS/2 |
Date: |
Wed, 7 Nov 2001 20:18:15 +0000 |
On Wed, Nov 07, 2001 at 07:53:15PM +0000, Colin Watson wrote:
> On Wed, Nov 07, 2001 at 07:46:35PM +0000, John Poltorak wrote:
> > I did manage to build v1.15 yesterday straight from the GNU source using
> > autoconf, configure and Make, but just noticed that the most recent
> > release (v1.17.2) no longer has a configure.in.
> >
> > Is there any reason for this?
>
> configure.in has been renamed to configure.ac. You should be able to
> build configure from it using autoconf >= 2.50, if you need to.
Thanks, I wasn't aware of configure.ac before.
> > I was actually hoping to find an updated configure.in which included the
> > new AC_EXEEXT keyword so that it would build executables properly on OS/2
> > without needing to jump through various hoops.
>
> I believe that that's done automatically by newer versions of autoconf,
> so you should be able to build from the 1.17.2 tarball without needing
> to rebuild configure, unless there's some other reason to do so.
I just tried building 1.17.2 and it did seem to get a long without me
needing to change anything. It did eventually fall down with:-
g++ -I. -I/eval/groff-1.17.2/src/libs/libgroff
-I/eval/groff-1.17.2/src/include -I/eval/groff-1.17.2
/src/include -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1
-DHAVE_LIMITS_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1
-DHAVE_MATH_H=1
-DRET_TYPE_SRAND_IS_VOID=1 -DNEED_DECLARATION_STRNCASECMP=1 -DHAVE_CC_OSFCN_H=1
-DHAVE_CC_LIMITS_H=1
-DRETSIGTYPE=void -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1
-DHAVE_RENAME=1 -DHAVE_STRDUP=1
-DHAVE_MKSTEMP=1 -Zomf -O2 -s -Zmt -D__ST_MT_ERRNO__ -c tmpfile.cc
In file included from \\eval\\groff-1.17.2\\src\\include\\lib.h:34,
from tmpfile.cc:28:
\\eval\\groff-1.17.2\\src\\include\\groff-getopt.h:52: declaration of C
function `int getopt(int, ch
ar *const *, const char *)' conflicts with
c:\\emx\\include\\unistd.h:154: previous declaration `int getopt(int, char
**, const char *)' here
make[2]: *** [tmpfile.o] Error 1
make[2]: Leaving directory `/eval/groff-1.17.2/src/libs/libgroff'
make[1]: *** [src/libs/libgroff] Error 2
make[1]: Leaving directory `/eval/groff-1.17.2'
make: *** [all] Error 2
Looks like I have an incompatible getopt... Is there any way to identify
the correct one?
> Cheers,
>
> --
> Colin Watson address@hidden
--
John