Re: command not found -- autoconf
From: Barry Margolin (barmar_at_alum.mit.edu)
Date: 03/31/04
- Next message: Casper H.S. ***: "Re: Trouble with UNIX pipes"
- Previous message: Barry Margolin: "Re: Trouble with UNIX pipes"
- In reply to: seand: "command not found -- autoconf"
- Next in thread: seand: "Re: command not found -- autoconf"
- Reply: seand: "Re: command not found -- autoconf"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 31 Mar 2004 01:00:31 -0500
In article <pSoac.966$jS5.707@news04.bloor.is.net.cable.rogers.com>,
"seand" <seand@internet.net> wrote:
> Hi all,
> I want to test environment variable $ORACLE_HOME's existence in
> configure.in, then find out the path of oracle client lib and pass it to
> makefile.ins. But I got "./configure: save_OLPATH: command not found". Here
> is what I put in configure.in :
> save_OLPATH = $ORACLE_HOME
> test -z $ORACLE_HOME && save_OLPATH="/opt/oracle/product/9.2"
> dnl assign output variable here to myprog_LDFLAGS
> AC_CHECK_FILE($save_OLPATH/lib/libclntst9.a
> ...
>
> Is this the right way? if yes, how can I avoid above error?
>
> Thanks in advance
>
>
> -s
Your variable assignment syntax is incorrect -- you can't have spaces
around the '=' sign. So it should be:
save_OLPATH=$ORACLE_HOME
With the spaces there, it thinks that "save_OLPATH" is a command whose
first argument is '=', not a variable being assigned.
-- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***
- Next message: Casper H.S. ***: "Re: Trouble with UNIX pipes"
- Previous message: Barry Margolin: "Re: Trouble with UNIX pipes"
- In reply to: seand: "command not found -- autoconf"
- Next in thread: seand: "Re: command not found -- autoconf"
- Reply: seand: "Re: command not found -- autoconf"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]