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

Problems compiling OpenFOAM15 on Debian Etch

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 5, 2009, 14:02
Default I'm getting several errors whe
  #1
New Member
 
Geoff Johnson
Join Date: Mar 2009
Location: Burnaby, BC, Canada
Posts: 11
Rep Power: 17
geoffjay is on a distinguished road
I'm getting several errors when I try to run ./Allwmake, I'll post the tail of the output but first I'll mention how I set things up.

mpfr - compiled/installed using --prefix=/usr
gcc-4.3.1 - configured using:
../configure --exec-prefix=/opt/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64 --enable-languages=c,c++ --enable-shared --disable-multilib

foamSystemCheck passes and if I source etc/bashrc I don't get any warnings/errors

Here's part of the output for ./Allwmake:

------------------------------

/opt/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/OSstream.H:160: error: expected ';' before 'flags'
In file included from /opt/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/OSstream.H:194,
from /opt/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/messageStream.H:223,
from /opt/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/error.H:52,
from /opt/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/UListI.H:27,
from /opt/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/UList.H:302,
from /opt/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/List.H:44,
from /opt/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/labelList.H:37,
from /opt/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/stringList.H:37,
from /opt/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/argList.H:72,
from reconstructParMesh.C:41:
/opt/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/OSstreamI.H:33: error: expected `)' before '&' token
make[2]: *** [Make/linux64GccDPOpt/reconstructParMesh.o] Error 1
make[2]: Target `/opt/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/reconstructParMesh' not remade because of errors.
make[2]: Leaving directory `/opt/OpenFOAM/OpenFOAM-1.5/applications/utilities/parallelProcessing/reconstruc tParMesh'
make[1]: *** [reconstructParMesh] Error 2
make[1]: Target `application' not remade because of errors.
make[1]: Leaving directory `/opt/OpenFOAM/OpenFOAM-1.5/applications/utilities/parallelProcessing'
make: *** [parallelProcessing] Error 2
make: Target `application' not remade because of errors.
+ '[' '' = doc ']'

------------------------------

Is it necessary to configure mpfr to be in the ThirdParty directory? Did I mess up my gcc config line? I have full instructions on getting to the point I'm at so if anyone is willing to help and would like to see I can post them.

Thanks in advance.
geoffjay is offline   Reply With Quote

Old   February 5, 2009, 17:29
Default Sorry for littering the messag
  #2
New Member
 
Geoff Johnson
Join Date: Mar 2009
Location: Burnaby, BC, Canada
Posts: 11
Rep Power: 17
geoffjay is on a distinguished road
Sorry for littering the message board with this, it turned out that I just had to add the paths for mpfr and gmp to LD_LIBRARY_PATH. I wish there was some way to delete posts that you've made in this forum.
geoffjay is offline   Reply With Quote

Reply


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
Problems while compiling OpenFOAM15 with OpenSuse 103 coompressor OpenFOAM Installation 3 November 7, 2008 01:57
Compiling Problem on Debian besto OpenFOAM Installation 8 August 13, 2008 16:29
Problems with compiling roberthino OpenFOAM Installation 3 March 17, 2008 05:04
OpenFOAM Debian packaging current status problems and TODOs oseen OpenFOAM Installation 9 August 26, 2007 14:50
Trouble compiling on Debian Etch jkr OpenFOAM Installation 2 April 14, 2006 15:56


All times are GMT -4. The time now is 02:42.