CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   question about installing Openfoam 1.6-ext (https://www.cfd-online.com/Forums/openfoam-installation/126198-question-about-installing-openfoam-1-6-ext.html)

Haotian November 10, 2013 20:25

question about installing Openfoam 1.6-ext
 
Hello, guys

I'm planning install Openfoam 1.6-ext on my computer windows 7. I installed VMplayer and Ubuntu 12.04 (i386). But when I Allmake.stage3 in third party, it give me the errors.

Code:

Package name      : libccmio-2.6.1
Package URL      : http://portal.nersc.gov/svn/visit/ta...o-2.6.1.tar.gz
RPM spec file name: libccmio-2.6.1.spec
Additional flags  :
Updating the ThirdParty environment variables before building package libccmio-2.6.1
Making package libccmio-2.6.1 using RPM.
Building package libccmio-2.6.1 using SPEC file : libccmio-2.6.1.spec. Optional args:
Executing(%prep): /bin/sh -e /home/wanghaotian0822/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/tmp/rpm-tmp.KEBvWP
+ umask 022
+ cd /home/wanghaotian0822/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD
+ cd /home/wanghaotian0822/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD
+ rm -rf libccmio-2.6.1
+ /bin/tar -xf -
+ /bin/gzip -dc /home/wanghaotian0822/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/SOURCES/libccmio-2.6.1.tar.gz
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd libccmio-2.6.1
+ echo Patch #0 (libccmio-2.6.1.patch_0):
Patch #0 (libccmio-2.6.1.patch_0):
+ /usr/bin/patch -s -p1 --fuzz=0
+ /bin/cat /home/wanghaotian0822/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/SOURCES/libccmio-2.6.1.patch_0
+ exit 0
Executing(%build): /bin/sh -e /home/wanghaotian0822/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/tmp/rpm-tmp.hwg61Q
+ umask 022
+ cd /home/wanghaotian0822/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD
+ cd libccmio-2.6.1
+ [ -n gcc ]
+ export CC=gcc
+ [ -n g++ ]
+ export CXX=g++
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -z 4 ]
+ unset RELEASE
+ unset DEBUG
+ unset STATIC
+ unset SHARED
+ [ -d libadf ]
+ cd libadf
+ RELEASE=1 SHARED=1 make -f Makefile.qmake all
..//config/runqmake ../ \
      -o Makefile.adf adf.pro 2>&1 | tee qmake.vars
..//config/runqmake: line 47: /home/wanghaotian0822/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/libccmio-2.6.1/libadf/..//config/unknown/qmake: No such file or directory
make[1]: Entering directory `/home/wanghaotian0822/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/libccmio-2.6.1/libadf'
make[1]: *** No rule to make target `/u/xeona04/people/prewett/src/libccmio/config/linux64_2.4-x86-glibc_2.2.5/qmake.conf', needed by `Makefile.adf'.  Stop.
make[1]: Leaving directory `/home/wanghaotian0822/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/libccmio-2.6.1/libadf'
make: *** [all] Error 2
error: Bad exit status from /home/wanghaotian0822/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/tmp/rpm-tmp.hwg61Q (%build)


RPM build errors:
    Bad exit status from /home/wanghaotian0822/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/tmp/rpm-tmp.hwg61Q (%build)
Installing package: libccmio-2.6.1
  Uninstalling libccmio-2.6.1 using RPM: libccmio-2.6.1-linuxGcc46DPOpt.i386
  Installing libccmio-2.6.1 using RPM file: /home/wanghaotian0822/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS/i386/libccmio-2.6.1-linuxGcc46DPOpt.i386.rpm
error: open of /home/wanghaotian0822/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS/i386/libccmio-2.6.1-linuxGcc46DPOpt.i386.rpm failed: No such file or directory
Done installing package

Do you have any ideas about that?

Thank you.

wyldckat November 15, 2013 15:59

Greetings Haotian,

The error indicates that qmake is missing. If I'm not mistaken, you can install it by running:
Code:

sudo apt-get install libqt4-dev
By the way, which installation instructions are you following?

Best regards,
Bruno

Haotian November 17, 2013 18:47

Thank you Bruno. I just update the Ubuntu to 12.04 x86, and it works for the openfoam 1.6-ext.

Haotian


All times are GMT -4. The time now is 07:17.