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

Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory'

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 16, 2010, 16:34
Default Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory'
  #1
New Member
 
Miguel
Join Date: Jan 2010
Posts: 12
Rep Power: 16
mfiandor is on a distinguished road
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
mfiandor is offline   Reply With Quote

Old   January 19, 2010, 18:58
Default
  #2
New Member
 
Miguel
Join Date: Jan 2010
Posts: 12
Rep Power: 16
mfiandor is on a distinguished road
I answer myself. It was a newbie linux mistake:

Instead of:
Quote:
tar xzf <filename>
It's better to use:
sudo tar xzf <filename>
mfiandor is offline   Reply With Quote

Old   January 25, 2010, 10:50
Default
  #3
Member
 
Wolfram Kretzschmar
Join Date: Dec 2009
Posts: 71
Rep Power: 16
Wolle is on a distinguished road
Hi,

Quote:
Originally Posted by mfiandor View Post
It's better to use:
sudo tar xzf <filename>
I'm afraid: no, it is not.

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
Wolle is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
Problem installing OF 1.5 on Ubuntu 9.05 smart OpenFOAM Installation 18 August 10, 2009 20:12
wmake compiling Problem with OF1.5 openTom OpenFOAM Installation 4 May 3, 2009 15:44
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 12:46
PHI file structure Eugene Phoenics 9 November 2, 2001 23:00


All times are GMT -4. The time now is 06:53.