Hi all experts,

 I have a Mandrake 7.2, I've been working with Linux for some time ( a year I 
 guess). 

 I have a  problem, its been troubling me to no end.
 I want to Rebuild my perl install with option -Dusethreads.

 I got the source rpm, un'rpmed' it to /usr/src/RPM/ and changed the 
 perl.spec to include the new option (-Dusethreads), I ran rpm -ba
 to build the binaries.

 BUT .... the spec file had a hard coded set of values for the install 
 directory where the modules were unpacked.
  
 With standard options it would always put perl modules in 
 /usr/lib/i386-linux, but now with the option -Dusethreads it shoved them
 in /usr/lib/i386-linux-thread-multi. The dependancy in the spec file on
 the directory name meant, the build bombed.

So I modified the spec file to reflect the new directory. I built the 
binaries and installed  them.  

But now there are multiple dependencies, for mod_perl and other packages 
which had put their respective perl modules in i386-linux, they can't find 
the new perl modules !!!! 

So I moved all the old modules to the new location i386-linux-therad-multi. 

My troubles don't end here some applications using perl (including color-gcc) 
broke ! They find undefined symbols in libperl.so and exit. It seems I've 
mucked up everything with my little knowledge of how this should be done.

I need a clean way of doing this so I can keep the perl-5.6.0 install, and 
rebuild it too with the perl interpreter threading option on.
Please I need your suggestions. I would appreciate any help anyone can 
extend.  

-- 
Cheers,
Santosh Dawara,
http://www.pluggies.org,
http://cravelinux.cjb.net.

Reply via email to