configuration problems

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

configuration problems

Michael J D'Amato
I am setting up quantlib with MinGW and I am following the directions provided by Terrence August. I got down almost to the end where I have to build quantlib, but when I try to set the environment variables (export CPPFLAGS="-I/local/include"... export LDFLAGS="-I/local/lib") I get an error message saying that export is not a recognized internal or external command, operable program or batch file.  Everything to this point has worked according to the instructions. Have I done something wrong?


Find your next car at Yahoo! Canada Autos
Reply | Threaded
Open this post in threaded view
|

Re: configuration problems

eric ehlers
Hi Michael,

'export' is a shell command but the error message you're getting 'not
a recognized internal or external command' etc. is from MS-DOS so it
looks like the shell (the command environment provided by MSYS) hasn't
been loaded correctly.  I haven't done the MinGW install but based on
the MinGW/MSYS docs I'd suggest checking the following:

- ensure that MSYS got installed correctly e.g. to c:\msys\1.0\bin and
that that directory appears in your PATH (at the DOS command prompt
enter 'echo %PATH%')
- the 'export' commands must be issued from within the shell
environment which is launched by executing file c:\msys\1.0\msys.bat

Regards,
Eric

On 12/4/05, Michael J D'Amato <[hidden email]> wrote:

> I am setting up quantlib with MinGW and I am following the directions
> provided by Terrence August. I got down almost to the end where I have to
> build quantlib, but when I try to set the environment variables (export
> CPPFLAGS="-I/local/include"... export LDFLAGS="-I/local/lib") I get an error
> message saying that export is not a recognized internal or external command,
> operable program or batch file.  Everything to this point has worked
> according to the instructions. Have I done something wrong?
>
>  ________________________________
> Find your next car at Yahoo! Canada Autos
>
>