OF 1.7.1 on Fedora 13
1 Attachment(s)
Hi,
Im trying to install OpenFOAM on a Fedora 13 machine but the installer stops after running for 2 hours with the following error: make: Target `application' not remade because of errors. Attached is the log file. Attachment 5275 Thanks |
Hi Tony,
The solution is pretty simple: run Allwmake again :) There is a bug in Allwmake in the ThirdParty folder, which doesn't create the necessary folder for libscotch to be copied to. But the second time it's executed, the folder already exists from the previous run. Best regards, Bruno |
Error in making the target 'application'
Hi
I had the same problem i.e make: *** [thermophysical] Error 2 make: Target `application' not remade because of errors. This continued to occur even on 3rd run of ./Allwmake. I am trying to install OF in Fedora 13. Kindly Help. |
Let's see, in your make log you have:
/usr/bin/ld: cannot find -liberty Can you 'locate libiberty'? I think you need to install binutils. If you're using fedora then 'yum install binutils-devel' as root. I just installed Fedora 14, I'll be installing OF on that when I have time. |
Hi Laurance
I installed binutils also but still application couldn't be made. Abhinav |
Greetings Abhinav,
Could you post the new make.log file? Just in case you don't know what I'm talking about, run Allwmake like so: Code:
./Allwmake > make.log 2>&1 Best regards, Bruno |
1 Attachment(s)
Hi Bruno
Here is the log file. Abhinav |
Hi Abhinav,
:eek: You don't even gcc nor g++ installed? Here are the packages you need to install in Fedora before you start building OpenFOAM: Quote:
Quote:
Quote:
Bruno |
Hi Bruno
I checked and found that I dont have g++ installed although gcc is there and working. Any ways I'll install other packages first. Should I do "yum install gcc-c++". Abhinav |
Hi Abhinav,
Yep :) review my previous post... I've been editing it... twice I've had to review it... this is really the end of my week, I'm just running on fumes :D A final note (or so I hope ;)): check if you have the file /lib/gcc. If not, run this in superuser/root: Code:
ln -s `which gcc` /lib/gcc Bruno |
Wow, no g++? Welcome to the wonderful world of Fedora!
|
Quote:
|
Thanks,
I tried running the Allwmake script again but it didnt work. I installed some dependencies which i was missing and changed the LINKEXE line that Bruno suggested. Now the installation is working fine. Thanks, Tony |
With the patch of $WM_DIR/rules/linux64Gcc/c++ suggested by Bruno, I can build OpenFOAM 1.7.1 on Fedora 14 too :)
|
Here is a log file.
I installed the all the dependencies. I changed the LINEXE file as LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed I tried installing as root since I observed "Permission Denied" for some files in log file. But still there is the problem. any ideas? I am trying to install OpenFoam 1.7 on Fedora 13. Sorry no logfile could be uploaded as it's size was more than allowed. Abhinav |
Hi Abhinav,
Compress the log like this: Code:
tar -czf make_log.tar.gz make.log Bruno |
2 Attachment(s)
Hi Bruno
It was the compressed file I was talking about which couln't be uploaded as it was 126 kb while the allowed size is of 97kb for one attachment. Any way I made the whole log in two parts and now I have attached two compressed files. I was trying to install as root. Regards Abhinav |
Hi Abhinav,
Mmm, this week was longer than I thought... I didn't even remember about telling you how to compress the file in a previous post :( OK, the only thing that pops into my head is this: you have Fedora i686 and not x86_64, therefore the correct file to change would be "$WM_DIR/rules/linuxGcc/c++". But to be really sure of which rule version you are using, try this: Code:
echo $WM_DIR/rules/$WM_ARCH$WM_COMPILER/c++ Best regards, Bruno |
Also, why not use the Git repository. It's up to date with all those fixes and will compile on Fedora 13/14 no problem.
|
Quote:
Thanks, |
All times are GMT -4. The time now is 18:17. |