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

missing lnInclude files on gentoo ebuild installation

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 19, 2009, 17:35
Default missing lnInclude files on gentoo ebuild installation
  #1
New Member
 
Join Date: Jun 2009
Posts: 3
Rep Power: 8
BlGene is on a distinguished road
I have installed openfoam on gentoo using the openfoam-1.5 ebuild. When I try to compile openfoam user libraries such as groovyBC the compile fails (see here ).

Im guessing this is because the compiler is looking for, and not finding, lnInclude files in the source tree, is this correct?

If the lnInclude files are the missing link what is the easiest way to get them on a gentoo system?
BlGene is offline   Reply With Quote

Old   June 22, 2009, 03:59
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.io/
Posts: 777
Rep Power: 18
olesen will become famous soon enough
Quote:
Originally Posted by BlGene View Post
If the lnInclude files are the missing link what is the easiest way to get them on a gentoo system?
If all else fails, this might do the trick:
Code:
# default is pwd
if [ "$#" -eq 0 ]
then
    set -- .
elif [ "$1" = "-h" -o "$1" = "-help" ]
then
    echo "Usage: ${0##*/} [dir1] .. [dirN]"
    echo
    echo "    Find directories containing a Make/ directory and"
    echo "    execute 'wmakeLnInclude -f' for each one"
    echo
    exit 1
fi
 
for checkDir
do
    if [ -d $checkDir ]
    then
        echo "searching: $checkDir for 'Make' directories"
    else
        echo "skipping non-dir: $checkDir"
        continue
    fi
 
    find $checkDir -depth -type d -name Make -print | while read dir
    do
        dir=${dir%/Make}    # trim /Make directory from the end
        if [ -d "$dir" ]
        then
            wmakeLnInclude -f $dir
        fi
    done
done

Something similar should be in a future release as 'wmakeLnIncludeAll'.
olesen is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 08:21
OpenFOAM15 paraFoam bug koen OpenFOAM Bugs 19 June 30, 2009 10:46
Monitor Files Missing Forrest FLUENT 3 March 24, 2009 17:11
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 20:51


All times are GMT -4. The time now is 18:48.