Page 1 of 3 123 LastLast
Results 1 to 10 of 38

Thread: Installing Xfoil on Ubuntu

Hybrid View

  1. #1
    Join Date
    Oct 2006
    Location
    Napoli, Italy
    Beans
    178
    Distro
    Ubuntu 8.04 Hardy Heron

    Installing Xfoil on Ubuntu

    Anyone can tell me how to compile Xfoil on Ubuntu Dapper?
    Modifying Makefiles is a bit hard for a beginner
    Thank you...
    EDIT
    I was able to make a 32 bit deb package of Xfoil 6.97.
    Download it from the attachment and send me comments and suggestions!
    Updated Versions of my package are here:
    http://giuschet.altervista.org/Ubuntu/
    Here are the instructions for compiling it by yourself.
    Visit my blog too for news

    Instructions for making the 32 bit package work in a 64 bit environment (untill I'll release a 64 bit version)

    - Download the package and, in a terminal, in the same directory of the package:
    Code:
    sudo dpkg -i --force-architecture xfoil_6.97-1_i386.deb
    -Be sure you installed the 32 bit compatibility libraries (ia32-libs)

    -The program needs the 32 bit version of the libg2c0 library...download it from here.

    -In the same directory of the libg2c0 package open a terminal:
    Code:
    dpkg -x xfoil_6.97-1_i386.deb .
    sudo cp usr/lib/libg2c* /usr/lib32/
    rm -r usr
    -typing xfoil anywhere in the terminal should start the program
    Attached Files Attached Files
    Last edited by Icarosaurus; January 21st, 2009 at 02:10 AM. Reason: instructions for 64 bit

  2. #2
    Join Date
    Nov 2006
    Beans
    1

    Re: Installing Xfoil on Ubuntu

    yes I am experiencing the same result. The directions are not quite right or something.

    So far I have been attempting to follow directions in the readme files.

    As directed I went to the orr directory and corrected the neccesary files but when I did
    %make osgen but I am not sure it went correctly. Although I did not get an obvious error.
    Then I did the
    %make osmap.o but I am not sure anything happened.
    then out of frustration I just did
    %make instead of %make osgen and the normal process seemed to unfold on the screen.
    I then retried
    %make osmap.o and the msg was something like osmap.o is up to date

    once in the plotlib directory, I used
    %pwd results to edit the plotlib makefile plus I commented out the "include./config.make" line for better of worse at least the
    %make libPlt.a appeared to work.

    I ran XFOIL in the runs directory as suggested and it appeared to run.


    Could you post here if there is something you figured out I will do the same.

    Dan

  3. #3
    Join Date
    Jan 2005
    Location
    South Africa
    Beans
    178
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Installing Xfoil on Ubuntu

    i know nothing about xfoil but the first hit from google gave me:

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

    How to get xfoil running in Ubuntu (or probably any Debian variant)

    Download the code:
    http://raphael.mit.edu/xfoil/xfoil694.tar.gz

    Extract it to a convenient location. Follow the instructions in the README. You may run into the same issue I had during compiling:

    g77 -o xfoil xfoil.o xpanel.o xoper.o xtcam.o xgdes.o xqdes.o xmdes.o xsolve.o x bl.o xblsys.o xpol.o xplots.o xgeom.o xutils.o modify.o polplt.o aread.o naca.o spline.o plutil.o iopol.o gui.o sort.o dplot.o profil.o userio.o ../plotlib/libP lt.a -L/usr/X11R6/lib -lX11 -lblas-3
    /usr/bin/ld: cannot find -lblas-3
    collect2: ld returned 1 exit status
    make: *** [xfoil] Error 1

    This can be solved by installing the following packages (not exactly sure which one solved it, but I installed them all for good measure.)

    lapack3, lapack3-dev, lapack3-doc, refblas3, refblas3-dev, refblas3-doc

    The program should then compile with out any complaints. The executable will be located in your ./bin directory.

    ------------------------
    from

    http://noah-hicks.blogspot.com/

  4. #4
    Join Date
    Oct 2006
    Location
    Napoli, Italy
    Beans
    178
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Installing Xfoil on Ubuntu

    Oh...thank you guys for your posts, I'll try to compile Xfoil as soon as I can, following your suggestions.
    I hope our attempts will be useful to many others
    see you soon!

  5. #5
    Join Date
    Oct 2006
    Location
    Napoli, Italy
    Beans
    178
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Installing Xfoil on Ubuntu

    Hello, I managed to compile xfoil in single precision, just paying attention on the README.
    I'll write a little HOWTO and I hope to get the double precision version to work.
    Bye

  6. #6
    Join Date
    Oct 2006
    Location
    Napoli, Italy
    Beans
    178
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Installing Xfoil on Ubuntu

    Someone made the work for us.
    Here is Xfoil 6.96 in the form of a source package:
    http://www.scientificcomputing.net/d...ackages/xfoil/
    Here is how to install (most of these instructions are taken from the Xfoil mailing list):
    1) Install needed pakages (unfortunately, the list is not complete, please post for adding other packages)
    Code:
    sudo apt-get install fakeroot g77 debhelper build-essential xorg-dev
    2) Download all the files there and:
    Code:
    dpkg-source -x xfoil_6.96-1.dsc
    cd xfoil-6.96
    fakeroot debian/rules binary
    3)Install the package as usual
    Code:
    cd ..
    sudo dpkg -i  xfoil_6.96-1_i386.deb
    It's double precision.. thanks to http://www.scientificcomputing.net for great work.
    You can find other useful scientific software there.
    Regards...
    Last edited by Icarosaurus; November 21st, 2007 at 06:58 AM.

  7. #7
    Join Date
    Mar 2006
    Beans
    479
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Installing Xfoil on Ubuntu

    Horrendous!
    You also need to have the following packages
    g77, debhelper, build-essential, xorg-dev
    plus some others I may have forgotten about.
    Last edited by Blutack; November 20th, 2007 at 06:47 PM.

  8. #8
    Join Date
    Oct 2008
    Location
    Belgium
    Beans
    2
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Installing Xfoil on Ubuntu

    Quote Originally Posted by Icarosaurus View Post
    Someone made the work for us.
    Here is Xfoil 6.96 in the form of a source package:
    http://www.scientificcomputing.net/d...ackages/xfoil/

    [snip]
    Unfortunately, this link doesn't seems to still answer.
    I would also like to rebuild Xfoil but for another platform (ppc64 or parisc: nothing else available).
    If ever you could post (or put on your home page) diff and dsc files, it would be of great additional help.

    Tia,
    r.

  9. #9
    Join Date
    Oct 2006
    Location
    Napoli, Italy
    Beans
    178
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Installing Xfoil on Ubuntu

    I'm sorry... I compiled Xfoil from source and i made the package.
    I didn't produce any .diff or .src and I can't find the files downloaded from that site.

    I know, I should post detailed instructions on how to compile and modifying the Makefile, for helping you all in compiling for different architectures. My fault.

  10. #10
    Join Date
    Oct 2008
    Location
    Belgium
    Beans
    2
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Installing Xfoil on Ubuntu

    Quote Originally Posted by Icarosaurus View Post
    I'm sorry... I compiled Xfoil from source and i made the package.
    I didn't produce any .diff or .src and I can't find the files downloaded from that site.
    No pb, I was just hopping somebody have a copy somewhere in a corner of its hd

    Quote Originally Posted by Icarosaurus View Post
    I know, I should post detailed instructions on how to compile and modifying the Makefile, for helping you all in compiling for different architectures. My fault.
    Don't worry, Gentoo stuff are available around that, it's just hard to me to build a deb pkg???

    Thanks again for your kind attention,
    r.

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •