Re: "if: Expression syntax" when trying to load 64-bit version of cadence



On Mon, 25 Jul 2005 15:29:45 +0100, Graeme Bunyan
<graemeb@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:

>DL wrote:
>> I'm running RedHat Enterprise 4 (64-bit version) and I have downloaded
>> and installed IC5141 with the 64-bit version of dfII. Whenever I try to
>> run cadence I get an "if: Expression syntax" error and Library Manager
>> won't start up. I tried to do LD_ASSUME_KERNEL but doesn't work.
>>
>> Any ideas?
>>
>
>Hi,
>
>I'm not sure specifically which exe you're trying to run, but it sounds like
>there is a problem with the wrapper script which sets up the path and library
>path. The structure of the scripts/exes is usually a little something like this:
>
>tools/dfII/bin/<app> - sh wrapper script
>tools/dfII/bin/<app>.exe - exe which decides to run 32-bit or 64-bit exe
>tools/dfII/bin/32bit/<app>.exe - actual 32-bit exe
>tools/dfII/bin/64bit/<app>.exe - actual 64-bit exe
>
>The error you are describing sounds like it may be relying on an environment
>variable which is not set. It shouldn't fall over if this is the case,
>however... :-(
>
>Can you please try to run:
>
>sh -xv `which <app>`
>
>(Assuming it's an sh wrapper, and they usually are - it should have the shell
>name in the first line of the file if that doesn't work).
>
>That just turns on verbose and echo mode so you'll get a pretty clear
>indication where the problem is in the script. What to do depends on the
>problem - hopefully it's not a syntax error and you won't need to edit the
>script. It may be that you need to set an environment variable to some dummy,
>non-blank value in order for that part of the script to work.
>
>I'd be interested to know what the problem is - please let me know if you
>figure it out.
>
>Regards,
>Graeme.

I certainly have not seen this problem before - I'm guessing that the most
likely explanation is that "cadence" is being started via some non-Cadence
wrapper script which has the problem. But I'm prepared to be surprised - but it
would be useful to know what exactly the command being invoked was, and to do
the experiment that Graeme suggested.

Regards,

Andrew.

.



Relevant Pages

  • Re: I need to generate list of all SMTP address.
    ... For Each Item in strProxyAddress ... In regards to JamesTech's script, ... syntax error, "exportmail.vbsMS VBScript compilation error: ...
    (microsoft.public.exchange.admin)
  • Re: I need to generate list of all SMTP address.
    ... the email addresses (including aliases) so I can give the list to SPAM ... In regards to JamesTech's script, ... syntax error, "exportmail.vbsMS VBScript compilation error: ...
    (microsoft.public.exchange.admin)
  • Re: Passing Parameters - ON FLY
    ... As there wont be any manual intervention, ... The choice is hard coded in the wrapper script. ...
    (comp.unix.shell)
  • Re: Mozilla on Alpha question
    ... >> It ought to run as a regular DCL command. ... > If you mean to say that it shouldn't be wrapped in a DCL script, ... > mozilla Bourne shell wrapper script used on Unix systems. ... > the mozilla binary where to find its plugins, fonts, and the JVM. ...
    (comp.os.vms)
  • wrapper script issue
    ... using the wrapper script and hitting the binary directly. ... I have wrapped my ruby binary in wrapper script as just ... I'm trying to execute the following ruby script, ... If I execute this script with explicit command line use of the ruby wrapper ...
    (Debian-User)