osdir.com
mailing list archive

Subject: Re: g77 error - msg#00117

List: os.apple.fink.devel

Date: Prev Next Index Thread: Prev Next Index
We should add these fixes to our autoconf packages and ALL broken fortran packages. It is legitimate to file bugs on all of them, since they do not work and it is fixable.

-Ben

On Friday, July 11, 2003, at 10:46 AM, jfm wrote:


On Friday, Jul 11, 2003, at 18:58 Europe/Brussels, wgscott@xxxxxxxxxxxxxxxxxx wrote:

This is an error I have gotten with either g77 3.1 or 3.3 if you upgrade to the developer tools patch that installs gcc 3.3. The only way I was able to get rid of this problem was to reinstall the December 2002 edition of the developer tools. Merely switching back to gcc 3.1 did not get rid of this problem. I tried reporting it before but ...

A slightly longer way ... :

1) in autoconf2.5, add the line

PatchScript: sed -i -r 's|^(\ *)(end]\))|\1call\ exit\n\1\2|g' lib/autoconf/fortran.m4

(and do a similar patch for extutils-f77 for a couple of perl-modules :
in F77.pm, add a line

print OUT " call exit\n";
right after the line :
print OUT " print *, 'Hello World'\n";
)

2) After rebuilding those 2, the configure stage in other builds should proceed normally,
provided you add, if necessary, in a PatchScript to run autoconf (or autoreconf (-f)) ,
and, if necessary, fix, before running autoconf, the .m4 files in the builddir. Thus, eg,

PatchScript: <<
sed -i -r 's|^(\ *)end$|\1call\ exit\n\1end|g' *.m4 m4/R.m4
autoconf
<<

3) As to the make proper, the following line is safe to add in the PatchScript, and will as far
as I know correct the problems in the sources :

egrep -r '^\ *(STOP|stop)$' *|grep '\.f:'|cut -f1 -d':'|xargs sed -i -r 's,^\ *(STOP|stop)$,&\ 999,g'

Best,

JF Mertens



-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
Fink-devel mailing list
Fink-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/fink-devel




-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1


Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Re: Re: Idea: embed patch in .info

On Friday, July 11, 2003, at 01:04 PM, Max Horn wrote: Personally, I am very much biased against this whole idea. But let's look at it rationally. I agree with max, i don't like this. If you want to embed a small patch in your info file, you can do it with PatchScript as many packages do.. -Ben ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1

Next Message by Date: click to view message preview

Re: g77 error [Forwarded from: jsw@xxxxxxxxxxxx]

On Sun, 13 Jul 2003, Ben Hines wrote: > We should add these fixes to our autoconf packages and ALL broken > fortran packages. It is legitimate to file bugs on all of them, since > they do not work and it is fixable. > > -Ben I would wait and see if it is fixed in the Panter Dev Tools. I'll bet you a beer it will be. Lots of things (not just fortran stuff) are broken with the Dec2002 Dev Tools "update". -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 NOAA/OAR/CDC R/CDC1 FAX : (303)497-6449 325 Broadway Web : http://www.cdc.noaa.gov/~jsw Boulder, CO, USA 80305-3328 Office: Skaggs Research Cntr 1D-124 ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1

Previous Message by Thread: click to view message preview

Re: g77 error

On Friday, Jul 11, 2003, at 18:58 Europe/Brussels, wgscott@xxxxxxxxxxxxxxxxxx wrote: This is an error I have gotten with either g77 3.1 or 3.3 if you upgrade to the developer tools patch that installs gcc 3.3. The only way I was able to get rid of this problem was to reinstall the December 2002 edition of the developer tools. Merely switching back to gcc 3.1 did not get rid of this problem. I tried reporting it before but ... A slightly longer way ... : 1) in autoconf2.5, add the line PatchScript: sed -i -r 's|^(\ *)(end]\))|\1call\ exit\n\1\2|g' lib/autoconf/fortran.m4 (and do a similar patch for extutils-f77 for a couple of perl-modules : in F77.pm, add a line print OUT " call exit\n"; right after the line : print OUT " print *, 'Hello World'\n"; ) 2) After rebuilding those 2, the configure stage in other builds should proceed normally, provided you add, if necessary, in a PatchScript to run autoconf (or autoreconf (-f)) , and, if necessary, fix, before running autoconf, the .m4 files in the builddir. Thus, eg, PatchScript: << sed -i -r 's|^(\ *)end$|\1call\ exit\n\1end|g' *.m4 m4/R.m4 autoconf << 3) As to the make proper, the following line is safe to add in the PatchScript, and will as far as I know correct the problems in the sources : egrep -r '^\ *(STOP|stop)$' *|grep '\.f:'|cut -f1 -d':'|xargs sed -i -r 's,^\ *(STOP|stop)$,&\ 999,g' Best, JF Mertens ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1

Next Message by Thread: click to view message preview

Re: g77 error [Forwarded from: jsw@xxxxxxxxxxxx]

On Sun, 13 Jul 2003, Ben Hines wrote: > We should add these fixes to our autoconf packages and ALL broken > fortran packages. It is legitimate to file bugs on all of them, since > they do not work and it is fixable. > > -Ben I would wait and see if it is fixed in the Panter Dev Tools. I'll bet you a beer it will be. Lots of things (not just fortran stuff) are broken with the Dec2002 Dev Tools "update". -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 NOAA/OAR/CDC R/CDC1 FAX : (303)497-6449 325 Broadway Web : http://www.cdc.noaa.gov/~jsw Boulder, CO, USA 80305-3328 Office: Skaggs Research Cntr 1D-124 ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by