-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 5/17/11 7:06 PM, Marco Romoli wrote:
> 

<snip>
>>>
>>>
>>
>> Our HDF package _does_ use the --disable-netcdf flag.  I also couldn't
>> reproduce your result.
>>
>> Is it possible that you have another HDF installation, perhaps in
>> /usr/local, which is interfering?
> 
> 
> I did look for this HDF installation but I could not find it.
> I also tried to disinstall HDF but with no positive result for the  
> installation of gdl.
> 
> After I post the full sequence of the gdl installation.
> 
> Thank you
> 
> Marco
> 
> 
> 
> fink install gdl
> Information about 5011 packages read in 0 seconds.
> The following package will be installed or updated:
>   gdl
> The following 2 additional packages will be installed:
>   hdf hdf5
> Do you want to continue? [Y/n] y
> Reading buildlock packages...
> /sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-i386/ 
> sci/hdf_4.2r1-1012_darwin-i386.deb
> Selecting previously deselected package hdf.
> (Reading database ... 48048 files and directories currently installed.)
> Unpacking hdf (from .../hdf_4.2r1-1012_darwin-i386.deb) ...
> Setting up hdf (4.2r1-1012) ...
> 
> Reading buildlock packages...
> /sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-i386/ 
> sci/hdf5_1.6.8-4_darwin-i386.deb
> Selecting previously deselected package hdf5.
> (Reading database ... 48165 files and directories currently installed.)
> Unpacking hdf5 (from .../hdf5_1.6.8-4_darwin-i386.deb) ...
> Setting up hdf5 (1.6.8-4) ...
> Clearing dependency_libs of .la files being installed
> 
> Setting runtime build-lock...
> dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-gdl-0.9.1-1 /sw/src/ 
> fink.build
> dpkg-deb: building package `fink-buildlock-gdl-0.9.1-1' in `/sw/src/ 
> fink.build/fink-buildlock-gdl-0.9.1-1_2011.05.18-01.03.50_darwin- 
> i386.deb'.
> Installing build-lock package...
> /sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock- 
> gdl-0.9.1-1_2011.05.18-01.03.50_darwin-i386.deb
> Selecting previously deselected package fink-buildlock-gdl-0.9.1-1.
> (Reading database ... 48319 files and directories currently installed.)
> Unpacking fink-buildlock-gdl-0.9.1-1 (from .../fink-buildlock- 
> gdl-0.9.1-1_2011.05.18-01.03.50_darwin-i386.deb) ...
> Setting up fink-buildlock-gdl-0.9.1-1 (2011.05.18-01.03.50) ...
> 
> gzip -dc /sw/src/gdl-0.9.1.tar.gz | /sw/bin/tar -xf -  --no-same-owner  
> --no-same-permissions
> sed -e "s|lib_LIBRARIES|noinst_LIBRARIES|" -i src/antlr/Makefile.am
> sed -e "s|GDLLexer lexer(istr, \"\")|GDLLexer lexer(istr, \"\",  
> GDLParser::NONE)|" -i src/widget.cpp
> libtoolize -f
> libtoolize: putting auxiliary files in `.'.
> libtoolize: linking file `./ltmain.sh'
> libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
> libtoolize: linking file `m4/libtool.m4'
> libtoolize: linking file `m4/ltoptions.m4'
> libtoolize: linking file `m4/ltsugar.m4'
> libtoolize: linking file `m4/ltversion.m4'
> libtoolize: linking file `m4/lt~obsolete.m4'
> libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
> libtoolize: `AC_PROG_RANLIB' is rendered obsolete by `LT_INIT'
> autoreconf
> ./configure --prefix=/sw --with-plplotdir=/sw --with-ncursesdir=/sw -- 
> with-readlinedir=/sw --with-gsldir=/sw --with-netcdf=/sw --with-hdf=/ 
> sw --with-hdf5=/sw --with-Magick=/sw --with-fftw=/sw --without-python  
> --without-openmp -without-wxWidgets --disable-dependency-tracking
> checking autoconf version... >=2.62
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... ./install-sh -c -d
> checking for gawk... no
> checking for mawk... no
> checking for nawk... no
> checking for awk... awk
> checking whether make sets $(MAKE)... yes
> checking for g++... g++
> checking whether the C++ compiler works... yes
> checking for C++ compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking for style of include used by make... GNU
> checking dependency style of g++... none
> checking for ranlib... ranlib
> checking build system type... i386-apple-darwin9.8.0
> checking host system type... i386-apple-darwin9.8.0
> checking how to print strings... printf
> checking for gcc... gcc
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking dependency style of gcc... none
> checking for a sed that does not truncate output... /sw/bin/sed
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> checking for fgrep... /usr/bin/grep -F
> checking for ld used by gcc... /usr/libexec/gcc/i686-apple- 
> darwin9/4.0.1/ld
> checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld)  
> is GNU ld... no
> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p
> checking the name lister (/usr/bin/nm -p) interface... BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... 196608
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... yes
> checking how to convert i386-apple-darwin9.8.0 file names to i386- 
> apple-darwin9.8.0 format... func_convert_file_noop
> checking how to convert i386-apple-darwin9.8.0 file names to toolchain  
> format... func_convert_file_noop
> checking for /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld option to  
> reload object files... -r
> checking for objdump... no
> checking how to recognize dependent libraries... pass_all
> checking for dlltool... no
> checking how to associate runtime and link libraries... printf %s\n
> checking for ar... ar
> checking for archiver @FILE support... no
> checking for strip... strip
> checking for ranlib... (cached) ranlib
> checking command to parse /usr/bin/nm -p output from gcc object... ok
> checking for sysroot... no
> checking for mt... no
> checking if : is a manifest tool... no
> checking for dsymutil... dsymutil
> checking for nmedit... nmedit
> checking for lipo... lipo
> checking for otool... otool
> checking for otool64... no
> checking for -single_module linker flag... yes
> checking for -exported_symbols_list linker flag... yes
> checking for -force_load linker flag... no
> checking how to run the C preprocessor... gcc -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking for dlfcn.h... yes
> checking for objdir... .libs
> checking if gcc supports -fno-rtti -fno-exceptions... no
> checking for gcc option to produce PIC... -fno-common -DPIC
> checking if gcc PIC flag -fno-common -DPIC works... yes
> checking if gcc static flag -static works... no
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.o... (cached) yes
> checking whether the gcc linker (/usr/libexec/gcc/i686-apple- 
> darwin9/4.0.1/ld) supports shared libraries... yes
> checking dynamic linker characteristics... darwin9.8.0 dyld
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking how to run the C++ preprocessor... g++ -E
> checking for ld used by g++... /usr/libexec/gcc/i686-apple- 
> darwin9/4.0.1/ld
> checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld)  
> is GNU ld... no
> checking whether the g++ linker (/usr/libexec/gcc/i686-apple- 
> darwin9/4.0.1/ld) supports shared libraries... yes
> checking for g++ option to produce PIC... -fno-common -DPIC
> checking if g++ PIC flag -fno-common -DPIC works... yes
> checking if g++ static flag -static works... no
> checking if g++ supports -c -o file.o... yes
> checking if g++ supports -c -o file.o... (cached) yes
> checking whether the g++ linker (/usr/libexec/gcc/i686-apple- 
> darwin9/4.0.1/ld) supports shared libraries... yes
> checking dynamic linker characteristics... darwin9.8.0 dyld
> checking how to hardcode library paths into programs... immediate
> checking for 64-bit OS... no
> checking for library containing dlopen... none required
> checking for malloc_zone_statistics... yes
> checking for sbrk... yes
> checking for mallinfo... no
> checking malloc.h usability... no
> checking malloc.h presence... no
> checking for malloc.h... no
> checking malloc/malloc.h usability... yes
> checking malloc/malloc.h presence... yes
> checking for malloc/malloc.h... yes
> checking locale.h usability... yes
> checking locale.h presence... yes
> checking for locale.h... yes
> checking for nexttoward... yes
> checking for initscr in -lncurses... yes
> checking for stifle_history in -lreadline... yes
> checking for rl_get_screen_size in -lreadline... yes
> checking for gzopen in -lz... yes
> checking for gsl_ran_binomial_knuth in -lgsl... yes
> checking for cblas_drot in -lgslcblas... yes
> checking for plsexit in -lplplotcxxd... yes
> checking for plGetDrvDir in -lplplotd... yes
> 
> Warning! Dynamic drivers have to be disabled in plplot
>           to make plplot work with ImageMagic:
>           - use the -DENABLE_DYNDRIVERS=OFF cmake option when
>             compiling plplot to disable dynamic drivers in plplot, or
>           - use --with-Magick=no here to not use ImageMagick in GDL.
> 
> checking for Magick++-config... /sw/bin/Magick++-config
> checking for GetMagickVersion in -lMagick++... yes
> checking for nc-config... no
> checking for nc_open in -lnetcdf... yes
> checking netcdfcpp.h usability... yes
> checking netcdfcpp.h presence... yes
> checking for netcdfcpp.h... yes
> checking for Hopen in -ldfalt... no
> checking if linking with SZIP helps...
> checking for Hclose in -ldfalt... no
> checking for Hopen in -ldf... yes
> checking for SDstart in -lmfhdf... yes
> checking for sd_nccreate in -lmfhdf... no
> 
> Error! HDF4 needs to be configured with the --disable-netcdf option
>         in order to be used with the original netCDF library
>         (-alt suffixed HDF4 packages in case of Debian)
>         Check the INSTALL file of the HDF4 package for details
> 
>         (suitable Debian/Ubuntu package: libhdf4-alt-dev)
>                                                  ^^^
> ### execution of ./configure failed, exit code 255
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-gdl-0.9.1-1
> (Reading database ... 48320 files and directories currently installed.)
> Removing fink-buildlock-gdl-0.9.1-1 ...
> Failed: phase compiling: gdl-0.9.1-1 failed
> 
> Before reporting any errors, please run "fink selfupdate" and
> try again.  If you continue to have issues, please check to see if the
> FAQ on fink's website solves the problem.  If not, ask on the fink-users
> or fink-beginners mailing lists, with a carbon copy to the maintainer:
> 
>       Sebastien Maret <bma...@users.sourceforge.net>
> 
> Note that this is preferable to emailing the maintainer directly, since
> most fink package maintainers do not have access to all possible
> hardware and software configurations.
> 
> +++++++++++++++++++++++++++++++++++++++++
> 
> Marco Romoli
> rom...@arcetri.astro.it
> mrom...@unifi.it
> 
> Dip. di Fisica e Astronomia
> Sezione di Astronomia e Scienza dello Spazio
> Universita' di Firenze
> Largo E. Fermi 2
> 50125 Firenze, Italy
> 
> Tel: +39-0552055233
> Fax: +39-0552055252
> 
> +++++++++++++++++++++++++++++++++++++++++
> 
> 

Look in /sw/src/fink.build/gdl-0.9.1-1/gdl-0.9.1/config.log at the point
where it says "checking for sd_nccreate in -lmfhdf" (somewhere near line
19176).  I get the following on one of my Fink setups:

...
configure:19176: checking for sd_nccreate in -lmfhdf
configure:19211: g++ -o conftest -g -O2 -I/sw64/include
- -L/sw64/lib/plplot -L/sw64/lib -L/sw64/lib/pango-ft219/lib
- -L/sw64/lib/fontconfig2/lib -L/usr/X11/lib -R/usr/X11/lib -lfreetype -lz
- -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices
- -L/sw64/lib conftest.cpp -lmfhdf  -lgslcblas -lgsl -L/sw64/lib -L/sw64
- -lncurses  -L/sw64/lib -lreadline -lz -L/sw64/lib -lgsl -lgslcblas
- -L/sw64/lib -lplplotd -lplplotcxxd -L/sw64/lib -lMagick++ -lMagickWand
- -lMagickCore -L/sw64/lib -lnetcdf -L/sw64/lib -L/sw64/lib/hdf -lmfhdf
- -ldf -ljpeg -lz -lsz >&5
ld: warning: directory '/sw64/lib/hdf' following -L not found
configure:19218: $? = 0
configure:19241: result: yes
configure:19291: checking for H5Fopen in -lhdf5
...

There may be more information there.
- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3TBqoACgkQB8UpO3rKjQ/NSQCbBjTwfVaeXPtUNbYsabAERrm6
h0kAn0ooFg+G/4ggLcObcvjnd8kKJ/vb
=Rpw8
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
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