So,  just today, I tried installing fftw via fink.

I got a clang error:

clang: error: unknown argument: '-fschedule-insns2'
[-Wunused-command-line-argument-hard-error-in-future]

I googled about this, and tried using the CFLAGS,CPPFLAGS,CXXFLAGS, and
ARCHFLAGS environment variables to use the
-Wunused-command-line-argument-hard-error-in-future warning to prevent the
error from repeating itself, but this wouldn't work, even if I went into
the fftw source directory and ran configure directly.

So, instead, I commented out the parts of the files that add the
-fschedule-insns2 and -fno-schedule-insns2 flags (in configure, aclocal.m4,
and acinclude.m4).

I was able to run configure, make and make all cleanly after that, but only
directly within the source directory.  I wanted to get fink to recognize
the newly installed fftw because i need the dependency for another package.
 But fink would keep trying to re-install fftw.

So what I did was I went into the original tar file, expanded it, made the
same errors, re-tarred it, and ran 'fink install fftw' again.  It
recognized that the chksum was different but I forced it to use the
modified tar file anyway.  Nevertheless, the same error popped up again,
even though, and I checked, the files in the source directory had the
appropriate lines commented out.

I'm now at a loss as to what to do.  Is there an easy way to tell fink that
a certain package was installed by hand?

Thanks
Sam

-- 
Postdoctoral Fellow
Mathematics and Computer Science Division
Argonne National Laboratory
9700 S. Cass Avenue
Argonne, IL 60439

http://www.linkedin.com/pub/sam-seaver/0/412/168
samsea...@gmail.com
(773) 796-7144

"We shall not cease from exploration
And the end of all our exploring
Will be to arrive where we started
And know the place for the first time."
   --T. S. Eliot
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to