On 4/29/13 7:21 AM, Michael Knoelker wrote:
> Here it is.
> Thanks
> M.
>
> On 4/29/13 8:02 AM, Alexander Hansen wrote:
>> On 4/29/13 3:08 AM, Michael Knoelker wrote:
>>> Hi
>>>
>>> I am stuck trying to install gdl which requires installing netcdf7.
>>> I am using a Macbook Pro 10,1 with OSX 10.8.3 and Xcode 4.6.2
>>> I am attaching the gzipped printout of the install output of the netcd7
>>> attempt. I am using standard fink install ...commands Hope my
>>> description suffices.
>>>
>>> Thank you very much in advance if you can help.
>>>
>>> M.
>>
>> Here's a summary of the problem.  Your build isn't generating shared
>> libraries for some reason:
>>
>> checking if libtool supports shared libraries... no
>> checking whether to build shared libraries... no
>> checking whether to build static libraries... yes
>> libtool.m4: error: problem compiling FC test program
>>
>> ...
>>
>> /bin/mv
>> /sw/src/fink.build/root-netcdf7-4.1.3-10/sw/opt/netcdf7/lib/libnetcdf.*.dylib
>>
>> /sw/src/fink.build/root-netcdf7-shlibs-4.1.3-10/sw/opt/netcdf7/lib/
>> mv: rename
>> /sw/src/fink.build/root-netcdf7-4.1.3-10/sw/opt/netcdf7/lib/libnetcdf.*.dylib
>>
>> to
>> /sw/src/fink.build/root-netcdf7-shlibs-4.1.3-10/sw/opt/netcdf7/lib/libnetcdf.*.dylib:
>>
>> No such file or directory
>>
>> Can you send me (off-list) your
>> /sw/src/fink.build/netcdf7-4.1.3-10/netcdf-4.1.3/config.log file?

OK, I found the following:

configure:6437: finding Fortran compiler (will not be used if Fortran 
API is not desired)
configure:6492: checking for gfortran
configure:6508: found /usr/bin/gfortran
configure:6519: result: gfortran
configure:6545: checking for Fortran compiler version
configure:6554: gfortran --version >&5
GNU Fortran (GCC) 4.6.0 20101106 (experimental)
Copyright (C) 2010 Free Software Foundation, Inc.

GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING

configure:6565: $? = 0
configure:6554: gfortran -v >&5
Using built-in specs.
COLLECT_GCC=gfortran
Target: x86_64-apple-darwin10.4.0
Configured with: ../gcc-4.6-20101106/configure --enable-languages=fortran
Thread model: posix
gcc version 4.6.0 20101106 (experimental) (GCC)
configure:6565: $? = 0
configure:6554: gfortran -V >&5
gfortran: error: unrecognized option '-V'
gfortran: fatal error: no input files
compilation terminated.
configure:6565: $? = 1
configure:6554: gfortran -qversion >&5
gfortran: error: unrecognized option '-qversion'
gfortran: fatal error: no input files
compilation terminated.
configure:6565: $? = 1
configure:6574: checking whether we are using the GNU Fortran compiler
configure:6587: gfortran -c   conftest.F >&5
gfortran: error trying to exec 'f951': execvp: No such file or directory

...

configure:18840: checking for gfortran option to produce PIC
configure:18847: result:
configure:18913: checking if gfortran static flag  works
configure:18941: result: no
configure:18953: checking if gfortran supports -c -o file.o
configure:18974: gfortran -c  -o out/conftest2.o conftest.f >&5
gfortran: error trying to exec 'f951': execvp: No such file or directory
configure:18978: $? = 1
configure:19000: result: no
configure:19005: checking if gfortran supports -c -o file.o
configure:19052: result: no
configure:19082: checking whether the gfortran linker (/usr/bin/ld) 
supports shared libraries
configure:20190: result: no
configure:20333: checking dynamic linker characteristics
configure:20997: result: darwin12.3.0 dyld
configure:21050: checking how to hardcode library paths into programs
configure:21075: result: immediate
configure:21220: checking if libtool supports shared libraries
configure:21222: result: no
configure:21225: checking whether to build shared libraries
configure:21245: result: no

The lack of f951 suggests to me that this gfortran installation is 
incomplete somehow.  Unfortunately, the netCDF configuration process has 
decided that this means not to use shared libraries.

I would suggest  renaming your /usr/bin/gfortran to something else, at 
least temporarily, so that netcdf7 doesn't find it.  Or perhaps get rid 
of it altogether, since you appear also to have fink's gcc47 installed.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to