On 05/01/2010, at 02:43, Niloufar Faghihi wrote:
> I am trying to install fftw on my machine:
>
> System Version:       Mac OS X 10.6.2 (10C540)
>
> i use fink install fftw (fink version: 0.29.10), and here is how it  
> starts:
>
> "The following package will be installed or updated:
>  fftw
> The following 3 additional packages will be installed:
>  fftw-shlibs gcc44 gcc44-shlibs
(...)
> and finally after many warnings and tasks it says:
>
> "collect2: ld returned 1 exit status
> make[6]: *** [libjavamath.la] Error 1
> make[5]: *** [all-recursive] Error 1
> make[4]: *** [all-recursive] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-target-libjava] Error 2
> make: *** [all] Error 2
> ### execution of /var/tmp/tmp.1.mTwRYf failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-gcc44-4.4.2-1000
> (Reading database ... 7371 files and directories currently installed.)
> Removing fink-buildlock-gcc44-4.4.2-1000 ...
> Failed: phase compiling: gcc44-4.4.2-1000 failed"
>
> seems to be a serious problem.
> I have used fink to install other packages like nedit and xemacs  
> without any problem.
> I just wonder if it is related to gfrortran (GNU Fortran (GCC)  
> 4.4.1) which I have already downloaded it from sourseforge and  
> installed it separately and
> it is working well.
> how can i solve the problem?

Hello, Niloufar. Unfortunately you haven't pasted the actual errors  
that provide useful information. Look at the log again and start  
copying it from the last line that doesn't look like an error up to  
the line that says 'Failed: phase compiling: gcc44-4.4.2-1000 failed'.

That said, the log shows that the error isn't in fftw itself but in  
gcc44 instead. gcc44 is a Fink package that installs gfortran, so you  
don't need to install gfortran from other sources (e.g. SourceForge).  
It could be the case that this other gfortran you've installed is  
confusing Fink during the gcc44 build. Try moving it out of the way  
whilst installing fftw and gcc44. Also, some files installed by users  
under /usr/local are known to interfere with Fink's gcc44 build -- try  
renaming /usr/local temporarily as explained in the page below.

http://www.finkproject.org/faq/comp-general.php?phpLang=en#usr-local-libs


Cheers,

--
monipol
http://finkers.wordpress.com

Submitting a Fink bug report? Read this:
http://www.finkproject.org/doc/netiquette/index.php
http://finkers.wordpress.com/2009/06/03/bug-reports/


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to