|
[Sponsors] |
November 4, 2010, 21:21 |
OF 1.7.1 on Fedora 13
|
#1 |
Member
Tony
Join Date: Jun 2010
Posts: 54
Rep Power: 16 |
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. make.log.tar.gz Thanks |
|
November 5, 2010, 11:12 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
November 6, 2010, 02:21 |
Error in making the target 'application'
|
#3 |
New Member
Join Date: Nov 2010
Posts: 17
Rep Power: 16 |
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. |
|
November 6, 2010, 05:58 |
|
#4 |
Senior Member
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 370
Rep Power: 23 |
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.
__________________
Laurence R. McGlashan :: Website |
|
November 6, 2010, 11:52 |
|
#5 |
New Member
Join Date: Nov 2010
Posts: 17
Rep Power: 16 |
Hi Laurance
I installed binutils also but still application couldn't be made. Abhinav |
|
November 6, 2010, 16:06 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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 tar -czf make.log.tar.gz make.log Best regards, Bruno
__________________
|
|
November 6, 2010, 16:20 |
|
#7 |
New Member
Join Date: Nov 2010
Posts: 17
Rep Power: 16 |
Hi Bruno
Here is the log file. Abhinav |
|
November 6, 2010, 16:26 |
|
#8 | |||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Abhinav,
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
__________________
Last edited by wyldckat; November 6, 2010 at 16:38. Reason: see "Edit:" and "Edit2:" |
||||
November 6, 2010, 16:36 |
|
#9 |
New Member
Join Date: Nov 2010
Posts: 17
Rep Power: 16 |
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 |
|
November 6, 2010, 16:41 |
|
#10 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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 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
__________________
Last edited by wyldckat; November 6, 2010 at 16:41. Reason: which gcc ... |
|
November 7, 2010, 14:14 |
|
#12 |
New Member
VNPenguin
Join Date: Apr 2010
Posts: 19
Rep Power: 16 |
||
November 9, 2010, 01:08 |
|
#13 |
Member
Tony
Join Date: Jun 2010
Posts: 54
Rep Power: 16 |
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 |
|
November 11, 2010, 11:59 |
|
#14 |
New Member
VNPenguin
Join Date: Apr 2010
Posts: 19
Rep Power: 16 |
With the patch of $WM_DIR/rules/linux64Gcc/c++ suggested by Bruno, I can build OpenFOAM 1.7.1 on Fedora 14 too
|
|
November 12, 2010, 13:44 |
|
#15 |
New Member
Join Date: Nov 2010
Posts: 17
Rep Power: 16 |
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 |
|
November 12, 2010, 14:03 |
|
#16 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Abhinav,
Compress the log like this: Code:
tar -czf make_log.tar.gz make.log Bruno
__________________
|
|
November 12, 2010, 15:28 |
|
#17 |
New Member
Join Date: Nov 2010
Posts: 17
Rep Power: 16 |
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 |
|
November 12, 2010, 18:36 |
|
#18 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
November 13, 2010, 10:26 |
|
#20 |
New Member
VNPenguin
Join Date: Apr 2010
Posts: 19
Rep Power: 16 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error compiling 1.6.x on Fedora 12 | vnpenguin | OpenFOAM Installation | 7 | July 24, 2012 15:52 |
OpenCFD release OpenFOAMŪ version 1.7.1 | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 0 | August 26, 2010 12:40 |
Fedora 10 OpenFOAM15 | philippose | OpenFOAM Installation | 7 | February 18, 2009 05:37 |
STAR-CD 3.268in Fedora 8 | Thomas Stockheim | Siemens | 3 | April 28, 2008 04:43 |
FEDORA CORE and PARALLEL processing | Tuks | CFX | 2 | August 20, 2005 12:05 |