LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Error installing mfix (https://www.linuxquestions.org/questions/linux-newbie-8/error-installing-mfix-836688/)

Patrick1984 10-07-2010 02:21 AM

Error installing mfix
 
Hi i'm completely new to Linux/Cygwin etc.

Here's my problem:

I need to use MFix a open source program
Therefore, because i don't have Linux on my computer i use Cygwin_NT-5.1
the latest version.

From the help desk they told me that i need to configure a file to fit with my system. I just changed operation system to CYGWIN_NT-6.0 (instead of the command uname -s ; set opsys=$1...)
this was the only way i had an idea to do it, so i tell the programm that my sytem is a 6.0 but it isn't

then i wanted to install mfix

and it gives me the error

../../model/make_mfix: line 119: syntax error near unexpected token '('
../../model/make_mfix: line 119: 'echo -n "Do you need debug version? (y/n) [no] "'

by looking in he make_mfix file it looks like this

echo -n "Do you need debug version? (y/n) [no] "

i would really appreciate your help and getting this programm to work

thanks patrick

John VV 10-07-2010 04:22 AM

i would install a supported Linux distro that the people at
https://www.mfix.org/index.php

state they support .

also you do know that CygWin like MinGW is terminal only ( text only) there is no GUI )
but from the mfix FAQ mfix is ran from bash so no gui needed
-- i would do a BUNCH of reading on just how to set cygwin up on windows , it will require a lot of work on your part to just learn how to use it
http://www.cygwin.com/
http://cygwin.com/cygwin-ug-net/
http://cygwin.com/cygwin-ug-net/setup-net.html
navigating in the cygwin bash shell on windows is not that easy
Be warned you can not have ANY spaces in file names or any of the folders names


and you are fallowing the cygwin install guide in the readme ??
https://www.mfix.org/documentation/Readme.pdf
and did you see this bit in the readme
Quote:

2.1 Installing the MFIX Code on Windows OS
This is not very well supported; please see our download page
(https://mfix.netl.doe.gov/members/download.php) for special remarks
(https://mfix.netl.doe.gov/members/wininst.html) and also earlier postings on mfix-help mailing
list.

Patrick1984 10-08-2010 12:47 AM

I changed everything so that the executable is created and working.
cygwin is working properly.
now i have problems installing the post_mfix preprocessing. it results basically from the same fault that version 5.1 of cygwin is not mentioned in the programs code. only difference is that now there is no version 6.0 available. changing it to 4.0, the programm asks me to delete all .mod and .o files but still doesn't create the executable either which answer i give (y/n)
some ideas? do you need further information? just write me. i'm glad for every help i get!


All times are GMT -5. The time now is 10:10 PM.