1753777 Members
7846 Online
108799 Solutions
New Discussion юеВ

Re: grep tool

 
krish_8
Occasional Contributor

grep tool

Hi,
I configured grep in hp-ux without error.
While giving make cmd i got error as shown....
(error is in at last). Plz tell me How can i solve this ?

$ make

No suffix list.

make all-recursive

No suffix list.

Making all in intl

Making all in po

Making all in lib

Making all in posix

No suffix list.

No suffix list.

No suffix list.

source='closeout.c' object='closeout.o' libtool=no \

DEPDIR=.deps depmode=hp2 /bin/sh ../depcomp \

cc -DLIBDIR=\"/usr/local/lib/hpux32\" -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -O -I/usr/local/include -O -I/usr/local/include -c closeout.c

source='error.c' object='error.o' libtool=no \

DEPDIR=.deps depmode=hp2 /bin/sh ../depcomp \

cc -DLIBDIR=\"/usr/local/lib/hpux32\" -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -O -I/usr/local/include -O -I/usr/local/include -c error.c

source='exclude.c' object='exclude.o' libtool=no \

DEPDIR=.deps depmode=hp2 /bin/sh ../depcomp \

cc -DLIBDIR=\"/usr/local/lib/hpux32\" -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -O -I/usr/local/include -O -I/usr/local/include -c exclude.c

source='hard-locale.c' object='hard-locale.o' libtool=no \

DEPDIR=.deps depmode=hp2 /bin/sh ../depcomp \

cc -DLIBDIR=\"/usr/local/lib/hpux32\" -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -O -I/usr/local/include -O -I/usr/local/include -c hard-locale.c

source='isdir.c' object='isdir.o' libtool=no \

DEPDIR=.deps depmode=hp2 /bin/sh ../depcomp \

cc -DLIBDIR=\"/usr/local/lib/hpux32\" -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -O -I/usr/local/include -O -I/usr/local/include -c isdir.c

source='obstack.c' object='obstack.o' libtool=no \

DEPDIR=.deps depmode=hp2 /bin/sh ../depcomp \

cc -DLIBDIR=\"/usr/local/lib/hpux32\" -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -O -I/usr/local/include -O -I/usr/local/include -c obstack.c

source='quotearg.c' object='quotearg.o' libtool=no \

DEPDIR=.deps depmode=hp2 /bin/sh ../depcomp \

cc -DLIBDIR=\"/usr/local/lib/hpux32\" -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -O -I/usr/local/include -O -I/usr/local/include -c quotearg.c

source='savedir.c' object='savedir.o' libtool=no \

DEPDIR=.deps depmode=hp2 /bin/sh ../depcomp \

cc -DLIBDIR=\"/usr/local/lib/hpux32\" -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -O -I/usr/local/include -O -I/usr/local/include -c savedir.c

source='xmalloc.c' object='xmalloc.o' libtool=no \

DEPDIR=.deps depmode=hp2 /bin/sh ../depcomp \

cc -DLIBDIR=\"/usr/local/lib/hpux32\" -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -O -I/usr/local/include -O -I/usr/local/include -c xmalloc.c

source='xstrtol.c' object='xstrtol.o' libtool=no \

DEPDIR=.deps depmode=hp2 /bin/sh ../depcomp \

cc -DLIBDIR=\"/usr/local/lib/hpux32\" -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -O -I/usr/local/include -O -I/usr/local/include -c xstrtol.c

source='xstrtoumax.c' object='xstrtoumax.o' libtool=no \

DEPDIR=.deps depmode=hp2 /bin/sh ../depcomp \

cc -DLIBDIR=\"/usr/local/lib/hpux32\" -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -O -I/usr/local/include -O -I/usr/local/include -c xstrtoumax.c

source='stpcpy.c' object='stpcpy.o' libtool=no \

DEPDIR=.deps depmode=hp2 /bin/sh ../depcomp \

cc -DLIBDIR=\"/usr/local/lib/hpux32\" -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -O -I/usr/local/include -O -I/usr/local/include -c stpcpy.c

source='regex.c' object='regex.o' libtool=no \

DEPDIR=.deps depmode=hp2 /bin/sh ../depcomp \

cc -DLIBDIR=\"/usr/local/lib/hpux32\" -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -O -I/usr/local/include -O -I/usr/local/include -c regex.c

"regex.c", line 7240: warning #2546-D: transfer of control bypasses

initialization of:

variable "same_str_p" (declared at line 5710)

goto restore_best_regs;

^


source='getopt.c' object='getopt.o' libtool=no \

DEPDIR=.deps depmode=hp2 /bin/sh ../depcomp \

cc -DLIBDIR=\"/usr/local/lib/hpux32\" -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -O -I/usr/local/include -O -I/usr/local/include -c getopt.c

source='getopt1.c' object='getopt1.o' libtool=no \

DEPDIR=.deps depmode=hp2 /bin/sh ../depcomp \

cc -DLIBDIR=\"/usr/local/lib/hpux32\" -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -O -I/usr/local/include -O -I/usr/local/include -c getopt1.c

source='realloc.c' object='realloc.o' libtool=no \

DEPDIR=.deps depmode=hp2 /bin/sh ../depcomp \

cc -DLIBDIR=\"/usr/local/lib/hpux32\" -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -O -I/usr/local/include -O -I/usr/local/include -c realloc.c

rm -f libgreputils.a

ar cru libgreputils.a closeout.o error.o exclude.o hard-locale.o isdir.o obstack.o quotearg.o savedir.o xmalloc.o xstrtol.o xstrtoumax.o stpcpy.o regex.o getopt.o getopt1.o realloc.o

/bin/true libgreputils.a

Making all in doc

restore=: && backupdir=".am$$" && \

am__cwd=`pwd` && cd . && \

rm -rf $backupdir && mkdir $backupdir && \

if (makeinfo --version) >/dev/null 2>&1; then \

for f in ./grep.info ./grep.info-[0-9] ./grep.info-[0-9][0-9] ./grep.i[0-9] ./grep.i[0-9][0-9]; do \

if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \

done; \

else :; fi && \

cd "$am__cwd"; \

if makeinfo -I . \

-o ./grep.info ./grep.texi; \

then \

rc=0; \

cd .; \

else \

rc=$?; \

cd . && \

$restore $backupdir/* `echo "././grep.info" | sed 's|[^/]*$||'`; \

fi; \

rm -rf $backupdir; exit $rc

sh[10]: makeinfo: not found.

*** Error exit code 127


Stop.

*** Error exit code 1


Stop.

*** Error exit code 1


Stop.

4 REPLIES 4
Dennis Handly
Acclaimed Contributor

Re: grep tool

Any reason you are building it instead of just downloading the binary?
http://hpux.cs.utah.edu/hppd/hpux/Gnu/grep-2.5.3/

sh[10]: makeinfo: not found.

Do you know where makeinfo is?
krish_8
Occasional Contributor

Re: grep tool

Hi,

Makeinfo file is not found. Bou why the errors like below ? ( at fist of make cmd).
Plz tell me.

$ make

No suffix list.

make all-recursive

No suffix list.

Making all in intl

Making all in po

Making all in lib

Making all in posix

No suffix list.

No suffix list.

No suffix list.

source='closeout.c' object='closeout.o' libtool=no \

DEPDIR=.deps depmode=hp2 /bin/sh ../depcomp \

Dennis Handly
Acclaimed Contributor

Re: grep tool

>But why the errors like below? (at first of make cmd).

First of all, you may have to install gmake to build packages. But you would have lots of other errors.
What does "whence -v make" show?

>$ make
>No suffix list.

I assume this isn't important, there is nothing to build here?

>make all-recursive

Just a comment, a progress message.

>source='closeout.c' object='closeout.o' libtool=no \

I assume these are comments too?
Steven Schweda
Honored Contributor

Re: grep tool

> I configured grep in hp-ux without error.

Swell. Which "grep"? Which HP-UX? Which
hardware architecture? Which compiler? How?
Any interesting messages from "configure"?

> Plz tell me How can i solve this ?

Please tell us what you did.

> [...] Bou why the errors like below ? [...]

What's in the "make" file?

GNU "make" does seem to emit fewer "No suffix
list" complaints than HP's "make", but that
may not matter much.

On my system, using only HP's "make" and the
bundled C compiler, GNU grep 2.5.1 could be
built (with plenty of warnings):

dyi # uname -a
HP-UX dyi B.11.31 U ia64 4235313755 unlimited-user license

dyi # ./src/grep --version
grep (GNU grep) 2.5.1
[...]

Version 2.5.3 had some actual compile errors
in src/search.c. "gcc (GCC) 4.2.2" liked it
better:

dyi # src/grep --version
GNU grep 2.5.3
[...]

2.5.3 also seemed to insist on having
"makeinfo", although it shouldn't:

ftp://mirrors.usc.edu/pub/gnu/makeinfo.README

As GNU programs go, this one did not seem to
be very portable (to a casual observer).