Mirage12 |
September 13, 2013 07:21 |
Error by OpenFOAM 2.2.1 installation
Hallo Foamers :)
I wanted to install the last released version of OpeFOAM (2.2.1) butafter typing :
Code:
sudo apt-get update
i got some error
Error :
Code:
Err http://www.openfoam.org precise Release.gpg
Something wicked happened resolving 'www.openfoam.org:http' (-5 - No address associated with hostname)
Ign http://www.openfoam.org precise Release
Ign http://www.openfoam.org precise/main TranslationIndex
Err http://www.openfoam.org precise/main amd64 Packages
Something wicked happened resolving 'www.openfoam.org:http' (-5 - No address associated with hostname)
Err http://www.openfoam.org precise/main i386 Packages
Something wicked happened resolving 'www.openfoam.org:http' (-5 - No address associated with hostname)
Err http://www.openfoam.org precise/main Translation-en_IN
Something wicked happened resolving 'www.openfoam.org:http' (-5 - No address associated with hostname)
Err http://www.openfoam.org precise/main Translation-en
Something wicked happened resolving 'www.openfoam.org:http' (-5 - No address associated with hostname)
Hit http://sgposd03.apac.bosch.com precise Release.gpg
Hit http://sgposd03.apac.bosch.com precise-updates Release.gpg
Hit http://sgposd03.apac.bosch.com precise-security Release.gpg
Hit http://sgposd03.apac.bosch.com precise Release.gpg
Hit http://sgposd03.apac.bosch.com precise Release.gpg
Hit http://sgposd03.apac.bosch.com ./ Release.gpg
Hit http://sgposd03.apac.bosch.com precise Release.gpg
Hit http://sgposd03.apac.bosch.com precise Release.gpg
Hit http://sgposd03.apac.bosch.com precise Release
Hit http://sgposd03.apac.bosch.com precise-updates Release
Hit http://sgposd03.apac.bosch.com precise-security Release
Hit http://sgposd03.apac.bosch.com precise Release
Hit http://sgposd03.apac.bosch.com precise Release
Hit http://sgposd03.apac.bosch.com ./ Release
Hit http://sgposd03.apac.bosch.com precise Release
Hit http://sgposd03.apac.bosch.com precise Release
Hit http://sgposd03.apac.bosch.com precise/main amd64 Packages
Hit http://sgposd03.apac.bosch.com precise/restricted amd64 Packages
Hit http://sgposd03.apac.bosch.com precise/universe amd64 Packages
Hit http://sgposd03.apac.bosch.com precise/main i386 Packages
Hit http://sgposd03.apac.bosch.com precise/restricted i386 Packages
Hit http://sgposd03.apac.bosch.com precise/universe i386 Packages
Ign http://sgposd03.apac.bosch.com precise/main TranslationIndex
Ign http://sgposd03.apac.bosch.com precise/restricted TranslationIndex
Ign http://sgposd03.apac.bosch.com precise/universe TranslationIndex
Hit http://sgposd03.apac.bosch.com precise-updates/main amd64 Packages
Hit http://sgposd03.apac.bosch.com precise-updates/restricted amd64 Packages
Hit http://sgposd03.apac.bosch.com precise-updates/universe amd64 Packages
Hit http://sgposd03.apac.bosch.com precise-updates/main i386 Packages
Hit http://sgposd03.apac.bosch.com precise-updates/restricted i386 Packages
Hit http://sgposd03.apac.bosch.com precise-updates/universe i386 Packages
Ign http://sgposd03.apac.bosch.com precise-updates/main TranslationIndex
Ign http://sgposd03.apac.bosch.com precise-updates/restricted TranslationIndex
Ign http://sgposd03.apac.bosch.com precise-updates/universe TranslationIndex
Hit http://sgposd03.apac.bosch.com precise-security/main amd64 Packages
Hit http://sgposd03.apac.bosch.com precise-security/restricted amd64 Packages
Hit http://sgposd03.apac.bosch.com precise-security/universe amd64 Packages
Hit http://sgposd03.apac.bosch.com precise-security/main i386 Packages
Hit http://sgposd03.apac.bosch.com precise-security/restricted i386 Packages
Hit http://sgposd03.apac.bosch.com precise-security/universe i386 Packages
Ign http://sgposd03.apac.bosch.com precise-security/main TranslationIndex
Ign http://sgposd03.apac.bosch.com precise-security/restricted TranslationIndex
Ign http://sgposd03.apac.bosch.com precise-security/universe TranslationIndex
Hit http://sgposd03.apac.bosch.com precise/multiverse amd64 Packages
Hit http://sgposd03.apac.bosch.com precise/multiverse i386 Packages
Ign http://sgposd03.apac.bosch.com precise/multiverse TranslationIndex
Hit http://sgposd03.apac.bosch.com precise/main amd64 Packages
Hit http://sgposd03.apac.bosch.com precise/main i386 Packages
Ign http://sgposd03.apac.bosch.com precise/main TranslationIndex
Hit http://sgposd03.apac.bosch.com ./ Packages
Hit http://sgposd03.apac.bosch.com precise/main amd64 Packages
Hit http://sgposd03.apac.bosch.com precise/main i386 Packages
Ign http://sgposd03.apac.bosch.com precise/main TranslationIndex
Hit http://sgposd03.apac.bosch.com precise/partner amd64 Packages
Hit http://sgposd03.apac.bosch.com precise/partner i386 Packages
Ign http://sgposd03.apac.bosch.com precise/partner TranslationIndex
Ign http://sgposd03.apac.bosch.com ./ Translation-en_IN
Ign http://sgposd03.apac.bosch.com ./ Translation-en
Ign http://sgposd03.apac.bosch.com precise/main Translation-en_IN
Ign http://sgposd03.apac.bosch.com precise/main Translation-en
Ign http://sgposd03.apac.bosch.com precise/restricted Translation-en_IN
Ign http://sgposd03.apac.bosch.com precise/restricted Translation-en
Ign http://sgposd03.apac.bosch.com precise/universe Translation-en_IN
Ign http://sgposd03.apac.bosch.com precise/universe Translation-en
Ign http://sgposd03.apac.bosch.com precise-updates/main Translation-en_IN
Ign http://sgposd03.apac.bosch.com precise-updates/main Translation-en
Ign http://sgposd03.apac.bosch.com precise-updates/restricted Translation-en_IN
Ign http://sgposd03.apac.bosch.com precise-updates/restricted Translation-en
Ign http://sgposd03.apac.bosch.com precise-updates/universe Translation-en_IN
Ign http://sgposd03.apac.bosch.com precise-updates/universe Translation-en
Ign http://sgposd03.apac.bosch.com precise-security/main Translation-en_IN
Ign http://sgposd03.apac.bosch.com precise-security/main Translation-en
Ign http://sgposd03.apac.bosch.com precise-security/restricted Translation-en_IN
Ign http://sgposd03.apac.bosch.com precise-security/restricted Translation-en
Ign http://sgposd03.apac.bosch.com precise-security/universe Translation-en_IN
Ign http://sgposd03.apac.bosch.com precise-security/universe Translation-en
Ign http://sgposd03.apac.bosch.com precise/multiverse Translation-en_IN
Ign http://sgposd03.apac.bosch.com precise/multiverse Translation-en
Ign http://sgposd03.apac.bosch.com precise/main Translation-en_IN
Ign http://sgposd03.apac.bosch.com precise/main Translation-en
Ign http://sgposd03.apac.bosch.com precise/main Translation-en_IN
Ign http://sgposd03.apac.bosch.com precise/main Translation-en
Ign http://sgposd03.apac.bosch.com precise/partner Translation-en_IN
Ign http://sgposd03.apac.bosch.com precise/partner Translation-en
W: Failed to fetch http://www.openfoam.org/download/ubuntu/dists/precise/Release.gpg Something wicked happened resolving 'www.openfoam.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://www.openfoam.org/download/ubuntu/dists/precise/main/binary-amd64/Packages Something wicked happened resolving 'www.openfoam.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://www.openfoam.org/download/ubuntu/dists/precise/main/binary-i386/Packages Something wicked happened resolving 'www.openfoam.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://www.openfoam.org/download/ubuntu/dists/precise/main/i18n/Translation-en_IN Something wicked happened resolving 'www.openfoam.org:http' (-5 - No address associated with hostname)
W: Failed to fetch http://www.openfoam.org/download/ubuntu/dists/precise/main/i18n/Translation-en Something wicked happened resolving 'www.openfoam.org:http' (-5 - No address associated with hostname)
E: Some index files failed to download. They have been ignored, or old ones used instead.
so i downloaded openfoam221_0-1_i386.deb from source forge and wanted to install openFoam from the package.
after moving openfoam221_0-1_i386.deb to /var/cache/apt/archives/ i typed in the terminal
Code:
sudo dpkg --install openfoam221_0-1_i386.deb
but i got this error :
Code:
Selecting previously unselected package openfoam221:i386.
dpkg: error processing openfoam221_0-1_i386.deb (--install):
openfoam221:i386 0-1 (Multi-Arch: no) is not co-installable with openfoam221:amd64 0-1 (Multi-Arch: no) which is currently installed
Errors were encountered while processing:
openfoam221_0-1_i386.deb
so i tried to follow the instructions of this Link http://www.openfoam.org/download/source.php to install OF221.
but i had this problm :
Code:
No command 'setenv' found
I used this Link to solve the probleme ...but i am not able to use ./Allwmake
here what i did :
Code:
abm5kor@BMH301562:/opt/OpenFOAM$ setenv FOAM_INST_DIR /data/app/OpenFOAM
No command 'setenv' found, did you mean:
Command 'netenv' from package 'netenv' (universe)
setenv: command not found
abm5kor@BMH301562:/opt/OpenFOAM$ sudo apt-get install tcsh
[sudo] password for abm5kor:
Reading package lists... Done
Building dependency tree
Reading state information... Done
tcsh is already the newest version.
The following packages were automatically installed and are no longer required:
python-configglue paraview-doc gir1.2-indicate-0.7 linux-headers-3.2.0-40 linux-headers-3.2.0-41 linux-headers-3.2.0-36
firefox-globalmenu python-ubuntuone-storageprotocol libgl2ps0 python-protobuf libvtk5.8 python-vtk linux-headers-3.2.0-40-generic
tcl8.5 python-twisted-names tk8.5 libpq5 python-support protobuf-compiler python-dirspec libprotoc7
linux-headers-3.2.0-41-generic linux-headers-3.2.0-36-generic tcl-vtk libnetcdf6
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
abm5kor@BMH301562:/opt/OpenFOAM$ tcsh
BMH301562:/opt/OpenFOAM> setenv FOAM_INST_DIR /data/app/OpenFOAM
BMH301562:/opt/OpenFOAM> foamDotFile=$FOAM_INST_DIR/OpenFOAM-2.2.1/etc/cshrc
foamDotFile=/data/app/OpenFOAM/OpenFOAM-2.2.1/etc/cshrc: Command not found.
BMH301562:/opt/OpenFOAM> if ( -f $foamDotFile ) source $foamDotFile
foamDotFile: Undefined variable.
BMH301562:/opt/OpenFOAM> if ( -f $foamDotFile ) source $foamDotFile
foamDotFile: Undefined variable.
BMH301562:/opt/OpenFOAM> exit
exit
abm5kor@BMH301562:/opt/OpenFOAM$ if ( -f $foamDotFile ) source $foamDotFile
bash: syntax error near unexpected token `source'
abm5kor@BMH301562:/opt/OpenFOAM$ ./Allwmake.
bash: ./Allwmake.: No such file or directory
abm5kor@BMH301562:/opt/OpenFOAM$ cd OpenFOAM-2.2.1/
abm5kor@BMH301562:/opt/OpenFOAM/OpenFOAM-2.2.1$ ./Allwmake
./Allwmake: 4: ./Allwmake: wmakeCheckPwd: not found
Error: Current directory is not $WM_PROJECT_DIR
The environment variables are inconsistent with the installation.
Check the OpenFOAM entries in your dot-files and source them.
abm5kor@BMH301562:/opt/OpenFOAM/OpenFOAM-2.2.1$ cd ..
abm5kor@BMH301562:/opt/OpenFOAM$ ls
OpenFOAM-2.2.1 OpenFOAM-2.2.1.tgz ThirdParty-2.2.1 ThirdParty-2.2.1.tgz
i don't know what should i do ......
SOS
need ur help
Thx:)
|