Dear Kurt and Fink Users,

I followed Alex’s suggestion and used pre-build binaries (after adding deb 
http://bindist.finkproject.org/10.10 stable main to my search tree.)

Everything (including HDF4, gfortran) works fine.

Back compiling again in MacOS 10.10...

Gratefully,

Mike


> On Nov 6, 2014, at 12:05 PM, Kurt Schwehr <kurtschw...@yahoo.com> wrote:
> 
> Hdf4 is a serious PITA. I have patches available for the HDFgroup to grab 
> from here https://github.com/schwehr/hdf4. However, the response I got from 
> them was that they don't have eng time available to take patches on hdf4
> 
> Sent from my iPhone
> 
>> On Nov 5, 2014, at 3:16 PM, Michael Mauel <m...@columbia.edu> wrote:
>> 
>> Dear Alex and Kurt,
>> 
>> Suggested temporary fix to build HDF library failed because of a failure 
>> with a dependent package
>> 
>> locale-gettext-pm5182
>> 
>> I put the error message below, and the full install script as a text 
>> attachment.
>> 
>> Grateful for all of your work w FINK
>> 
>> Mike
>> 
>> —— Error building HDF in MacOS 10.10 (using A Hansen’s gcc48—>gcc49 
>> redefine.) —————  
>> 
>> Setting runtime build-lock...
>> dpkg-deb -b 
>> /sw/src/fink.build/root-fink-buildlock-locale-gettext-pm5182-1.05-3 
>> /sw/src/fink.build
>> dpkg-deb: building package `fink-buildlock-locale-gettext-pm5182-1.05-3' in 
>> `/sw/src/fink.build/fink-buildlock-locale-gettext-pm5182-1.05-3_2014.11.05-18.08.28_darwin-x86_64.deb'.
>> Installing build-lock package...
>> /sw/bin/dpkg-lockwait -i 
>> /sw/src/fink.build/fink-buildlock-locale-gettext-pm5182-1.05-3_2014.11.05-18.08.28_darwin-x86_64.deb
>> Selecting previously deselected package 
>> fink-buildlock-locale-gettext-pm5182-1.05-3.
>> (Reading database ... 6823 files and directories currently installed.)
>> Unpacking fink-buildlock-locale-gettext-pm5182-1.05-3 (from 
>> .../fink-buildlock-locale-gettext-pm5182-1.05-3_2014.11.05-18.08.28_darwin-x86_64.deb)
>>  ...
>> Setting up fink-buildlock-locale-gettext-pm5182-1.05-3 (2014.11.05-18.08.28) 
>> ...
>> 
>> sudo -u fink-bld [ENV] sh -c /tmp/fink.Gfcye
>> env LANG=C LC_ALL=C /sw/bin/tar  --no-same-owner --no-same-permissions -xf 
>> /sw/src/locale-gettext-pm-1.05.tar.gz
>> sudo -u fink-bld [ENV] sh -c /tmp/fink.khHJU
>> [ -r 
>> /sw/fink/dists/stable/main/finkinfo/libs/perlmods/locale-gettext-pm.patch ]
>> sudo -u fink-bld [ENV] sh -c /tmp/fink.tTnw7
>> patch -p1 < 
>> /sw/fink/dists/stable/main/finkinfo/libs/perlmods/locale-gettext-pm.patch
>> patching file Makefile.PL
>> sudo -u fink-bld [ENV] sh -c /tmp/fink.pVxWh
>> if [ -e /usr/local/lib/libintl.a -o -e /usr/local/lib/libintl.dylib ]; then 
>> echo "locale-gettext-pm5182 often builds incorrectly if 
>> /usr/local/lib/libintl.*"; echo "exists. Please move aside /usr/local and 
>> try again."; exit 1; fi
>> locale-gettext-pm5182 often builds incorrectly if /usr/local/lib/libintl.*
>> exists. Please move aside /usr/local and try again.
>> ### execution of if failed, exit code 1
>> ### execution of /tmp/fink.pVxWh failed, exit code 1
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /sw/bin/dpkg-lockwait -r fink-buildlock-locale-gettext-pm5182-1.05-3
>> (Reading database ... 6824 files and directories currently installed.)
>> Removing fink-buildlock-locale-gettext-pm5182-1.05-3 ...
>> Updating the list of locally available binary packages.
>> Scanning dists/stable/main/binary-darwin-x86_64
>> New package: 
>> dists/stable/main/binary-darwin-x86_64/graphics/libjpeg-bin_6b-19_darwin-x86_64.deb
>> New package: 
>> dists/stable/main/binary-darwin-x86_64/graphics/libjpeg-shlibs_6b-19_darwin-x86_64.deb
>> New package: 
>> dists/stable/main/binary-darwin-x86_64/graphics/libjpeg_6b-19_darwin-x86_64.deb
>> Failed: phase compiling: locale-gettext-pm5182-1.05-3 failed
>> 
>> Before reporting any errors, please run "fink selfupdate" and try again.
>> 
>> Full build script:
>> 
>> <install hdf errors.txt>
>> 
>>> On Nov 5, 2014, at 5:28 PM, Alexander Hansen <alexanderk.han...@gmail.com> 
>>> wrote:
>>> 
>>> Forwarding this onto the list, too.
>>> 
>>>> On Nov 5, 2014, at 10:35 AM, Michael Mauel <m...@columbia.edu> wrote:
>>>> 
>>>> Dear Kurt,
>>>> 
>>>> I’m writing you because I believe that you’re the maintainer of HDF in 
>>>> Fink.
>>>> 
>>>> Fink searches for gcc48, but gcc49 is used for MacOS 10.10
>>>> 
>>>> I still use HDF for some older code, and it would be great to get it 
>>>> running again in v10.10
>>>> 
>>>> Sincerely,
>>>> 
>>>> Mike Mauel
>>>> 
>>>> mem4:~ mauel$ fink install hdf
>>>> Information about 10061 packages read in 1 seconds.
>>>> Can't resolve dependency "gcc48" for package "hdf-4.2r4-1003" (no matching
>>>> packages/versions found)
>>>> Exiting with failure.
>>>> 
>>>> mem4:~ mauel$ gcc --version
>>>> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr 
>>>> --with-gxx-include-dir=/usr/include/c++/4.2.1
>>>> Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
>>>> Target: x86_64-apple-darwin14.0.0
>>>> Thread model: posix
>>>> 
>>>> mem4:~ mauel$ fink list gcc
>>>> Information about 10061 packages read in 0 seconds.
>>>>  avr-gcc            4.8.3-1        GNU GCC for ATMEL AVR micro controllers
>>>>  broken-gcc         3.3-1          [virtual package representing a broken 
>>>> gcc compiler]
>>>>  gcc4.2             4.2-0          [virtual package representing the gcc 
>>>> 4.2 compiler]
>>>>  gcc49              4.9.2-1000     GNU Compiler Collection Version 4.9
>>>>  gcc49-compiler     4.9.2-1000     Compiler Binaries for gcc49
>>>>  gcc49-shlibs       4.9.2-1000     Shared libraries for gcc4
>>>>  liboctave364-gcc4                 [virtual package]
>>>>  liboctave364-gcc4                 [virtual package]
>>>>  liboctave382-gcc4                 [virtual package]
>>>>  liboctave382-gcc4                 [virtual package]
>>>>  llvm-gcc42         2336.11-7      Apple gcc compiler frontend for llvm
>>>>  llvm-gcc42-shlibs  2336.11-7      Shared libraries for llvm-gcc42
>>>>  m681x-gcc          3.3.6-3        For Motorola 68hc11/12 micro controllers
>>>>  msp430-gcc         4.6.3-2012040  GNU GCC for for Texas Instruments 
>>>> MSP430 MCU
>>>> mem4:~ mauel$ 
>>>> 
>>>> 
>>>> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
>>>>       Department of Applied Physics and Applied Mathematics
>>>>            Columbia University, New York, NY 10027  U.S.A. 
>>>> Office:  (212) 854-4455    FAX:  (212) 854-8257   Voice:  (646) 374-8531  
>>>>   <mailto:ma...@columbia.edu>      <http://www.columbia.edu/~mem4/>
>>>> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
>>> 
>>> 
>>> Yeah, we like not to have to carry older library versions forward for new 
>>> OS X and encourage maintainers to update their packages to utilize newer 
>>> ones instead.
>>> 
>>> If you want to attempt a quick local update to HDF yourself, it’s a pretty 
>>> straightforward process (no guarantees, though):
>>> 
>>> 1)  cp /sw/fink/dists/stable/main/finkinfo/sci/hdf.* 
>>> /sw/fink/10.7/local/main/finkinfo
>>> (you may need to use ‘sudo’, depending on the permissions of the 
>>> directories).  The local tree is preferred.
>>> 
>>> 2)  Edit  /sw/fink/10.7/local/main/finkinfo in your favorite text editor 
>>> and change all occurrences of ‘gcc48' to ‘gcc49'. I recommend changing the 
>>> Revision to something fractional, like 1003.1, so that when Kurt releases 
>>> the official update at Revision: 1004 you’ll be able to install that 
>>> automatically.
>>> 
>>> 3) fink install hdf
>>> 
>>> If 3) doesn’t work then post back with the error and we can try to debug 
>>> things.
>>> -- 
>>> Alexander Hansen, Ph.D.
>>> Fink User Liaison



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