Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi...
i have downloaded the tar.gz file of g77 fortran compiler. can someone tell me how to install it?
the reason was to get xfoil working...so if someone can help me with that too, that would be great.
Thanks
actually i have gcc 4.1.1..gcc-fortran
but when i put it into the config.make file of Xfoil, it still doesnt work. ANyone know how to get xfoil to work?
tar -zxvf <package_name>.tar.gz
./configure
make
make install
That should get it installed. you might want to check out all the options configure has.
Should think you have to go into the directory the thing's in before you do the above - the directory with 'configure' in it. what happens when you do the above?
sorry for the delay.
i gave up on trying to put g77 on...so for xfoil, i put gfortran for my FC. it sorta worked but i think i changed too many things so im gonna install it again and see what happens. Ill let you know if it did.
THanks for your help. Ill keep what you said in mind.
well...i left xfoil for along while..but then decided i needed it.
SO i got as far as make xfoil using gfortran.(added the flag -ff2c so it is compatible with f77 code)..this is when it says this:
../plotlib/libPltDP.a(ps_subs.o): In function `bitpat_':
ps_subs.f.text+0x78): undefined reference to `rshift_'
ps_subs.f.text+0xf9): undefined reference to `rshift_'
collect2: ld returned 1 exit status
make: *** [xfoil] Error 1
This is what the ps_sub.f file (the required portion) says:
c--- Shift the mask until the low order bit is 1 to start...
imask = mask
do n = 1, 16
ibitold = and(1,imask)
if(ibitold.NE.0) go to 5
nshft = n
imask = rshift(imask,1)
end do
c
5 nout = 0
if(nshft.GE.16) return
nbits = 0
c
anyone know how or what to do?i cant find anything on google.
### Uncomment for f77 compiler w/o AND() and RSHIFT/LSHIFT functions.
### This adds some functions to duplicate these using IAND and ISHFT
### which often appear in these offending fortran's libraries.
### The compilers that this has affected include:
### HPUX f77
### Absoft f77 on Linux
###
#OBJMISC = util-ops.o
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.