|
[Sponsors] |
[swak4Foam] installation problem with version 0.2.3 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 7, 2013, 05:59 |
installation problem with version 0.2.3
|
#1 |
Member
Claudio
Join Date: Mar 2012
Location: Milano, Italy
Posts: 49
Rep Power: 14 |
Hi everybody!
I'm trying to install swak4Foam on OF-2.1.0, without success! I downloaded the last version (0.2.3) - "Swak4Foam_2.x_release_0.2.3.tar.gz" ; after extracting, I went in the dyrectory and then I did ./Allwmake; the result gave me back an error. Attached there is the log file. Could anyone help me? Thank you! Best regards, Claudio |
|
May 7, 2013, 06:51 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Code:
./Allwmake 2>&1 >wmake.txt http://openfoamwiki.net/index.php/Co...am#Downloading
__________________
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 |
||
May 7, 2013, 07:04 |
|
#3 |
Member
Claudio
Join Date: Mar 2012
Location: Milano, Italy
Posts: 49
Rep Power: 14 |
Thank you for the quick answer!
First of all, yes, I'm sure my version of OF is 2.1.0. Then, here there is the output from the terminal Code:
claudio87@debian:~/Scrivania/Swak4Foam_2.x_release_0.2.3$ ./Allwmake 2>&1 > wmake.txt In file included from /usr/include/bits/errno.h:25, from /usr/include/errno.h:36, from lex.fvexpr.c:41: /usr/include/linux/errno.h:4:23: error: asm/errno.h: No such file or directory In file included from lnInclude/FieldValueExpressionParser_location.hh:44, from FieldValueExpressionParser.tab.hh:65, from lnInclude/FieldValueExpressionDriver.H:49, from lnInclude/FieldValueExpressionDriverYY.H:36, from ../FieldValueExpressionLexer.ll:33: position.hh: In function ‘bool parserField::operator==(const parserField::position&, const parserField::position&)’: position.hh:136: warning: suggest parentheses around ‘&&’ within ‘||’ lex.fvexpr.c: In function ‘int parserFieldlex(parserField::FieldValueExpressionParser::semantic_type*, parserField::location*, void*, Foam::FieldValueExpressionDriver&, int&, int&)’: lex.fvexpr.c:62496: warning: use of old-style cast lex.fvexpr.c:62575: warning: use of old-style cast lex.fvexpr.c:62575: warning: use of old-style cast lex.fvexpr.c:62592: warning: use of old-style cast lex.fvexpr.c:62605: warning: use of old-style cast lex.fvexpr.c:63665: warning: use of old-style cast lex.fvexpr.c: In function ‘int yy_get_next_buffer(void*)’: lex.fvexpr.c:63813: warning: use of old-style cast lex.fvexpr.c:63845: warning: use of old-style cast lex.fvexpr.c:63868: warning: use of old-style cast lex.fvexpr.c:63881: warning: use of old-style cast lex.fvexpr.c:63881: warning: use of old-style cast lex.fvexpr.c:63902: warning: use of old-style cast lex.fvexpr.c:63902: warning: use of old-style cast lex.fvexpr.c:63902: error: ‘EINTR’ was not declared in this scope lex.fvexpr.c:63927: warning: use of old-style cast lex.fvexpr.c:63930: warning: use of old-style cast lex.fvexpr.c:63930: warning: use of old-style cast lex.fvexpr.c: In function ‘yy_state_type yy_get_previous_state(void*)’: lex.fvexpr.c:63956: warning: use of old-style cast lex.fvexpr.c:63966: warning: use of old-style cast lex.fvexpr.c:63966: warning: use of old-style cast lex.fvexpr.c: In function ‘yy_state_type yy_try_NUL_trans(yy_state_type, void*)’: lex.fvexpr.c:63992: warning: use of old-style cast lex.fvexpr.c: In function ‘int yyinput(void*)’: lex.fvexpr.c:64028: warning: use of old-style cast lex.fvexpr.c:64086: warning: use of old-style cast lex.fvexpr.c: In function ‘void fvexprrestart(FILE*, void*)’: lex.fvexpr.c:64109: warning: use of old-style cast lex.fvexpr.c: In function ‘void fvexpr_switch_to_buffer(yy_buffer_state*, void*)’: lex.fvexpr.c:64131: warning: use of old-style cast lex.fvexpr.c: In function ‘void fvexpr_load_buffer_state(void*)’: lex.fvexpr.c:64167: warning: use of old-style cast lex.fvexpr.c: In function ‘yy_buffer_state* fvexpr_create_buffer(FILE*, int, void*)’: lex.fvexpr.c:64188: warning: use of old-style cast lex.fvexpr.c:64197: warning: use of old-style cast lex.fvexpr.c: In function ‘void fvexpr_delete_buffer(yy_buffer_state*, void*)’: lex.fvexpr.c:64218: warning: use of old-style cast lex.fvexpr.c:64224: warning: use of old-style cast lex.fvexpr.c:64227: warning: use of old-style cast lex.fvexpr.c:64229: warning: use of old-style cast lex.fvexpr.c: In function ‘void fvexpr_init_buffer(yy_buffer_state*, FILE*, void*)’: lex.fvexpr.c:64255: warning: use of old-style cast lex.fvexpr.c: In function ‘void fvexpr_flush_buffer(yy_buffer_state*, void*)’: lex.fvexpr.c:64291: warning: use of old-style cast lex.fvexpr.c: In function ‘void fvexprpush_buffer_state(yy_buffer_state*, void*)’: lex.fvexpr.c:64326: warning: use of old-style cast lex.fvexpr.c: In function ‘void fvexprpop_buffer_state(void*)’: lex.fvexpr.c:64363: warning: use of old-style cast lex.fvexpr.c: In function ‘void fvexprensure_buffer_stack(void*)’: lex.fvexpr.c:64390: warning: use of old-style cast lex.fvexpr.c:64401: warning: use of old-style cast lex.fvexpr.c:64421: warning: use of old-style cast lex.fvexpr.c: In function ‘yy_buffer_state* fvexpr_scan_buffer(char*, yy_size_t, void*)’: lex.fvexpr.c:64449: warning: use of old-style cast lex.fvexpr.c: In function ‘yy_buffer_state* fvexpr_scan_bytes(const char*, int, void*)’: lex.fvexpr.c:64502: warning: use of old-style cast lex.fvexpr.c: In function ‘void yy_push_state(int, void*)’: lex.fvexpr.c:64530: warning: use of old-style cast lex.fvexpr.c:64539: warning: use of old-style cast lex.fvexpr.c:64542: warning: use of old-style cast lex.fvexpr.c:64542: warning: use of old-style cast lex.fvexpr.c: In function ‘void yy_pop_state(void*)’: lex.fvexpr.c:64559: warning: use of old-style cast lex.fvexpr.c: In function ‘int yy_top_state(void*)’: lex.fvexpr.c:64572: warning: use of old-style cast lex.fvexpr.c: In function ‘void* fvexprget_extra(void*)’: lex.fvexpr.c:64617: warning: use of old-style cast lex.fvexpr.c: In function ‘int fvexprget_lineno(void*)’: lex.fvexpr.c:64628: warning: use of old-style cast lex.fvexpr.c: In function ‘int fvexprget_column(void*)’: lex.fvexpr.c:64641: warning: use of old-style cast lex.fvexpr.c: In function ‘FILE* fvexprget_in(void*)’: lex.fvexpr.c:64654: warning: use of old-style cast lex.fvexpr.c: In function ‘FILE* fvexprget_out(void*)’: lex.fvexpr.c:64663: warning: use of old-style cast lex.fvexpr.c: In function ‘int fvexprget_leng(void*)’: lex.fvexpr.c:64672: warning: use of old-style cast lex.fvexpr.c: In function ‘char* fvexprget_text(void*)’: lex.fvexpr.c:64682: warning: use of old-style cast lex.fvexpr.c: In function ‘void fvexprset_extra(void*, void*)’: lex.fvexpr.c:64694: warning: use of old-style cast lex.fvexpr.c: In function ‘void fvexprset_lineno(int, void*)’: lex.fvexpr.c:64706: warning: use of old-style cast lex.fvexpr.c: In function ‘void fvexprset_column(int, void*)’: lex.fvexpr.c:64721: warning: use of old-style cast lex.fvexpr.c: In function ‘void fvexprset_in(FILE*, void*)’: lex.fvexpr.c:64738: warning: use of old-style cast lex.fvexpr.c: In function ‘void fvexprset_out(FILE*, void*)’: lex.fvexpr.c:64744: warning: use of old-style cast lex.fvexpr.c: In function ‘int fvexprget_debug(void*)’: lex.fvexpr.c:64750: warning: use of old-style cast lex.fvexpr.c: In function ‘void fvexprset_debug(int, void*)’: lex.fvexpr.c:64756: warning: use of old-style cast lex.fvexpr.c: In function ‘YYSTYPE* fvexprget_lval(void*)’: lex.fvexpr.c:64769: warning: use of old-style cast lex.fvexpr.c: In function ‘void fvexprset_lval(YYSTYPE*, void*)’: lex.fvexpr.c:64775: warning: use of old-style cast lex.fvexpr.c: In function ‘int fvexprlex_init(void**)’: lex.fvexpr.c:64792: error: ‘EINVAL’ was not declared in this scope lex.fvexpr.c:64796: warning: use of old-style cast lex.fvexpr.c:64799: error: ‘ENOMEM’ was not declared in this scope lex.fvexpr.c: In function ‘int fvexprlex_init_extra(void*, void**)’: lex.fvexpr.c:64825: error: ‘EINVAL’ was not declared in this scope lex.fvexpr.c:64829: warning: use of old-style cast lex.fvexpr.c:64832: error: ‘ENOMEM’ was not declared in this scope lex.fvexpr.c: In function ‘int yy_init_globals(void*)’: lex.fvexpr.c:64850: warning: use of old-style cast lex.fvexpr.c:64858: warning: use of old-style cast lex.fvexpr.c:64871: warning: use of old-style cast lex.fvexpr.c:64872: warning: use of old-style cast lex.fvexpr.c: In function ‘int fvexprlex_destroy(void*)’: lex.fvexpr.c:64886: warning: use of old-style cast lex.fvexpr.c: In function ‘void* fvexpralloc(yy_size_t, void*)’: lex.fvexpr.c:64942: warning: use of old-style cast lex.fvexpr.c: In function ‘void* fvexprrealloc(void*, yy_size_t, void*)’: lex.fvexpr.c:64954: warning: use of old-style cast lex.fvexpr.c:64954: warning: use of old-style cast lex.fvexpr.c: In function ‘void fvexprfree(void*, void*)’: lex.fvexpr.c:64959: warning: use of old-style cast ../FieldValueExpressionLexer.ll: In member function ‘virtual void Foam::FieldValueExpressionDriver::scan_begin()’: ../FieldValueExpressionLexer.ll:597: warning: use of old-style cast ../FieldValueExpressionLexer.ll: In member function ‘void Foam::FieldValueExpressionDriver::startEatCharacters()’: ../FieldValueExpressionLexer.ll:643: warning: use of old-style cast ../FieldValueExpressionLexer.ll: In member function ‘void Foam::FieldValueExpressionDriver::startVectorComponent()’: ../FieldValueExpressionLexer.ll:655: warning: use of old-style cast ../FieldValueExpressionLexer.ll: In member function ‘void Foam::FieldValueExpressionDriver::startTensorComponent()’: ../FieldValueExpressionLexer.ll:667: warning: use of old-style cast lex.fvexpr.c: At global scope: lex.fvexpr.c:64525: warning: ‘void yy_push_state(int, void*)’ defined but not used lex.fvexpr.c:64554: warning: ‘void yy_pop_state(void*)’ defined but not used lex.fvexpr.c:64567: warning: ‘int yy_top_state(void*)’ defined but not used make: *** [Make/linuxGccDPOpt/FieldValueExpressionLexer.o] Error 1 Code:
./Allwmake 2>&1 >wmake.txt |
|
May 7, 2013, 07:56 |
|
#4 | ||
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Quote:
Code:
/usr/include/linux/errno.h:4:23: error: asm/errno.h: No such file or directory OK. This differs from shell to shell. With bash it usually works
__________________
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 |
|||
May 7, 2013, 09:06 |
|
#5 | |
Member
Claudio
Join Date: Mar 2012
Location: Milano, Italy
Posts: 49
Rep Power: 14 |
Ok. I did everything again from the beginning (1st: ./Allwclean; then: ./Allwmake, again).
I attached the new log. There is something new, something you can see I could do for the installation? Quote:
Thanks! |
||
May 7, 2013, 10:12 |
|
#6 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
What Distro are you using?
__________________
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 |
||
May 7, 2013, 10:49 |
|
#7 |
Member
Claudio
Join Date: Mar 2012
Location: Milano, Italy
Posts: 49
Rep Power: 14 |
My distribution is
Linux debian 2.6.32-5-amd64. I don't understand why it shouldn't compile! |
|
May 7, 2013, 11:21 |
|
#8 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
I don't have a Debian-based distro so I can't tell you which package the missing file belongs do. On my distro it is part of kernel-headers. Maybe someone with a Debian/Ubuntu can help you here
__________________
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 |
||
May 8, 2013, 10:20 |
|
#10 |
Member
Claudio
Join Date: Mar 2012
Location: Milano, Italy
Posts: 49
Rep Power: 14 |
Ok. Just to give you a feedback, I solved my problem about the installation.
I updated and upgraded all the system, and now it works. The installation seems done. Thank you very much for your help! Best regards, Claudio |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
installation Problem - Linux distribution (Not a meshing problem) | v_herw | Pointwise & Gridgen | 2 | June 20, 2016 14:47 |
engrid 1.4 installation problem in openSUSE 12.3 and 13.1 | taxalian | enGrid | 4 | March 4, 2014 13:36 |
OpenFOAM 1.7.1 installation problem on Fedora 14 | armonica | OpenFOAM Installation | 16 | March 31, 2011 13:16 |
[OpenFOAM] Problem with paraFoam on a linux-64 bit | bunni | ParaView | 4 | April 14, 2010 20:55 |
OF Installation Problem - Gcc Error | Daniel Pilatti | OpenFOAM Installation | 11 | April 19, 2009 22:07 |