Hi, I got the error message below while upgrading hdf5 with "port upgrade outdated". This upgrading is not urgent for me, but I would like to know how to fix it for curious because I never had a similar problem before with "port upgrade outdated" command for regularly use. Kuniaki Mukai % port outdated The following installed ports are outdated: hdf5 1.6.5_0 < 1.6.6_0 % sudo port upgrade outdated ---> Fetching hdf5 ---> Attempting to fetch hdf5-1.6.6.tar.gz from ftp://ftp.hdfgroup.org/HDF5/current/src/ ---> Verifying checksum(s) for hdf5 ---> Extracting hdf5 ---> Applying patches to hdf5 ---> Configuring hdf5 ---> Building hdf5 with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_hdf5/work/hdf5-1.6.6" && make all " returned error 2 Command output: gcc -O2 -std=c99 -Wno-long-long -O -fomit-frame-pointer -finline-functions -I. -I. -I../src -I../src -UH5_DEBUG_API -DNDEBUG -I/opt/local/lib/include -I/opt/local/include -c stream_test.c -fno-common -DPIC -o .libs/stream_test.lo gcc -O2 -std=c99 -Wno-long-long -O -fomit-frame-pointer -finline-functions -I. -I. -I../src -I../src -UH5_DEBUG_API -DNDEBUG -I/opt/local/lib/include -I/opt/local/include -c stream_test.c -o stream_test.o >/dev/null 2>&1 mv -f .libs/stream_test.lo stream_test.lo libtool: link: warning: `AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support. rm -f .libs/stream_test.nm .libs/stream_test.nmS .libs/stream_test.nmT creating .libs/stream_testS.c generating symbol list for `stream_test' (cd .libs && gcc -c -fno-builtin "stream_testS.c") rm -f .libs/stream_testS.c .libs/stream_test.nm .libs/stream_test.nmS .libs/stream_test.nmT gcc .libs/stream_testS.o -O2 -std=c99 -Wno-long-long -O -fomit-frame-pointer -finline-functions -o .libs/stream_test stream_test.o -L./.libs -lh5test -L/opt/local/lib -L/opt/local/lib/lib -L../src/.libs -lhdf5 -lz -lm /usr/bin/ld: warning -L: directory name (/opt/local/lib/lib) does not exist creating stream_test rm -f .libs/getname.lo gcc -O2 -std=c99 -Wno-long-long -O -fomit-frame-pointer -finline-functions -I. -I. -I../src -I../src -UH5_DEBUG_API -DNDEBUG -I/opt/local/lib/include -I/opt/local/include -c getname.c -fno-common -DPIC -o .libs/getname.lo gcc -O2 -std=c99 -Wno-long-long -O -fomit-frame-pointer -finline-functions -I. -I. -I../src -I../src -UH5_DEBUG_API -DNDEBUG -I/opt/local/lib/include -I/opt/local/include -c getname.c -o getname.o >/dev/null 2>&1 mv -f .libs/getname.lo getname.lo libtool: link: warning: `AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support. rm -f .libs/getname.nm .libs/getname.nmS .libs/getname.nmT creating .libs/getnameS.c generating symbol list for `getname' (cd .libs && gcc -c -fno-builtin "getnameS.c") rm -f .libs/getnameS.c .libs/getname.nm .libs/getname.nmS .libs/getname.nmT gcc .libs/getnameS.o -O2 -std=c99 -Wno-long-long -O -fomit-frame-pointer -finline-functions -o .libs/getname getname.o -L./.libs -lh5test -L/opt/local/lib -L/opt/local/lib/lib -L../src/.libs -lhdf5 -lz -lm /usr/bin/ld: warning -L: directory name (/opt/local/lib/lib) does not exist /usr/bin/ld: Undefined symbols: _H5G_user_path_test collect2: ld returned 1 exit status make[2]: *** [getname] Error 1 make[1]: *** [tests] Error 1 make: *** [all] Error 2 Error: Unable to upgrade port: 1
On 17.09.2007, at 02:22, Kuniaki Mukai wrote:
I got the error message below while upgrading hdf5 with "port upgrade outdated".
Already reported in http://trac.macports.org/projects/macports/ticket/12704 Workaround is to deactivate the old version first. Greetings, Jochen -- Einigkeit und Recht und Freiheit http://www.Jochen- Kuepper.de Liberté, Égalité, Fraternité GnuPG key: CC1B0B4D Sex, drugs and rock-n-roll
Thank you very much for suggesting workaround. Now hdf5 is successfully upgraded. % sudo port deactivate hdf5 Password: ---> Deactivating hdf5 ---> Deactivating port % sudo port install hdf5 ---> Building hdf5 with target all ---> Staging hdf5 into destroot ---> Installing hdf5 1.6.6_0 ---> Activating hdf5 1.6.6_0 ---> Cleaning hdf5 % port outdated No installed ports are outdated. Kuniaki On 2007/09/17, at 16:15, Jochen Küpper wrote:
On 17.09.2007, at 02:22, Kuniaki Mukai wrote:
I got the error message below while upgrading hdf5 with "port upgrade outdated".
Already reported in http://trac.macports.org/projects/macports/ticket/12704
Workaround is to deactivate the old version first.
Greetings, Jochen -- Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de Liberté, Égalité, Fraternité GnuPG key: CC1B0B4D Sex, drugs and rock-n-roll
participants (2)
-
Jochen Küpper
-
Kuniaki Mukai