CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

Help%7e%7einstall openfoam13 on fc5%7e%7e

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 9, 2006, 21:29
Default hi~~~~~ my os is fc5~
  #1
Member
 
Bobby
Join Date: Mar 2009
Location: wuhan, hubei, China
Posts: 33
Rep Power: 8
aderliner is on a distinguished road
hi~~~~~


my os is fc5~~~
When I am installing openfoam follow the document "how to compile
> openfoam",I meet a problem. When I use "make" to compile paraview in
> "paraview-2.4",the terminal is showed as below:
>
> [wab@localhost paraview-2.4]$ make
> running /bin/sh
> "/home/wab/OpenFOAM/linux/paraview-2.4.3/lib/paraview-2.4/Utilities/TclTk/c
>onfigure_tcltk.sh" 2>&1 checking whether to use symlinks for manpages... no
> checking compression for manpages... no
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking how to run the C preprocessor... gcc -E
> checking for egrep... grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking for unistd.h... (cached) yes
> checking limits.h usability... yes
> checking limits.h presence... yes
> checking for limits.h... yes
> checking for building with threads... no (default)
> checking if the compiler understands -pipe... yes
> checking for required early compiler flags... _LARGEFILE64_SOURCE
> checking for 64-bit integer type... long long
> checking for struct dirent64... no
> checking for struct stat64... yes
> checking for off64_t... yes
> checking whether byte ordering is bigendian... no
> checking for getcwd... yes
> checking for opendir... yes
> checking for strstr... yes
> checking for strtol... yes
> checking for strtoll... yes
> checking for strtoull... yes
> checking for tmpnam... yes
> checking for waitpid... yes
> checking for strerror... yes
> checking for getwd... yes
> checking for wait3... yes
> checking for uname... yes
> checking for realpath... yes
> checking dirent.h... yes
> checking errno.h usability... yes
> checking errno.h presence... yes
> checking for errno.h... yes
> checking float.h usability... yes
> checking float.h presence... yes
> checking for float.h... yes
> checking values.h usability... yes
> checking values.h presence... yes
> checking for values.h... yes
> checking for limits.h... (cached) yes
> checking for stdlib.h... (cached) yes
> checking for string.h... (cached) yes
> checking sys/wait.h usability... yes
> checking sys/wait.h presence... yes
> checking for sys/wait.h... yes
> checking dlfcn.h usability... yes
> checking dlfcn.h presence... yes
> checking for dlfcn.h... yes
> checking for unistd.h... (cached) yes
> checking sys/param.h usability... yes
> checking sys/param.h presence... yes
> checking for sys/param.h... yes
> checking sys/modem.h usability... no
> checking sys/modem.h presence... no
> checking for sys/modem.h... no
> checking termios vs. termio vs. sgtty... termios
> checking for fd_set in sys/types... yes
> checking whether struct tm is in sys/time.h or time.h... time.h
> checking sys/time.h usability... yes
> checking sys/time.h presence... yes
> checking for sys/time.h... yes
> checking whether time.h and sys/time.h may both be included... yes
> checking for struct tm.tm_zone... yes
> checking for gmtime_r... yes
> checking for localtime_r... yes
> checking tm_tzadj in struct tm... no
> checking tm_gmtoff in struct tm... yes
> checking long timezone variable... yes
> checking for struct stat.st_blksize... yes
> checking for fstatfs... yes
> checking for working memcmp... yes
> checking for memmove... yes
> checking proper strstr implementation... yes
> checking for strtoul... yes
> checking for strtod... yes
> checking for strtod... (cached) yes
> checking for Solaris2.4/Tru64 strtod bugs... ok
> checking for mode_t... yes
> checking for pid_t... yes
> checking for size_t... yes
> checking for uid_t in sys/types.h... yes
> checking for socklen_t... yes
> checking for opendir... (cached) yes
> checking union wait... yes
> checking for strncasecmp... yes
> checking for BSDgettimeofday... no
> checking for gettimeofday... yes
> checking for gettimeofday declaration... present
> checking whether char is unsigned... no
> checking signed char declarations... yes
> checking for a putenv() that copies the buffer... no
> checking langinfo.h usability... yes
> checking langinfo.h presence... yes
> checking for langinfo.h... yes
> checking whether to use nl_langinfo... yes
> checking for sin... no
> checking for main in -lieee... yes
> checking for main in -linet... no
> checking net/errno.h usability... no
> checking net/errno.h presence... no
> checking for net/errno.h... no
> checking for connect... yes
> checking for gethostbyname... yes
> checking how to build libraries... static
> checking for ranlib... ranlib
> checking if 64bit support is requested... no
> checking if 64bit Sparc VIS support is requested... no
> checking system version (for dynamic loading)...
> /home/wab/OpenFOAM/linux/paraview-2.4.3/Utilities/TclTk/tcl8.4.5/unix/confi
>gure: line 13936: syntax error near unexpected token `)'
> /home/wab/OpenFOAM/linux/paraview-2.4.3/Utilities/TclTk/tcl8.4.5/unix/confi
>gure: line 13936: ` OSF*)' -- Checking old streams end-of-file bug level
> -- Checking old streams end-of-file bug level - failed to compile test
> -- Finding Atomic Data Sizes
> -- Finding a 64 Bit Integer
> -- Configuring done
> -- Generating done
> -- Build files have been written to:
> /home/wab/OpenFOAM/linux/paraview-2.4.3/lib/paraview-2.4 gmake: *** can not
> found makefile。 stop。
> make[2]: *** [maketcltk] error 1
> make[1]: *** [Utilities/TclTk/CMakeFiles/maketcltk.dir/all] error 2
> make: *** [all] error 2
> [wab@localhost paraview-2.4]$
>
>
> so, please help me ~~~thank you again~~!
aderliner is offline   Reply With Quote

Old   September 11, 2006, 03:53
Default Excuse my ignorance: fc5 is Fe
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,912
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Excuse my ignorance: fc5 is Fedora Core 5? I'm just confused because it fails at a part completely unrelated to that OS.

Just a wild guess (but you havn't given us too much information to work with): it might be an issue with the shell (/bin/sh should be bash). I had problems with a Fedora Core 5 installation where suddently third-party shell-scripts that used to work started failing. You've always got to keep in mind that Fedora is bleeding edge.
__________________
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   September 11, 2006, 07:24
Default Take a look at this document:
  #3
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 330
Rep Power: 13
mbeaudoin will become famous soon enough
Take a look at this document:

http://www.cdlact.unileoben.ac.at/non_cdl/OpenFOAMWiki/index.php/Howto_compile_O penFOAM#Patching_Tcl.2FTK_.28optional.29

It is a bug in the Tcl/Tk config files affecting systems running bash version 3.1 or later.

Cheers.

Martin
mbeaudoin is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM13 for Mac OSX Darwin 104 hjasak OpenFOAM Installation 70 September 24, 2010 05:06
Differences OpenFOAM12 and OpenFOAM13 lr103476 OpenFOAM Running, Solving & CFD 43 July 22, 2008 16:46
Problems in OpenFOAM13 srcthermophysicalmodelsliquid aderliner OpenFOAM Running, Solving & CFD 1 March 18, 2007 02:33
What is wrong with the OpenFOAM13 on Cygwin151 waynezw0618 OpenFOAM Installation 0 November 6, 2006 21:31
Problem with LinuxIA64 installation of OpenFOAM13 antares OpenFOAM Installation 0 May 25, 2006 12:19


All times are GMT -4. The time now is 05:34.