Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory'
Hi all,
i'm having several errors installing OpenFOam 1.6 in ubuntu 9.10 in my laptop within a virtual image. I've downloaded all the required files plus Qt, and I also experience the same errors installing Qt in the tmp folder that i created. Both error messages (OF 1.6 and Qt 4.3.5) are below: tar: OpenFOAM-1.6/applications/test/PtrList/Make/files: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/PtrList/Make/options: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/PtrList/PtrListTest.C: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/Gstream/Make/files: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/Gstream/Make/options: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/Gstream/GsTest.C: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/dictionary/testDict2: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/dictionary/dictionaryTest.C: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/dictionary/testDict: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/dictionary/Make/files: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/dictionary/Make/options: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/dictionary/testDictInc: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/dictionary/calcEntry/calcEntry.H: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/dictionary/calcEntry/calcEntry.C: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/dictionary/value: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/dictionary/testDictRegex: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/dataEntry/files: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/dataEntry/Make/files: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/dataEntry/Make/options: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/dataEntry/testDataEntry.C: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/foamVersion/foamVersionString.C: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/foamVersion/Make/files: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/foamVersion/Make/options: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/sha1/Make/files: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/sha1/Make/options: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/sha1/testSHA1.C: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/HashingSpeed/Make/files: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/HashingSpeed/Make/options: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/HashingSpeed/testHashingSpeed.C: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/HashPtrTable/hashPtrTableTest.C: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/HashPtrTable/Make/files: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/HashPtrTable/Make/options: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/prefixOSstream/Make/files: Cannot open: No such file or directory tar: OpenFOAM-1.6/applications/test/prefixOSstream/Make/options: Cannot open: No such file or directory tar: qt-x11-opensource-src-4.3.5/translations/qvfb_pl.qm: Cannot open: No such file or directory qt-x11-opensource-src-4.3.5/translations/qvfb_pl.ts tar: qt-x11-opensource-src-4.3.5/translations/qvfb_pl.ts: Cannot open: No such file or directory qt-x11-opensource-src-4.3.5/translations/qvfb_untranslated.ts tar: qt-x11-opensource-src-4.3.5/translations/qvfb_untranslated.ts: Cannot open: No such file or directory qt-x11-opensource-src-4.3.5/translations/qvfb_zh_CN.qm tar: qt-x11-opensource-src-4.3.5/translations/qvfb_zh_CN.qm: Cannot open: No such file or directory qt-x11-opensource-src-4.3.5/translations/qvfb_zh_CN.ts tar: qt-x11-opensource-src-4.3.5/translations/qvfb_zh_CN.ts: Cannot open: No such file or directory qt-x11-opensource-src-4.3.5/translations/qvfb_zh_TW.qm tar: qt-x11-opensource-src-4.3.5/translations/qvfb_zh_TW.qm: Cannot open: No such file or directory qt-x11-opensource-src-4.3.5/translations/qvfb_zh_TW.ts tar: qt-x11-opensource-src-4.3.5/translations/qvfb_zh_TW.ts: Cannot open: No such file or directory qt-x11-opensource-src-4.3.5/.tag tar: qt-x11-opensource-src-4.3.5/.tag: Cannot open: No such file or directory tar: Exiting with failure status due to previous errors I've just included part of the output errors, because the list is huge. I am very newbie on linux so I have no idea what this error means, hence any help is very welcome :) |
I answer myself. It was a newbie linux mistake:
Instead of: Quote:
sudo tar xzf <filename> |
Hi,
Quote:
Instead of using the sudo command, you should use the given commands. If something fails, it's probably because you try to install OF in a directory, where you aren't allowed to read/write/execute files. Obtain some information on the classic Linux directory structure and retry. The best way is to install OF (and the like) in your personal home directory, also when logged in with your personal user account. From my experience with several other "special" applications, using the sudo command as a "universal cure" (which is typical for former Windows users (I did that too)) produces even more sources of errors and frustration later on... Cheers Wolle |
All times are GMT -4. The time now is 21:32. |