Menu

#136 errors trying to build cscope on a sparc-sun-sunos4.1.4

closed-rejected
5
2004-02-15
2004-01-31
No

I'm running on a sparc-sun-sunos4.1.4

Initially, the configure failed because it could not find a
compiler.

I got around this with the "CC=/usr/local/bin/gcc"

Then the configure failed because it could not find
regex.h

I got around this by forcing the ac_cv_header_regex_h
variable to point to a local copy in our Clearcase
directory.

This let the configure complete.

Then I ran 'make'

When it did the 'make' in the src directory, I got an error
running ylwrap.

Here's the error output:
Making all in src
make[2]: Entering directory
`/tmp_mnt/home/scharmer/tmp/cs15/cscope-15.5/src'
/bin/ksh ../ylwrap `test -f 'fscanner.l' ||
echo './'`fscanner.l .c fscanner.c -- :
make[2]: *** [fscanner.c] Error 1
make[2]: Leaving directory
`/tmp_mnt/home/scharmer/tmp/cs15/cscope-15.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/tmp_mnt/home/scharmer/tmp/cs15/cscope-15.5'
make: *** [all] Error 2

Please help !! I need this version of cscope to fix a
problen with the inverted index filenames (we are
currently running cscope version 13).

Discussion

  • Hans-Bernhard Broeker

    Logged In: YES
    user_id=27517

    All those problems are caused by the fact that you don't
    have a fully working development toolchain installation.

    1) gcc's installation directory /usr/local/bin really should be
    on your $PATH.

    2) you will need a regex library in a place where it can be
    found.

    3) You will need a lex and a yacc on your PATH somewhere.
    Better yet, get GNU utilities flex and bison for that, and install
    them to /usr/local/bin, too.

     
  • Hans-Bernhard Broeker

    • status: open --> closed-rejected
     

Log in to post a comment.

MongoDB Logo MongoDB