Re: How to build the regex datablade



On 28 Dec 2005 02:49:31 -0800, malc_p@xxxxxxxxxxxxxx
<malc_p@xxxxxxxxxxxxxx> wrote:
>
> Jonathan Leffler wrote:
> > On 23 Dec 2005 04:26:53 -0800, malc_p@xxxxxxxxxxxxxx
> > <malc_p@xxxxxxxxxxxxxx> wrote:
> > > [...]
> > > Can anyone explain what
> > > "Make: Cannot read or get ." - that's a full stop/period at the end -
> > > means and how I get past it?
[...]
> >
> > So, your situation is:
> > * I managed somehow to download the regex datablade onto XYZ platform
> Correct, qv previous post
> > * Now I'm trying to build it for IDS version PQR using C compiler ABC
> > version DEF.
> IDS V9.30 on HP-UX11i with ANSI c compiler.
> > * Unfortunately, make says "Make: Cannot read or get .".
> Yup. There is an all-purpose makefile included, regexpU.mak. So when I
> run "make -f regexpU.mak", I get the error shown.
> > * What the heck does this mean?
> That's what I said. I've not seen this error before from make and it's
> not to be found in the man pages, and no-one here knows what it means
> either.
> >
> > I've not looked at the makefile, but the most likely problem seems to
> > me to be a line that says 'include $(SOMEMACRONAME)' but it turns out
> > that SOMEMACRONAME is not defined.
> Ah getting somewhere (goes away and checks) - I needed to export
> variable "TARGET" to include the standard hpux dbdk make include, i.e.
> makeinc.hpux32.
> Now it's getting as far as:
> make b -f regexpU.mak server
>
> Make: Don't know how to make b. Stop.
>

On your command line, you said 'make b' and 'use regexpU.mak' to
define the rules.

I suggest trying without 'b' on the command line. Is 'server' defined
in the makefile? You'd probably have a line that looks like the word
'server' followed by one or (possibly) two colons; if not that, then
there'd be a line that looks like "$(MACRO):" or "${MACRO}:" (they're
equivalent) where MACRO expands to 'server'. There are more complex
scenarios, but these are the most likely two.

> *** Error exit code 1
> I'm not an export on "make" (you may have guessed) but I'll plod on.
> If anyone else has succesfully compiled regexp, please let me know.
> I'll keep this thread topped-up as I (hopefully) get further.

Good luck.


--
Jonathan Leffler #include <disclaimer.h>
Email: jleffler@xxxxxxxxxxxxx, jleffler@xxxxxxxxxx
Guardian of DBD::Informix v2005.02 -- http://dbi.perl.org/
.



Relevant Pages

  • Re: Command line compiler
    ... Makefiles--people would come to me to get their makefile problems fixed...) ... Visual Studio .NET 2003\Vc7\bin ... When I ran the cl command from the command ... I've read that there's a command line VC++ compiler called cl.exe, ...
    (microsoft.public.vc.mfc)
  • Re: Does IAR Embedded Workbench IDE Support Command-Line Compile ?
    ... >>> support command line compile a c project? ... If the compiler doesn't return success/failure status ... > a command file as it's parameter, i don't know how to use or generate ... > so i like to know, is there anyone successfully do a Makefile for a IAR ...
    (comp.arch.embedded)
  • RE: Need Help Installing DBI-1.46
    ... > server. ... I have downloaded the tar file from www.CPAN.orb and ... The Makefile can't find your C compiler. ...
    (perl.beginners)
  • how to let GPP/GCC read command line switches from a file ?
    ... This question is about how to configure the most popular C++ compiler. ... How to let GPP/GCC read command line switches from a file? ... stored in the makefile itself. ... or 256 characters, and especially a makefile does not look pretty ...
    (comp.lang.cpp)
  • makefile help on AIX 5.3 using xlC 8.0
    ... so the compiler and setup doesn't seem to be the problem. ... When a binary that uses certain shared libraries is executed, ... hacking the makefile to link to a shared library ... differences where the one on the new server contains 162 more exports. ...
    (comp.unix.aix)