Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Feb 2012 09:26:43 +0000
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-questions@FreeBSD.org
Subject:   Re: CPAN hanging on ExtUtils::MakeMaker even if installed
Message-ID:  <4F44B4D3.1070004@FreeBSD.org>
In-Reply-To: <CA%2Bsg5RThsQpaBLs2jBK79evx2CbM3VEUqb4%2BDBCjDie4Cmy26Q@mail.gmail.com>
References:  <CA%2Bsg5RThsQpaBLs2jBK79evx2CbM3VEUqb4%2BDBCjDie4Cmy26Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig1F839C9FFA1B12336A6C76D9
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 22/02/2012 00:34, Jaime Kikpole wrote:
> I'm attempting to upgrade Request Tracker manually.  (I know that
> there is a port, but I'd like to preserve my data, thus I'm doing this
> "the old fashioned way."  :) )

Speaking as the rt40 port maintainer, I feel you may be making your life
unnecessarily difficult here.  The port won't touch your data: it does
precisely nothing to the database.  It does let you set default values
for DB connection parameters at install time, but that's  not required
and you can just use the normal configuration files to the same effect.

Unless you've made lots of local tweaks to the code, and not by using
the recognised extension method, using the port should not be damaging
to your setup.  If you find otherwise, I'd like very much to hear about
it so I can fix the problem.

> When I run the "make fixdeps" step described in the directions, it
> attempts to load ExtUtil::MakeMaker from CPAN -- even though its
> already installed.  This wouldn't be so bad, but it actually hangs and
> uses 100% of CPU time (according to "top") like its in an infinite
> loop.  This is the output just before it hangs:
>=20
> [...cut...]
> Manifying blib/man3/File::Temp.3
> Manifying blib/man3/ExtUtils::MM_Any.3
>   MSCHWERN/ExtUtils-MakeMaker-6.62.tar.gz
>   /usr/bin/make -- OK
> CPAN: YAML loaded ok (v0.68)
> Running make test
> PERL_DL_NONLAZY=3D1 /usr/bin/perl "-Iblib/arch" "-Iblib/lib"
> "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib',
> 'blib/arch')" t/*.t
> t/00compile.t ............. ok
> t/arch_check.t ............ ok
> t/backwards.t ............. ok
> t/basic.t ................. ok
> t/build_man.t ............. ok
> t/cd.t .................... ok
> t/config.t ................ ok
> t/dir_target.t ............ ok
> t/FIRST_MAKEFILE.t ........ ok
> t/fix_libs.t .............. ok
> t/fixin.t ................. ok
> t/hints.t ................. ok
> t/INST.t .................. ok
> t/INST_PREFIX.t ........... ok
> t/INSTALL_BASE.t .......... 3/20
>=20
>=20
> I've found references to this on the web.  They seem to indicate that
> its something with the FreeBSD port and that its fixed in version
> 6.63.  Unfortunately, only version 6.62 is in the ports collection.
>=20
> Anyone know what to do to get past this?

Hmmm... well, the port doesn't use 'make fixdeps' because it's the ports
job to ensure that all the required dependencies are fulfilled.
However, if I try it manually, everything works just fine.  This is on a
system with only the version of E::MM that comes bundled with perl-5.12
(which is version 6.56).  The make fixdeps output looks completely
different though -- what version of RT are you trying to use?

lucid-nonsense:/tmp/rt-4.0.5:# make fixdeps
/usr/bin/perl ./sbin/rt-test-dependencies --verbose --install --with-SQLi=
te
perl:
	>=3D5.8.3(5.12.4) ...found
users:
	rt group (www) ...found
	bin owner (root) ...found
	libs owner (root) ...found
	libs group (bin) ...found
	web owner (www) ...found
	web group (www) ...found
CLI dependencies:
	Term::ReadKey ...found
	Getopt::Long >=3D 2.24 ...found
	HTTP::Request::Common ...found
	Term::ReadLine ...found
	Text::ParseWords ...found
	LWP ...found
CORE dependencies:
	DateTime >=3D 0.44 ...found
	Class::ReturnValue >=3D 0.40 ...found
	Text::Quoted >=3D 2.02 ...found
	Regexp::IPv6 ...found
	CSS::Squish >=3D 0.06 ...found
	Encode >=3D 2.39 ...found
	DateTime::Locale >=3D 0.40 ...found
	Module::Versions::Report >=3D 1.05 ...found
	MIME::Entity >=3D 5.425 ...found
	Digest::SHA ...found
	List::MoreUtils ...found
	DBI >=3D 1.37 ...found
	Locale::Maketext::Lexicon >=3D 0.32 ...found
	Devel::StackTrace >=3D 1.19 ...found
	Digest::base ...found
	Text::Password::Pronounceable ...found
	Devel::GlobalDestruction ...found
	Time::ParseDate ...found
	File::Temp >=3D 0.19 ...found
	Locale::Maketext >=3D 1.06 ...found
	Tree::Simple >=3D 1.04 ...found
	Text::Template >=3D 1.44 ...found
	Scalar::Util ...found
	HTML::Quoted ...found
	HTML::Scrubber >=3D 0.08 ...found
	File::Spec >=3D 0.8 ...found
	DBIx::SearchBuilder >=3D 1.59 ...found
	Sys::Syslog >=3D 0.16 ...found
	Mail::Mailer >=3D 1.57 ...found
	File::ShareDir ...found
	Regexp::Common ...found
	Digest::MD5 >=3D 2.27 ...found
	Cache::Simple::TimedExpiry ...found
	File::Glob ...found
	Class::Accessor >=3D 0.34 ...found
	Locale::Maketext::Fuzzy ...found
	Time::HiRes ...found
	Text::Wrapper ...found
	Regexp::Common::net::CIDR ...found
	Net::CIDR ...found
	Log::Dispatch >=3D 2.23 ...found
	UNIVERSAL::require ...found
	Email::Address ...found
DASHBOARDS dependencies:
	HTML::RewriteAttributes >=3D 0.04 ...found
	MIME::Types ...found
GD dependencies:
	GD::Text ...found
	GD ...found
	GD::Graph ...found
GPG dependencies:
	PerlIO::eol ...found
	GnuPG::Interface ...found
ICAL dependencies:
	Data::ICal ...found
MAILGATE dependencies:
	Pod::Usage ...found
	HTML::TreeBuilder ...found
	Getopt::Long ...found
	HTML::FormatText ...found
	LWP::UserAgent ...found
MASON dependencies:
	Storable >=3D 2.08 ...found
	CSS::Squish >=3D 0.06 ...found
	Apache::Session >=3D 1.53 ...found
	Errno ...found
	Devel::StackTrace >=3D 1.19 ...found
	IPC::Run3 ...found
	CGI::Cookie >=3D 1.20 ...found
	Text::WikiFormat >=3D 0.76 ...found
	XML::RSS >=3D 1.05 ...found
	HTML::Mason >=3D 1.43 ...found
	Digest::MD5 >=3D 2.27 ...found
	JSON ...found
PSGI dependencies:
	CGI::Emulate::PSGI ...found
	CGI >=3D 3.38 ...found
	CGI::PSGI >=3D 0.12 ...found
	HTML::Mason::PSGIHandler >=3D 0.52 ...found
	Plack >=3D 0.9971 ...found
	Plack::Handler::Starlet ...found
SMTP dependencies:
	Net::SMTP ...found
SQLITE dependencies:
	DBD::SQLite >=3D 1.00 ...found
USERLOGO dependencies:
	Convert::Color ...found

All dependencies have been found.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey



--------------enig1F839C9FFA1B12336A6C76D9
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9EtNoACgkQ8Mjk52CukIzQ1gCfbjhqv4CPVuWnNC046ZWKx1uE
4lUAnRhMqqD+B7cv8tx7XznXHFi0sM7R
=rEsf
-----END PGP SIGNATURE-----

--------------enig1F839C9FFA1B12336A6C76D9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F44B4D3.1070004>