CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[swak4Foam] wmake error swak4Foam in openfoam 2.1.1

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By gschaider

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 2, 2013, 17:07
Default wmake error swak4Foam in openfoam 2.1.1
  #1
New Member
 
Elias Paez
Join Date: Nov 2011
Location: Madrid
Posts: 25
Rep Power: 15
sicfred is on a distinguished road
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
Any help please??
sicfred is offline   Reply With Quote

Old   October 2, 2013, 17:28
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by sicfred View Post
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
Any help please??
Why do Ubuntu-users always assume that everyone speaks their language? I'm really tempted to answer in german in such cases ....
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
nanavati likes this.
__________________
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
gschaider is offline   Reply With Quote

Old   October 2, 2013, 18:56
Default
  #3
New Member
 
Elias Paez
Join Date: Nov 2011
Location: Madrid
Posts: 25
Rep Power: 15
sicfred is on a distinguished road
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
sicfred is offline   Reply With Quote

Old   January 23, 2015, 06:05
Thumbs up
  #4
Member
 
Pratik Nanavati
Join Date: May 2014
Location: Munich, Germany
Posts: 40
Rep Power: 12
nanavati is on a distinguished road
Quote:
Originally Posted by gschaider View Post
Why do Ubuntu-users always assume that everyone speaks their language? I'm really tempted to answer in german in such cases ....
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

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.
nanavati is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 23:02.