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

Compiling problems with hello worldC

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 6, 2008, 06:26
Default Hi Dragos, i tried to insta
  #21
Member
 
feng wang
Join Date: Mar 2009
Posts: 67
Rep Power: 17
fw407 is on a distinguished road
Hi Dragos,

i tried to install g++, but got errors

E:/var/cache/apttried to/archives/libc6-dev_2.6.1-1ubuntu10_i386.deb: trying to overwrite `/usr/lib/libanl.a', which is also in package glibc-devel

i typed "which g++"&"g++ -v" into termianal

fw407@fw407-laptop:~$ which g++
/usr/bin/g++
fw407@fw407-laptop:~$ g++ -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)

it seems that everything was all right except "--libexecdir=/usr/lib --without-included-gettext'

And there was one mroe thing which was very werid that after i installed g++, the folder of OpenFoam was automatically removed

All the best

Feng
fw407 is offline   Reply With Quote

Old   January 6, 2008, 17:38
Default i re-install ubuntu .first i i
  #22
Member
 
feng wang
Join Date: Mar 2009
Posts: 67
Rep Power: 17
fw407 is on a distinguished road
i re-install ubuntu .first i install g++ ,after that i follow the steps on the website about the installation of openFoam, then everything is ok!

it seems i do not need a glibc-dev ,which conflicts with the g++ of the systems and cause the errors i post above.


feng
fw407 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
[OpenFOAM.com] Compiling problems chris1980 OpenFOAM Installation 8 June 3, 2015 15:41
Problems with compiling roberthino OpenFOAM Installation 3 March 17, 2008 04:04
Problems compiling under 14 grtabor OpenFOAM Running, Solving & CFD 9 July 17, 2007 22:34
Problems on Compiling UDF in FLUENT Strawberi-KeatKeat FLUENT 1 October 4, 2006 01:50
Problems with compiling CFD code! ravi Main CFD Forum 1 July 12, 2004 11:28


All times are GMT -4. The time now is 08:29.