perl-5.005 on slink?
After the discussion on upgrading from slink to potato using apt-get
source I decided to try it. I could not use apt-get for a long time
now because it complained about the absence of perl-5.005 required by
postgresql 6.5.2 which I installed by compiling the debian sources and
dpkg. So I decided to try and install perl-5.005 on slink using
apt-get source.
It did not work. The compilation process complained about
inconsistent variable definitions from /usr/include/gnus/types.h and
/usr/include/bits/types.h.
I then tried to determine whether one of them was not supposed to be
there. My system was at one stage a bit messy. I could not find
/usr/include/bits/types.h in the Contents-file of both Potato or Slink
so I was stupid enough to remove it.
Now the compilation fails with the following error message:
In file included from /usr/include/sys/statvfs.h:26,
from perl.h:2567,
from sperl.c:15:
/usr/include/bits/statvfs.h:30: parse error before `__fsblkcnt_t'
/usr/include/bits/statvfs.h:30: warning: no semicolon at end of struct or union
/usr/include/bits/statvfs.h:31: warning: data definition has no type or storage class
/usr/include/bits/statvfs.h:32: parse error before `f_bavail'
/usr/include/bits/statvfs.h:32: warning: data definition has no type or storage class
/usr/include/bits/statvfs.h:33: parse error before `f_files'
/usr/include/bits/statvfs.h:33: warning: data definition has no type or storage class
/usr/include/bits/statvfs.h:34: parse error before `f_ffree'
/usr/include/bits/statvfs.h:34: warning: data definition has no type or storage class
/usr/include/bits/statvfs.h:35: parse error before `f_favail'
/usr/include/bits/statvfs.h:35: warning: data definition has no type or storage class
/usr/include/bits/statvfs.h:48: parse error before `}'
make[1]: *** [sperl.o] Error 1
make[1]: Leaving directory `/home/jhspies/potato/perl-5.005-5.005.03'
make: *** [build.stamp] Error 2
Now I have a few questions:
1. If I cannot find /usr/include/bits/types.h in the
Contents-file. Where does it come from? Which package can I reinstall
to get it back. I could not find it using dpkg -S either.
2. Is it possible to install perl-5.005_5.005.03 on slink?
Thanks for help.
--
Johann Spies,Windsorlaan 19, Pietermaritzburg, 3201, South Africa
Tel/Faks 033-346-1310 Sel/Cell 082-255-2388
"For by grace are ye saved through faith; and that not
of yourselves. It is the gift of God; not of works,
lest any man should boast." Ephesians 2:8,9
Reply to: