CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Help%7e%7einstall openfoam13 on fc5%7e%7e (http://www.cfd-online.com/Forums/openfoam-installation/57616-help-7e-7einstall-openfoam13-fc5-7e-7e.html)

aderliner September 9, 2006 21:29

hi~~~~~ my os is fc5~
 
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~~!

gschaider September 11, 2006 03:53

Excuse my ignorance: fc5 is Fe
 
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.

mbeaudoin September 11, 2006 07:24

Take a look at this document:
 
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


All times are GMT -4. The time now is 00:52.