|
[Sponsors] |
[swak4Foam] wmake error swak4Foam in openfoam 2.1.1 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 2, 2013, 17:07 |
wmake error swak4Foam in openfoam 2.1.1
|
#1 |
New Member
Elias Paez
Join Date: Nov 2011
Location: Madrid
Posts: 25
Rep Power: 15 |
Hi!
I'm trying to install swak4Foam in openfoam 2.1.1 in a ubuntu 10.04 machine. After using the command ./Allwmake I received the next message: Code:
elias@elias-laptop:/opt/openfoam211/src/swak4Foam$ ./Allwmake No 'swakConfiguration'. Python etc won't work Checking swak4Foam-version and generating file Swak version is 0.2.4 Bison is version 2.4.1 Flex is version 2.5.35 (Minor version: 35) OpenFOAM-version: Major 2 Minor 1 Patch 1 (-1 == x) ./Allwmake: línea 60: swak4FoamParsers/foamVersion4swak.H.tmp: Permiso denegado No swak4FoamParsers/foamVersion4swak.H. Generated mv: no se puede efectuar `stat' sobre «swak4FoamParsers/foamVersion4swak.H.tmp»: No existe el fichero o el directorio mkdir: no se puede crear el directorio «linux64GccDPOpt»: Permiso denegado /bin/sh: linux64GccDPOpt/options: No existe el fichero o el directorio make: *** [linux64GccDPOpt/options] Error 1 /opt/openfoam211/wmake/MakefileFiles:40: linux64GccDPOpt/options: No existe el fichero o el directorio make: *** No hay ninguna regla para construir el objetivo «linux64GccDPOpt/options». Alto. wmake error: file 'Make/linux64GccDPOpt/objectFiles' could not be created in /opt/openfoam211/src/swak4Foam/Libraries/swak4FoamParsers Parser library did not compile OK. No sense continuing as everything else depends on it Requirements for Library not satisfied. I see no sense in going on |
|
October 2, 2013, 17:28 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
I'm sure there is a way to switch the default locale to english, then reproduce the error then switch back to your language (I personally keep my terminal language to english: that way if I have a problem I can immediately google the error message). Anyway: I guess "Permiso denegado" is spanish for "permission denied". It seems that you don't have write permissions to the directory. Probably because you unpacked it as root and are now trying to compile it as regular you. Either unpack the sources as you or change the ownership with the chown-command
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
October 2, 2013, 18:56 |
|
#3 |
New Member
Elias Paez
Join Date: Nov 2011
Location: Madrid
Posts: 25
Rep Power: 15 |
That was fast!!!!
Sorry for the spanish text, I just changed it for future problems. I did what you said "unpack the sources as no-root" and it worked, so thank you!! I also want to thank you all the work you have done with swak4Foam and pyFoam, you are making openfoam a little bit more user friendly |
|
January 23, 2015, 06:05 |
|
#4 | |
Member
Pratik Nanavati
Join Date: May 2014
Location: Munich, Germany
Posts: 40
Rep Power: 12 |
Quote:
thanks a lot i was also facing the same error while installing swak4Foam in OF-2.2.2 "permission denied" as the package was unpacked as root user and i tried to build it as a local user. later on i unpacked it as a local user and build was succesfull. many thanks. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Getting Started with OpenFOAM | wyldckat | OpenFOAM | 26 | June 21, 2024 07:54 |
OpenFOAM 2.1.1 Installation Errors on RHEL 6.3 | tgvosk | OpenFOAM Installation | 15 | July 5, 2012 19:43 |
OpenFOAM Foundation Releases OpenFOAM® Version 2.1.1 | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 0 | May 31, 2012 10:07 |
New OpenFOAM Forum Structure | jola | OpenFOAM | 2 | October 19, 2011 07:55 |
[OpenFOAM] ParaFoam error message | joey | ParaView | 1 | October 2, 2006 14:28 |