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

missing lnInclude files on gentoo ebuild installation

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 19, 2009, 18:35
Default missing lnInclude files on gentoo ebuild installation
  #1
New Member
 
Join Date: Jun 2009
Posts: 3
Rep Power: 17
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, 04:59
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
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 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
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 11:46
Monitor Files Missing Forrest FLUENT 3 March 24, 2009 17:11
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 21:51


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