[MMTK] building MMTK on a 64-bit FEDORA 2 machine

Fernandez-Alonso, F (Felix) F.Fernandez-Alonso at rl.ac.uk
Wed Oct 6 15:28:09 CEST 2004

Dear all,


I am trying to install MMTK on a 64-bit FEDORA 2 machine but thus far I
cannot build Scientific Python with the NetCDF library. An extract from the
build of Scientific Python is given below. The only two NetCDF rpms for my
machine of which I am aware give identical results
(netcdf-3.5.1-1.rhfc2.mr.x86_64.rpm, netcdf-3.5.1-0.fdr.0.x86_64.rpm).


The error shown below seems to indicate that the only way out of this is to
recompile NetCDF from source. Before I venture into that option I am hoping
somebody out there might have a suggestion about the best way to proceed.


Many thanks,






[ffa38 at hydrogen ScientificPython-2.4.6]$ python setup.py build

Found netCDF installation in  /usr

/usr/lib64/python2.3/distutils/dist.py:213: UserWarning: 'licence'
distribution option is deprecated; use 'license'


running build

running build_py

running build_ext

building 'Scientific_netcdf' extension

gcc -pthread -shared build/temp.linux-x86_64-2.3/Src/Scientific_netcdf.o
-L/usr/lib -lnetcdf -o

/usr/bin/ld: /usr/lib/libnetcdf.a(attr.o): relocation R_X86_64_32S can not
be used when making a shared object; recompile with -fPIC

/usr/lib/libnetcdf.a: could not read symbols: Bad value

collect2: ld returned 1 exit status

error: command 'gcc' failed with exit status 1

[ffa38 at hydrogen ScientificPython-2.4.6]$



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://starship.python.net/pipermail/mmtk/attachments/20041006/e6c435e0/attachment.html

More information about the mmtk mailing list