[LLVMdev] [Cygwin] groff build error - semi solved

Reid Spencer reid at x10sys.com
Fri May 20 07:27:24 PDT 2005


Yeah, that's exactly right, Aaron. "true" is a command that simply
returns with an exit status of 0 and ignores its arguments. When pod2man
can't be found we define the variable that specifies its path as "true
pod2man". This allows the command that should have been run to be shown
while at the same time not interrupting the makefile with a failure.
This is entirely intentional.

Once you've installed Perl, you need to reconfigure your build tree to
get the appropriate variable defined properly. Check your
Makefile.config file (generated by configure) to determine if the PERL
variable has been set properly. Also look for anything else that starts
with "true" as you'll need those programs too.

Reid.

On Fri, 2005-05-20 at 15:13 +0100, Aaron Gray wrote:
> Turns out I did not have Perl installed and hence no pod2man command,
> so it was not groff after all.
>  
> But 'true', what ever it does, does not seem to be working on Cygwin.
>  
> true pod2man --release=1.5 --center="LLVM Command
> Guide" /usr/build/llvm/../../src/llvm-1.5/docs/CommandGuide/analyze.pod /usr/build/llvm/docs/CommandGuide/analyze.1
>  
> 'true' seems to behaving like a "do nothing machine".
>  
> From looking at the Bash documentation it does not look like it should
> be there at all !
>  
>         http://www.faqs.org/docs/bashman/bashref_68.html
>  
> Can anyone enlighten me please as to what 'true' is doing there, and
> can I remove it ?
>  
> Aaron
>  
>         ----- Original Message ----- 
>         From: Aaron Gray 
>         To: LLVM Developers Mailing List 
>         Sent: Thursday, May 19, 2005 11:12 PM
>         Subject: [LLVMdev] [Cygwin] groff build error
>         
>         
>         Here it is, a missing file "analyze.1" :-
>          
>         /usr/bin/groff -Tps -
>         man /usr/build/llvm/docs/CommandGuide/analyze.1 > /usr/buil
>         d/llvm/docs/CommandGuide/analyze.ps
>         troff: fatal error: can't open
>         `/usr/build/llvm/docs/CommandGuide/analyze.1': No
>          such file or directory
>         make[2]: *** [/usr/build/llvm/docs/CommandGuide/analyze.ps]
>         Error 1
>         make[2]: Leaving directory `/usr/build/llvm/docs/CommandGuide'
>         make[1]: *** [install] Error 1
>         make[1]: Leaving directory `/usr/build/llvm/docs'
>         make: *** [install] Error 1
>          
>         Whoopse, this is actually the pre 1.5 version of llvm I am
>         using, so I do not know whether it has been fixed in the 1.5
>         release, probably not, but if it is not obvious, please, do
>         not waste too much time on it, and I will do a clean 1.5
>         rebuild tomorrow, then hopefully a CVS build.
>          
>         Hopefully I can put together a sh script and makefile
>         combination to automate the build process.
>          
>         Aaron
>          
>         
>         
>         ______________________________________________________________
>         
>         _______________________________________________
>         LLVM Developers mailing list
>         LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>         http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050520/c079aef0/attachment.sig>


More information about the llvm-dev mailing list