CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (https://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   Compilation fails on suse linux 101 (https://www.cfd-online.com/Forums/openfoam-bugs/62567-compilation-fails-suse-linux-101-a.html)

su_junwei July 20, 2007 04:34

Dear everyone I am new to o
 
Dear everyone

I am new to openfoam. I download the openfoam 1.4 and tried to compiled on suse linux 10.1 after fixed it according to the contents on the site
http://www.cfd-online.com/OpenFOAM_D...tml?1182157148
but the following errors arised during the compilation

-lmeshTools /home/sujunwei/OpenFOAM/OpenFOAM-1.4/applications/utilities/mes
h/manipulation/setSet/readline-5.0/platforms/linuxGcc4DPOpt/lib/libreadline.a -L
/usr/lib/termcap -L/usr/lib64/termcap -ltermcap -lOpenFOAM -liberty -ldl -lm -
o /home/sujunwei/OpenFOAM/OpenFOAM-1.4/applications/bin/linuxGcc4DPOpt/setSet
/usr/bin/ld: cannot find -ltermcap
collect2: ld returned 1 exit status
make[3]: *** [/home/sujunwei/OpenFOAM/OpenFOAM-1.4/applications/bin/linuxGcc4DPO
pt/setSet] error 1
make[3]: Leaving directory `/home/sujunwei/OpenFOAM/OpenFOAM-1.4/applications/ut
ilities/mesh/manipulation/setSet/setSet'
make[2]: *** [setSet] error 2
make[2]: Leaving directory `/home/sujunwei/OpenFOAM/OpenFOAM-1.4/applications/ut
ilities/mesh/manipulation'
make[1]: *** [manipulation] error 2
make[1]: Leaving directory `/home/sujunwei/OpenFOAM/OpenFOAM-1.4/applications/ut
ilities/mesh'
make: *** [mesh] error 2

would you give me some suggestion?

Thanks

msrinath80 July 20, 2007 04:42

Install the termcap package fr
 
Install the termcap package from an RPM. Go here[1] and choose your platform accordingly and download the relevant RPM file. If there is a termcap-devel package, install it as well. You can install (as root) using the following command 'rpm -Uvh package_name_goes_here.rpm'

[1] http://download.opensuse.org/distrib...t-source/suse/

NB: The correct thread for this post is on the OpenFOAM -> Installation section.

su_junwei July 20, 2007 04:56

ok Srinath, Thanks now, it w
 
ok Srinath, Thanks
now, it works well


All times are GMT -4. The time now is 21:40.