Ben Abbott wrote: > > On May 5, 2009, at 7:31 AM, Alexander Hansen wrote: > >> Ben Abbott wrote: >>> I upgraded to gcc44 this week. Now I'm unable to build the developers >>> sources for Octave. >>> >>> ... >>> checking whether we are using the GNU Fortran 77 compiler... yes >>> checking whether /sw/bin/gfortran accepts -g... yes >>> checking how to get verbose linking output from /sw/bin/gfortran... -v >>> checking for Fortran 77 libraries of /sw/bin/gfortran... /sw/lib/ >>> gcc4.3/lib/libgfortran.dylib >>> checking for dummy main to link with Fortran 77 libraries... unknown >>> configure: error: in `/Users/bpabbott/Development/mercurial/ >>> local_clone': >>> configure: error: linking to Fortran libraries from C fails >>> See `config.log' for more details. >>> make[1]: *** [config.status] Error 1 >>> make: *** [clean] Error 2 >>> >>> bens-macbook-2:~/Development/mercurial/local_clone bpabbott$ gfortran >>> --version >>> GNU Fortran (GCC) 4.4.0 >>> Copyright (C) 2009 Free Software Foundation, Inc. >>> >>> After downgrading to gcc43, autogen/configure/make ran without error. >>> >>> It appears that gcc 4.4 is trying to link to the 4.3 libgfortran. Is >>> this a packaging problem for gcc44 or might it be a problem with >>> Octave's configure script? >>> >>> Ben >>> >> Without seeing the config.log there's no way to tell. >> Fink's octave in current/unstable uses gcc44 now, so I'm not so inclined >> to think that gcc44's packaging is the problem. >> > > I have gcc44, gcc43 and gcc42 libs. Since the gcc 4.2 wasn't a problem > for 4.3, I went back and looked at what *I* was doing and found a > mistake on my end. > > I had explicitly set FLIBS=/sw/lib/gcc4.3/lib/libgfortran.dylib. > > Sorry for the trouble. > > Ben > Ah, yeah, that'd do it. Fink's Octave sets that explicitly, too.
-- Alexander Hansen Fink User Liaison ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
