Re: How to build the regex datablade



Hi - just curious, what would be the benefit of using the regex datablade instead of just using a Java UDR, given that regex is readily available in Java? Is it a lot more performant?

- Matt

Jonathan Leffler wrote:
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/
.