help-3dldf
[Top][All Lists]
Advanced

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

RE: [help-3dldf] failed to install 3DLDF-1.1.5.1


From: Laurence Finston
Subject: RE: [help-3dldf] failed to install 3DLDF-1.1.5.1
Date: Sat, 2 Oct 2004 13:28:45 +0200 (MEST)

On Fri, 1 Oct 2004, Li Li wrote:

>
> For "bitset" problem by using GCC3.4.2, I added "#include <bitset>" to
> gsltmplt.web. Now I can pass the "make install"
>

Thanks for mentioning this.  I'll have to check it.

> Anyway, I think 1.1.5.1 version can be compiled and installed by intel 8.0
> and GCC3.4.2. I tried 1.2.0.0 by using gcc3.2.2(native gcc of RH9),
> following
> is the error message
> ------------------------------
> tstbison parser ctangle bison -y "parser.w passign.w pblexpr.w pbpexpr.w
> pbsndecl.w pcirexpr.w pclrcmnd.w pcolexpr.w pcommand.w pcondit.w pcubexpr.w
> pdhnexpr.w pdrwcmnd.w pdshexpr.w pellexpr.w peqexpr.w pfocexpr.w pfuncfin.w
> pgrpcmnd.w pihnexpr.w pinptcmd.w pintacmd.w pldfdcl.w ploops.w pnumexpr.w
> pohnexpr.w ppenexpr.w ppicexpr.w ppntexpr.w pprgstmt.w ppthexpr.w precexpr.w
> prplexpr.w pstrexpr.w pthnexpr.w ptokdecl.w ptonexpr.w ptrfcmnd.w ptrnexpr.w
> pvariabl.w "
> /bin/sh: line 1: tstbison: command not found
> make[1]: *** [parser.tby] Error 127
> make[1]: Leaving directory `/home/lli/download/play/3DLDF-1.2.0.0/CWEB'
> make: *** [install-recursive] Error 1
> -------------------------------
>
> I guess 1.2.0.0 may not support gcc3.2.2. I also tried intel 8.0, and
> failed. I believe it
> is related to the how to set up appropriate enviroment for intel compiler.
> For cross compiler,
> I am always confused and make mistakes.
>

I don't think it's necessarily so serious.  `tstbison' is a shell
script.  I've just checked the snapshot, and it's present and
its permissions have the "executable" bit set, so I don't know what
the problem is.  Do you have the working directory in your `PATH'?
You can call `tstbison' with no arguments from the command line.  It
should fail with this output:

tstbison
.tby doesn't exist.  Touching .tby.
.tbh doesn't exist.  Touching .tbh.
Running  .w
./tstbison: line 145: .w: command not found
In tstbison: ctangle failed. Exiting with exit status 1.

However, this will indicate that you're able to call it.

If the suggestions above don't help, make the following change in
CWEB/Makefile.am:

## Old:

parser.tby : $(3dldf_PARSER_FILES) prbsnflx$(EXEEXT)
        tstbison parser $(CTANGLE) $(YACC) "$(3dldf_PARSER_FILES)"

## New:

parser.tby : $(3dldf_PARSER_FILES) prbsnflx$(EXEEXT)
        sh tstbison parser $(CTANGLE) $(YACC) "$(3dldf_PARSER_FILES)"

## End.

> For cross compiler,
> I am always confused and make mistakes.

There's nothing wrong with that.  I don't understand what you mean by
cross compiler, though.  You would be cross compiling if you were
compiling the source code on one hardware platform to run on a
different one.  If I've understood you correctly, you're using two
different compilers to compile the package on a single platform,
presumably with an Intel processor.  Since 3DLDF is GNU software, I'm
primarily concerned with ensuring that it can be built on GNU systems
(GNU/Linux and the GNU Hurd).  However, I'd appreciate it if you'd
tell me about any changes you have to make to get it to compile with
the Intel compiler, if you choose to use it.

>
> Thanks again for your help.

You're welcome.

Laurence




reply via email to

[Prev in Thread] Current Thread [Next in Thread]