Trouble with RT Installation

Hello,

I am experiencing issues when trying to install the dependencies required for RT to work. Below are the remaining dependencies that will not install:

I have been using CPAN to download all my dependencies.

SOME DEPENDENCIES WERE MISSING:

CORE dependencies:

Encode::HanExtra MISSING

HTML::Mason::PSGIHandler >= 0.52 MISSING

Plack >= 1.0002 MISSING

Plack::Handler::Starlet MISSING

Web::Machine >= 0.12 MISSING

GPG dependencies:

GnuPG::Interface >= 1.00 MISSING

Please help.

Have you done the make fixdeps? Did it produce any errors installing these? Also make sure you have a C compiler installed as some Perl modules need it (and not all operating system distributions include one by default).

So I removed XCode and reinstalled it to make sure I have the most updated verison. These are the results when I execute fixdeps:

Test Summary Report

t/01-base.t (Wstat: 65280 Tests: 2 Failed: 2)
Failed tests: 1-2
Non-zero exit status: 255
Parse errors: Bad plan. You planned 5 tests but ran 2.
t/02-reconfigure.t (Wstat: 65280 Tests: 2 Failed: 2)
Failed tests: 1-2
Non-zero exit status: 255
Parse errors: Bad plan. You planned 3 tests but ran 2.
t/03-spareworkers.t (Wstat: 65280 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 255
Parse errors: Bad plan. You planned 8 tests but ran 1.
t/04-interval.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/05-before_after_fork.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/06-wait-all-children-with-timeout.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 4 tests but ran 0.
t/07-wait-all-children-does-not-block.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 1 tests but ran 0.
Files=7, Tests=5, 1 wallclock secs ( 0.02 usr 0.01 sys + 0.40 cusr 0.10 csys = 0.53 CPU)
Result: FAIL
Failed 7/7 test programs. 5/5 subtests failed.
make[1]: *** [test_dynamic] Error 2
KAZUHO/Parallel-Prefork-0.18.tar.gz
one dependency not OK (Proc::Wait3); additionally test harness failed
/usr/bin/make test – NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports KAZUHO/Parallel-Prefork-0.18.tar.gz
Running install for module ‘Plack’
MIYAGAWA/Plack-1.0048.tar.gz
Has already been unwrapped into directory /Users/rhnx/.cpan/build/Plack-1.0048-11
MIYAGAWA/Plack-1.0048.tar.gz
Has already been prepared
MIYAGAWA/Plack-1.0048.tar.gz
Has already been made
MIYAGAWA/Plack-1.0048.tar.gz
Has already been tested within this command
KAZUHO/Starlet-0.31.tar.gz
Has already been unwrapped into directory /Users/rhnx/.cpan/build/Starlet-0.31-6
KAZUHO/Starlet-0.31.tar.gz
Has already been prepared
Running make for K/KA/KAZUHO/Starlet-0.31.tar.gz
Warning: Prerequisite ‘Parallel::Prefork => 0.17’ for ‘KAZUHO/Starlet-0.31.tar.gz’ failed when processing ‘KAZUHO/Parallel-Prefork-0.18.tar.gz’ with ‘make_test => NO one dependency not OK (Proc::Wait3); additionally test harness failed’. Continuing, but chances to succeed are limited.
Warning: Prerequisite ‘Plack => 0.992’ for ‘KAZUHO/Starlet-0.31.tar.gz’ failed when processing ‘MIYAGAWA/Plack-1.0048.tar.gz’ with ‘make_test => NO 2 dependencies missing (Apache::LogFormat::Compiler,HTTP::Entity::Parser); additionally test harness failed’. Continuing, but chances to succeed are limited.
cp lib/Starlet/Server.pm blib/lib/Starlet/Server.pm
cp lib/Starlet.pm blib/lib/Starlet.pm
cp lib/Plack/Handler/Starlet.pm blib/lib/Plack/Handler/Starlet.pm
Manifying 1 pod document
KAZUHO/Starlet-0.31.tar.gz
/usr/bin/make – OK
Running make test
PERL_DL_NONLAZY=1 “/usr/bin/perl” “-MExtUtils::Command::MM” “-MTest::Harness” “-e” "undef Test::Harness::Switches; test_harness(0, ‘inc’, ‘blib/lib’, ‘blib/arch’)" t/.t
t/00base.t … 1/? Use of uninitialized value $plackup in exec at t/00base.t line 34.
start_server (pid:37953) starting now…
starting new worker 37954
Can’t exec “”: No such file or directory at /Library/Perl/5.28/Server/Starter.pm line 286.
failed to exec No such file or directorynew worker 37954 seems to have failed to start, exit status:65280
starting new worker 37955
Can’t exec “”: No such file or directory at /Library/Perl/5.28/Server/Starter.pm line 286.
failed to exec No such file or directorynew worker 37955 seems to have failed to start, exit status:65280
starting new worker 37956
Can’t exec “”: No such file or directory at /Library/Perl/5.28/Server/Starter.pm line 286.
failed to exec No such file or directorynew worker 37956 seems to have failed to start, exit status:65280
starting new worker 37957

What’s XCode? Is that a perl package you’ve installed?

Is this install on Mac? I’d try manually installing some of those packages to get more logging

@knation - Yes, this installation is on Mac. I have tried manually installing the dependencies using CPAN. I’ll show example of the logs:

SOME DEPENDENCIES WERE MISSING:

CORE dependencies:

Encode::HanExtra MISSING

HTML::Mason::PSGIHandler >= 0.52 MISSING

Plack >= 1.0002 MISSING

Plack::Handler::Starlet MISSING

Web::Machine >= 0.12 MISSING

GPG dependencies:

GnuPG::Interface >= 1.00 MISSING

Perl library path for /usr/bin/perl:

/Library/Perl/5.28/darwin-thread-multi-2level

/Library/Perl/5.28

/Network/Library/Perl/5.28/darwin-thread-multi-2level

/Network/Library/Perl/5.28

/Library/Perl/Updates/5.28.2/darwin-thread-multi-2level

/Library/Perl/Updates/5.28.2

/System/Library/Perl/5.28/darwin-thread-multi-2level

/System/Library/Perl/5.28

/System/Library/Perl/Extras/5.28/darwin-thread-multi-2level

/System/Library/Perl/Extras/5.28

make: *** [testdeps] Error 1

rhnx@Ryans-MBP rt-5.0.1 %

Blockquote

sudo cpan Encode::HanExtra

Loading internal logger. Log::Log4perl recommended for better logging

Reading ‘/Users/rhnx/.cpan/Metadata’

Database was generated on Tue, 01 Jun 2021 20:55:39 GMT

Running install for module ‘Encode::HanExtra’

Checksum for /Users/rhnx/.cpan/sources/authors/id/A/AU/AUDREYT/Encode-HanExtra-0.23.tar.gz ok

Configuring A/AU/AUDREYT/Encode-HanExtra-0.23.tar.gz with Makefile.PL

enc2xs is /usr/bin/enc2xs

encode.h not found! at Makefile.PL line 54.

Warning: No success on command[/usr/bin/perl Makefile.PL]

AUDREYT/Encode-HanExtra-0.23.tar.gz

/usr/bin/perl Makefile.PL – NOT OK

Blockquote

I attempted to manually install Encode::HanExtra , thats the error I receieved. Please help.

@GreenJimll - XCode is a C compiler for MAC

Good luck, man. That’s all I got. Installing RT was hell…but worth it. I had to go in and manually install all the dependent software and troubleshoot each one.

@tan33 - How exactly did you manually install them? What commands did you use? Resources?

Really hoping I can implement this, preparing it for the most important interview of my life.

I believe your issue is more Mac-related than RT related, for whatever reason:

encode.h not found! 

Cannot be found, off the top of my head I’d assume you need to install some package using something like Homebrew.

Are you using your system Perl ( Which version of Perl? ) or something like Perlbrew?

It was a year ago, I don’t have the exact commands. I just had to get very familiar with how to install Perl modules. There was a looooooot of background information I had to learn in order to get RT up and running; Linux, Apache web server, Exim mail server, Perl, etc.

http://www.ubuntugeek.com/request-trackerrt-ticketing-system-for-your-support-group.html