I am working on porting an existing windows application to mac OS X and I am stuck. I am not able to install pyhdf on my mac. [OS X 10.5.8]
I have HDF installed through macports.
Easy_install does not work either
Expand|Select|Wrap|Line Numbers
- $ easy_install pyhdf
- Searching for pyhdf
- Reading http://pypi.python.org/simple/pyhdf/
- Reading ftp://nordet.qc.dfo-mpo.gc.ca/pub/soft/pyhdf
- error: (61, 'Connection refused')
Expand|Select|Wrap|Line Numbers
- compile options: '-I/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/numpy/core/include -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c'
- gcc -Wl,-F. -bundle -undefined dynamic_lookup -arch i386 -arch ppc build/temp.macosx-10.5-i386-2.5/pyhdf/hdfext_wrap.o -lmfhdf -ldf -lsz -ljpeg -lz -o build/lib.macosx-10.5-i386-2.5/pyhdf/_hdfext.so
- ld: library not found for -lmfhdf
- collect2: ld returned 1 exit status
Would appreciate any pointers and suggestions.
Thanks,
B