[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem compiling 1.1.15
Recently I wrote:
> When I compile "sgmltools.1.1.15" as distributed, it finishes okay but
> several of the paths and options are wrong for my system.
> When I run "make.clean" then "./configure" and "make", I get a fatal
After a few more tries, I found the culprit. Here are the output from
c++ -ansi -fno-implicit-templates -O2 -Wall -Wno-reorder -Wwrite-strings -Wpointer-arith -Wnested-externs -Woverloaded-virtual -Wbad-function-cast -I. -I./../include -I./../generic -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_ST_BLKSIZE=1 -DSP_HAVE_BOOL=1 -DSP_HAVE_LOCALE=1 -DSP_ANSI_CLASS_INST=1 -c ParserState.cxx
And after a local ./configure.
c++ -ansi -fno-implicit-templates -O2 -Wall -Wno-reorder -Wwrite-strings -Wpointer-arith -Wnested-externs -Woverloaded-virtual -Wbad-function-cast -I. -I./../include -I./../generic -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_ST_BLKSIZE=1 -Dsig_atomic_t=int -DSP_HAVE_BOOL=1 -DSP_HAVE_LOCALE=1 -DSP_ANSI_CLASS_INST=1 -c ParserState.cxx
Note the "-Dsig_atomic_t=int" in the local version.
My fix is:
In ~/sgmltools.1.15/sp/configure, line 1303, add "#include <signal.h>.
1297 cat > conftest.$ac_ext <<EOF
1298 #line 1299 "configure"
1299 #include "confdefs.h"
1300 #include <sys/types.h>
1301 #if STDC_HEADERS
1302 #include <stdlib.h>
1303 #include <signal.h>
Not really elegant but it works.
It also helps to link "guide" to "guide.sgml" in the
Gregory Leblanc wrote:
> Where did you pick up that tarball? And can you post a few more
> lines backwards so that we can take a look at what it's doing/saying
> before it hits that error? (unless somebody knows right off what
> that is.
I can't remember where I got it. The "sgml" tools are scattered all
over the web. Sorry.
Vernon C. Hoxie firstname.lastname@example.org
3975 W. 29th Ave. uucp: 303-455-2670
Denver, Colo., 80212 voice: 303-477-1780
We learn only when it is too late that the marvel is the passing moment.
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org