On 3/13/14, 11:14 AM, Sam Seaver wrote:
> 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 <mailto: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
>
>

What OS and compiler version?

Fink manages packages, not files.  There's no way to have it recognize 
arbitrary third party installs. You would have to create your own mock 
fftw package that overrides Fink's.

If you're using 10.9 or 10.8, you might want to try enabling the binary 
distribution, like I've suggested a couple of times on this list.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
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