niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Programming » Perl » modules
test failures during cpan installation
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
Boris Glawe
*nix forums beginner


Joined: 10 Mar 2005
Posts: 36

PostPosted: Wed Jul 12, 2006 4:11 pm    Post subject: test failures during cpan installation Reply with quote

Hello,

I'd like to install the current version of bestpractical's request
tracker (http://www.bestpractical.com/rt/), which is written in perl.
The installation skript wants me to install a lot of additional perl
modules.

Most of theses modules can be easily installed with the cpan command. In
cpan's command line interface, I enter something like "install Foo::Bar"

The problem is that some modules do not install due to some failing
tests. I get errors like "argument list too long" or "error, no reason
given", etc. I don't know how to solve such problems, since there's no
suitable error message, that tells me the reason for the failure.

I decided to install the modules with "force install Foo::Bar" which
succeeded. Can I expect that every will work?

In addition I have a module that cannot be installed due to linking
problems. It's the GD module. The linker ld says that it "cannot find
-lXpm", though the file libXpm.so.4 exists in /usr/X11R6/lib and the gcc
command has something like -L/usr/X11R6/lib in it's argument list.

rt is a very common request tracker system. I don't understand why the
installation is such a mess (sorry). A peace of software, that requires
C programming knowledge for installation and maintenance is not usable.

Can you help me with the usage of cpan? Is it "normal" that a lot of
modules can only be installed by forcing the installation, what went
wrong with the GD module?

Btw. my os is centos 4.3, which is technically identical to Redhat
Enterprice 4. My compiler is gcc 3.4.5 and the perl version is 5.8.5

thanks in advance

greets Boris
Back to top
Eric R. Meyers
*nix forums addict


Joined: 10 May 2006
Posts: 63

PostPosted: Wed Jul 12, 2006 5:25 pm    Post subject: Re: test failures during cpan installation Reply with quote

Hi Boris,

No your not crazy (yet), your mostly correct.

Boris Glawe wrote:

Quote:
Hello,

I'd like to install the current version of bestpractical's request
tracker (http://www.bestpractical.com/rt/), which is written in perl.
The installation skript wants me to install a lot of additional perl
modules.

You just have to keep working through them all, like you're doing.


Quote:
Most of theses modules can be easily installed with the cpan command. In
cpan's command line interface, I enter something like "install Foo::Bar"

cpanp (CPANPLUS) is also an option, but for either of these you should make

sure that you're configured to automatically follow the prerequisite
installations, so that everthing gets installed as needed.

Quote:
The problem is that some modules do not install due to some failing
tests. I get errors like "argument list too long" or "error, no reason
given", etc. I don't know how to solve such problems, since there's no
suitable error message, that tells me the reason for the failure.

Some 'make test' failures are not uncommon, as long as it's not failing "too

much."

Quote:
I decided to install the modules with "force install Foo::Bar" which
succeeded. Can I expect that every will work?

Excellent question, and you already know the answer, I'm sure. You seem

quite capable. No guarantee.

Quote:
In addition I have a module that cannot be installed due to linking
problems. It's the GD module. The linker ld says that it "cannot find
-lXpm", though the file libXpm.so.4 exists in /usr/X11R6/lib and the gcc
command has something like -L/usr/X11R6/lib in it's argument list.

GD just installed for me, and I have FC4 linux, so look elsewhere.


Quote:
rt is a very common request tracker system. I don't understand why the
installation is such a mess (sorry). A peace of software, that requires
C programming knowledge for installation and maintenance is not usable.

Can you help me with the usage of cpan? Is it "normal" that a lot of
modules can only be installed by forcing the installation, what went
wrong with the GD module?

If you can identify module problems, then check http://rt.cpan.org/Public

for known bugs, or submit a new one.

Quote:
Btw. my os is centos 4.3, which is technically identical to Redhat
Enterprice 4. My compiler is gcc 3.4.5 and the perl version is 5.8.5

thanks in advance

greets Boris

Write back, if you need to.

Eric
Back to top
Sherm Pendley
*nix forums Guru


Joined: 03 Mar 2005
Posts: 527

PostPosted: Wed Jul 12, 2006 5:40 pm    Post subject: Re: test failures during cpan installation Reply with quote

"Eric R. Meyers" <ermeyers@adelphia.net> writes:

Quote:
Boris Glawe wrote:

The problem is that some modules do not install due to some failing
tests. I get errors like "argument list too long" or "error, no reason
given", etc. I don't know how to solve such problems, since there's no
suitable error message, that tells me the reason for the failure.

Some 'make test' failures are not uncommon, as long as it's not failing "too
much."

A concrete example of that is the DBI::* modules, when you haven't supplied
the name of a test database and the login information. The self tests will
fail because they're unable to connect and run, but that doesn't indicate a
problem with the modules themselves.

Ultimately it's a judgement call - you need to review the error messages and
decide on a case-by-case basis if you think it's safe to them.

sherm--

--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
The time now is Sun Nov 23, 2008 11:58 am | All times are GMT
navigation Forum index » Programming » Perl » modules
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts test admin Atest 0 Mon May 14, 2007 6:29 am
No new posts Python proficiency test Kent Johnson python 0 Fri Jul 21, 2006 10:47 am
No new posts someone using apmd on ppc please test patch for #222635 Aníbal Monsalve Salazar devel 1 Thu Jul 20, 2006 11:50 pm
No new posts new installation not finding large memory Miles Fidelman Debian 8 Thu Jul 20, 2006 9:00 pm
No new posts PHP Installation issues on WinXP and IIS ~john PHP 3 Thu Jul 20, 2006 4:14 pm

MPAA | Internet Advertising | Pisos Denia | Debt Help | Loans
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1627s ][ Queries: 16 (0.0781s) ][ GZIP on - Debug on ]