You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Marc Slemko <ma...@znep.com> on 1997/07/24 20:20:03 UTC

Re: os-sunos/911: Included Spencer regex package wont compile (undefined macros) (fwd)

The following reply was made to PR os-sunos/911; it has been noted by GNATS.

From: Marc Slemko <ma...@znep.com>
To: apbugs@apache.org
Subject: Re: os-sunos/911: Included Spencer regex package wont compile (undefined macros) (fwd)
Date: Thu, 24 Jul 1997 12:14:45 -0600 (MDT)

 
 
 
 ---------- Forwarded message ----------
 Date: Thu, 24 Jul 1997 11:06:13 -0700 (PDT)
 From: Pat Myrto <pa...@rwing.com>
 To: Marc Slemko <ma...@hyperreal.org>
 Subject: Re: os-sunos/911: Included Spencer regex package wont compile (undefined macros)
 
 I didnt give a lot of details because there wasn't a lot of room to
 give much in that little form.
 
 Very simply - the regex pkg failed to compile.  Everything is stock,
 save the compiler, which is gcc.  I tried a make r in the regex subdir
 to verify the lib, and that is where it blew up.  I tried it set up
 for gcc and for stock Sun cc.
 
 I contacted Spencer and got the ftp site for the original unaltered
 version, which after running mkh by hand (makefile did not run it), the
 orignal version compiled after I made a define for _POSIX2_RE_DUP_MAX.
 
 After once getting thru these bugs and successfully compiling the pkg,
 then it will recompile if a change is made and its re-built.  But its
 sure a snag if any errors occur - without a make clean, starting from
 scratch it fails to build.
 
 The problem appears to be in the creation of the .ih files - mkh is not
 run consistantly via the Makefile.  ESPECIALLY if a config error causes
 the first compile attempt to not complete.  Then after the config is
 fixed, it does not pick up the rest of the generated header files (one
 .ih file present from aborted build  and the build restarted).
 
 You get a message like 'don't know how to make engine.ih' - this msg
 appears for each file.  Manually running mkh resulted in headers that
 weren't right- and BOH, etc errored as not defined - that part was my fault
 (I forgot the -p flag) but after re-running mkh it finally compiled so
 the build of the package itself could proceed.  I think more explicit
 dependencies are required - perhaps a depend rule and a make depend
 might help.  I might try that.
 
 Other than that, I haven't determined why it behaves like this yet.
 Not sure if it is mods in the regex pkg or not.  I have not run across
 a thing quite like this before...
 
 Pat M
 
 PS - when you extract the tar archive, it gives a checksum error.
 
 
 > 
 > Synopsis: Included Spencer regex package wont compile (undefined macros)
 > 
 > State-Changed-From-To: open-analyzed
 > State-Changed-By: marc
 > State-Changed-When: Thu Jul 24 10:08:23 PDT 1997
 > State-Changed-Why:
 > It would certainly help if you gave us the errors you
 > were having instead of just going on complaining about
 > how it doesn't work without saying exactly what doesn't work.
 > 
 > It compiles perfectly on SunOS 4.x for me, so I'm not sure
 > how I'm magically supposed to know your problem without
 > you giving any details.
 > 
 > Thanks.
 > 
 > 
 
 
 -- 
 #include <std.disclaimer>    Pat Myrto (pat at rwing dot COM)     Seattle WA
 "A well read electorate being necessary to the advancement of a free society,
 the right of the people to keep and read books shall not be infringed."
 Do the people (individual) or electorate (group) have the specified right?