Re: Can't install IPA via CPAN

From: Anton Berezin <tobez_at_tobez.org>
Date: Tue, 15 Aug 2006 18:48:47 +0200
To: Urs Pfister <bluemlisalp_at_gmx.ch>

On Tue, Aug 15, 2006 at 06:05:11PM +0200, Urs Pfister wrote:
>
> I tried to install IPA, but got the following error:
>
> LE_OFFSET_BITS=64 -Wall -O2 -march=i486 -mcpu=i686 -DHAVE_CONFIG_H=1 -I/usr/lib/perl5/site_perl/5.8.6/i486-linux/Prima/CORE -I/usr/lib/perl5/site_perl/5.8.6/i486-linux/Prima/CORE/generic -I/usr/lib/perl5/5.8.6/i486-linux/CORE -I/usr/local/include -I/usr/X11R6/include -Iinclude -Iinclude/generic Point/Point2.c -o Point/Point2.o
> cc -shared -L/usr/local/lib -L/usr/local/lib -L/lib -L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib -o auto/IPA/Point/Point.so Point/Point.o Point/Point2.o -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgcc -lX11 -lXext -lfreetype -lfontconfig -lXrender -lXft -ljpeg -lpng -ltiff -lungif -lXpm
> /usr/bin/make -- OK
> Running make test
> make: *** Keine Regel, um »test« zu erstellen. Schluss.
> /usr/bin/make test -- NOT OK
> Running make install
> make test had returned bad status, won't install without force
>
> What could be wrong

IPA is not a typical Perl distribution in a sense that it does not define
any tests, and does not use ExtUtils::MakeMaker (which handles such
situations fine). CPAN installer expects tests.

So there are three solutions:

- (a workaround) download IPA distribution manually, untar, perl
  Makefile.PL, make, make install;
- (a low cost solution) modify Makefile.PL in IPA to define an empty "test"
  target;
- (a proper solution) add tests to IPA.

For now I would suggest to you to go with the workaround.

\Anton.

-- 
We're going for 'working' here. 'clean' is for people with skills...
-- Flemming Jacobsen
Received on Tue 15 Aug 2006 - 18:48:49 CEST

This archive was generated by hypermail 2.2.0 : Sat 19 Mar 2011 - 18:35:06 CET