Hallo David
I tied again on an new installation of Ubuntu 18.04.3 but I didn't get
the same result as you did.
sudo apt-get install cpanminus make
sudo cpanm Firefox::Marionette
unset HOME
sudo cpanm Firefox::Marionette
--> see build.log below
cpanm (App::cpanminus) 1.7043 on perl 5.026001 built for
x86_64-linux-gnu-thread-multi
Work directory is /root/.cpanm/work/1577995308.4931
You have make /usr/bin/make
You have LWP 6.31
You have /bin/tar: tar (GNU tar) 1.29
Copyright © 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL Version 3 oder später
<
http://gnu.org/licenses/gpl.html>
Dies ist freie Software: Sie dürfen sie ändern und weiter verbreiten.
Es gibt KEINERLEI GARANTIE, so weit das Gesetz es erlaubt.
Geschrieben von John Gilmore und Jay Fenlason.
You have /usr/bin/unzip
Searching Firefox::Marionette () on cpanmetadb ...
--> Working on Firefox::Marionette
Fetching
http://www.cpan.org/authors/id/D/DD/DDICK/Firefox-Marionette-0.89.tar.gz
-> OK
Unpacking Firefox-Marionette-0.89.tar.gz
Entering Firefox-Marionette-0.89
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.24)
Configuring Firefox-Marionette-0.89
Running Makefile.PL
Running Firefox as root in a regular user's session is not supported.
($XAUTHORITY is /run/user/1000/gdm/Xauthority which is owned by thomas.)
Mozilla Firefox cannot be discovered in
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
/usr/share/applications/firefox.desktop:[Desktop Entry]
/usr/share/applications/firefox.desktop:Exec=firefox %u
/usr/share/applications/firefox.desktop:[Desktop Action new-window]
/usr/share/applications/firefox.desktop:Exec=firefox -new-window
/usr/share/applications/firefox.desktop:[Desktop Action new-private-window]
/usr/share/applications/firefox.desktop:Exec=firefox -private-window
-> N/A
-> FAIL Configure failed for Firefox-Marionette-0.89. See
/root/.cpanm/work/1577995308.4931/build.log for details.
Am 31.12.2019 um 03:07 schrieb David Dick via RT:
Show quoted text> <URL:
https://rt.cpan.org/Ticket/Display.html?id=131304 >
>
> After i ssh'd to my brand new test vm, i installed the following packages
>
> libconfig-ini-perl cpanminus libjson-perl make firefox libcrypt-urandom-perl libfile-homedir-perl
>
> and then ran the following commands;
>
> tester@tester:~$ sudo cpanm Firefox::Marionette
> --> Working on Firefox::Marionette
> Fetching
http://www.cpan.org/authors/id/D/DD/DDICK/Firefox-Marionette-0.89.tar.gz ... OK
> Configuring Firefox-Marionette-0.89 ... N/A
> ! Configure failed for Firefox-Marionette-0.89. See /home/tester/.cpanm/work/1577755463.11524/build.log for details.
> tester@tester:~$ cat /home/tester/.cpanm/work/1577755463.11524/build.log
> cpanm (App::cpanminus) 1.7043 on perl 5.026001 built for x86_64-linux-gnu-thread-multi
> Work directory is /home/tester/.cpanm/work/1577755463.11524
> You have make /usr/bin/make
> You have LWP 6.31
> You have /bin/tar: tar (GNU tar) 1.29
> Copyright (C) 2015 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <
http://gnu.org/licenses/gpl.html>.
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>
> Written by John Gilmore and Jay Fenlason.
> You have /usr/bin/unzip
> Searching Firefox::Marionette () on cpanmetadb ...
> --> Working on Firefox::Marionette
> Fetching
http://www.cpan.org/authors/id/D/DD/DDICK/Firefox-Marionette-0.89.tar.gz
> -> OK
> Unpacking Firefox-Marionette-0.89.tar.gz
> Entering Firefox-Marionette-0.89
> Checking configure dependencies from META.json
> Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.24)
> Configuring Firefox-Marionette-0.89
> Running Makefile.PL
> Running Firefox as root in a regular user's session is not supported. ($HOME is /home/tester which is owned by tester.)
> Mozilla Firefox cannot be discovered in /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
> /usr/share/applications/firefox.desktop:[Desktop Entry]
> /usr/share/applications/firefox.desktop:Exec=firefox %u
> /usr/share/applications/firefox.desktop:[Desktop Action new-window]
> /usr/share/applications/firefox.desktop:Exec=firefox -new-window
> /usr/share/applications/firefox.desktop:[Desktop Action new-private-window]
> /usr/share/applications/firefox.desktop:Exec=firefox -private-window
> -> N/A
> -> FAIL Configure failed for Firefox-Marionette-0.89. See /home/tester/.cpanm/work/1577755463.11524/build.log for details.
>
>
> which seemed to be caused by the HOME environment variable. Therefore, to eliminate that weirdness;
>
>
> tester@tester:~$ unset HOME
>
> and then
>
>
> tester@tester:/home/tester$ sudo cpanm Firefox::Marionette
> --> Working on Firefox::Marionette
> Fetching
http://www.cpan.org/authors/id/D/DD/DDICK/Firefox-Marionette-0.89.tar.gz ... OK
> Configuring Firefox-Marionette-0.89 ... OK
> Building and testing Firefox-Marionette-0.89 ... OK
> Successfully installed Firefox-Marionette-0.89
> 1 distribution installed
> tester@tester:/home/tester$