On 5 Jan 2008, at 14:17, LeRoy DeVries wrote:

On Sat, 2008-01-05 at 13:35 +0000, Andy Armstrong wrote:

On 5 Jan 2008, at 13:27, LeRoy DeVries wrote:
> I've subscribed to this forum however, I have not seen any traffic.
> Anybody here that might be able to help out a newbie

Hello LeRoy. What's up?

I have been trying to install some modules (ie threads, threads::share) etc and I get the following error

Running install for module 'threads'
Running make for J/JD/JDHEDDEN/threads-1.67.tar.gz
Has already been unwrapped into directory /home/ldevries/.cpan/ build/threads-1.67-2t_tsK
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible

Whats the best way to proceed? Should I delete everything and start over and if I do what do I delete?


(I've added the list address back in)

It sounds as if threads and threads::share previously got some test errors in the same cpan session. If you quit from cpan, restart it and then attempt the install again you may see the test errors. That's the information that we need to diagnose the problem.

Another thing you could try is

cpan> look threads

That'll unpack the threads distribution and open a command shell in the directory where it was unpacked. Then you can manually attempt:

$ perl Makefile.PL
$ make
$ make test
$ sudo make install

(only do each step if the previous one succeeded)

I've just tried that here and I notice that threads needs you to have a C compiler. Might that be the reason why it failed to build? Do you have a C compiler installed?

--
Andy Armstrong, Hexten




Reply via email to