[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What pkgs need to be installed to use "make html_docs"?



> Following the advice of others more savvy with the app, OneSAF Test Bed
> (OTB), I went to the app directory and typed make html_docs.  Examples of
> the errors to follow (tried to send to a file but somehow captured none of
> the errors, only what worked, sorry).

You may be trying to make the documentation.  But the 'make html_docs'
is trying to do C program compilation.  You are having a C program
problem.  Those error messages are pointing out C programming
problems with the compile.

I don't know why it is wanting to compile code to make the docs.

> At top of screen:
> 
> "terminal.o:/usr/local/OTB/src/public/texinfo-4.0/info/terminal.c:593 more
> defined references to 'tgetstr' follow"
> 
> examples of what followed:
> 
> "/usr/local/OTB/src/public/texinfo-4.0/info/terminal.c:625: undefined
> references to 'tgetflag' "
> "/usr/local/OTB/src/public/texinfo-4.0/info/terminal.c:628: undefined
> references to 'tgetstr' "
> 
> several more of this type, then:
> 
> "collect2: ld returned 1 exit status
> make[3]:***[ginfo] Error1
> make[2]:***[install-recursive] Error1
> make[1]:***[/usr/local/OTB/bin/makeinfo] Error2
> make:***[html_docs] Error2"

I see the name /texinfo-4.0/ in the path.  It looks to be trying to
compile a private version of texinfo.  But texinfo is a Debian package
that install /usr/bin/makeinfo.  Make sure you have a makeinfo
installed.

  apt-get install texinfo

But if that is good then something about your application is not
seeing your normal copy of texinfo and is trying to compile a private
copy of texinfo and is failing there.  I am guessing that
/usr/bin/makeinfo is the command that it wants to use.

> I tried typing make clean html_docs as user then logged in as root and tried
> (since other OTB issues resolved when done as root). No luck.

I recommend that you never compile programs as root.  I realize it is
the biggest gun available and will blow up anything in its path.  But
that is exactly why you should avoid it most of the time.  It is the
biggest gun available and will blow up anything in its path.  As time
goes buy you will gain experience and know when things need root
access and when things don't.  Just hang in there.

In this case you are not having permission problems and compiling as
root won't help.  In fact it might leave root owned files behind and
might turn this into a permission problem.  :-(

> If it's not a package problem, could it be a terminal problem (whatever that
> is)? The errors kept mentioning terminal.o or terminal.c. I may not have set
> that up properly and am not sure how to if I didn't.

You are not having a terminal problem.  The C program file is called
terminal.c but that is completely unrelated to your terminal that you
are using to type in commands.

I don't know anything about 'OneSAF Test Bed' but I think you need to
get some assistance particular to that application.  As I said I don't
know why it is trying to compile texinfo.  I could talk you through
compiling texinfo but I think the problem is with OTB.  I think you
need to get some specific help there.  OTB is trying to do something
it should not need to do.  (Assuming that you have already installed
texinfo as in the above 'apt-get install texinfo' line).

Is OTB free software?  What is it?  Where is it available?  Might they
have a web site with their documentation online already?

Bob

Attachment: pgpdVV2F9pIK6.pgp
Description: PGP signature


Reply to: