Re: How to build the regex datablade
Posted in 2005
Malc built the regex DataBlade on IDS 9.30 under HP-UX 11i and hit make errors with regexpU.mak, first needing the TARGET variable set for the hpux makeinc file, then 'Don't know how to make b'. Paul Watson suggested building the cc line by hand or using gcc. Jonathan Leffler said to drop the stray 'b' argument and check that 'server' is a target. Matt Penning asked why not use a Java UDR. Unresolved.
Auto-generated by Claude from the posts below — may be imperfect; read the full thread.
Topics: Platform-Specific Issues
Jonathan Leffler wrote: > On 23 Dec 2005 04:26:53 -0800, malc_p@btinternet.com > <malc_p@btinternet.com> wrote: > > Ok - first hurdle: > > Make for morons? (not allowed to say "make for dummies" or I'll get > > sued. Oh gosh darn I just did. Shucks). > > 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? > > Is this a serious question? When I first looked at it, I dismissed it > as babble Now I'm hurt... such as is endemic on c.d.i , but as I was about to delete > it permanently, I re-read it and I suspect there is a serious question > lurking in here - as evidenced by the change in subject. > > 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. *** 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. Cheers Malc
have you tired ignoring the makefile and build the cc line by hand ? have you tried it with gcc ? malc_p@btinternet.com wrote: > > Jonathan Leffler wrote: > > On 23 Dec 2005 04:26:53 -0800, malc_p@btinternet.com > > <malc_p@btinternet.com> wrote: > > > Ok - first hurdle: > > > Make for morons? (not allowed to say "make for dummies" or I'll get > > > sued. Oh gosh darn I just did. Shucks). > > > 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? > > > > Is this a serious question? When I first looked at it, I dismissed it > > as babble > Now I'm hurt... > such as is endemic on c.d.i , but as I was about to delete > > it permanently, I re-read it and I suspect there is a serious question > > lurking in here - as evidenced by the change in subject. > > > > 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. > > *** 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. > Cheers > Malc >
On 28 Dec 2005 02:49:31 -0800, malc_p@btinternet.com <malc_p@btinternet.com> wrote: > > Jonathan Leffler wrote: > > On 23 Dec 2005 04:26:53 -0800, malc_p@btinternet.com > > <malc_p@btinternet.com> 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@earthlink.net, jleffler@us.ibm.com Guardian of DBD::Informix v2005.02 -- http://dbi.perl.org/
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@btinternet.com > <malc_p@btinternet.com> wrote: > >>Jonathan Leffler wrote: >> >>>On 23 Dec 2005 04:26:53 -0800, malc_p@btinternet.com >>><malc_p@btinternet.com> 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@earthlink.net, jleffler@us.ibm.com > Guardian of DBD::Informix v2005.02 -- http://dbi.perl.org/
Related threads
- the longer you surf, the MORE $$$ you earn !!
- Store procedure
- emulation for Vt100
- extent size questions again ...