Closed gigi206 closed 4 years ago
No 'Makefile' created TODDR/XML-Parser-2.46.tar.gz
/home/linuxbrew/.linuxbrew/Cellar/perl/5.30.2_1/bin/perl Makefile.PL -- NOT OK
Warning: The post-install step did not complete successfully
You can try again using ``` brew postinstall perl
You close but I think is not a normal behavior if not returns 0
$ brew reinstall perl
==> Reinstalling perl
==> Downloading https://linuxbrew.bintray.com/bottles/perl-5.30.2_1.x86_64_linux.bottle.tar.gz
Already downloaded: /home/gigix/VSCode-Anywhere/apps/vscode-anywhere/home/.cache/Homebrew/downloads/84c05b70d6d6d052725158edc193c72d2a8f28703f6cab639286d98e4f0e22b1--perl-5.30.2_1.x86_64_linux.bottle.tar.gz
==> Pouring perl-5.30.2_1.x86_64_linux.bottle.tar.gz
==> /home/linuxbrew/.linuxbrew/Cellar/perl/5.30.2_1/bin/cpan -i XML::Parser
Last 15 lines from /home/gigix/VSCode-Anywhere/apps/vscode-anywhere/home/.cache/Homebrew/Logs/perl/post_install.01.cpan:
EXPATLIBPATH=... To set the directory in which to find libexpat
EXPATINCPATH=... To set the directory in which to find expat.h
For example:
perl Makefile.PL EXPATLIBPATH=/home/me/lib EXPATINCPATH=/home/me/include
Note that if you build against a shareable library in a non-standard location
you may (on some platforms) also have to set your LD_LIBRARY_PATH environment
variable at run time for perl to find the library.
No 'Makefile' created TODDR/XML-Parser-2.46.tar.gz
/home/linuxbrew/.linuxbrew/Cellar/perl/5.30.2_1/bin/perl Makefile.PL -- NOT OK
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall perl`
==> Caveats
By default non-brewed cpan modules are installed to the Cellar. If you wish
for your modules to persist across updates we recommend using `local::lib`.
You can set that up like this:
PERL_MM_OPT="INSTALL_BASE=$HOME/perl5" cpan local::lib
echo 'eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib=$HOME/perl5)"' >> ~/.bash_profile
==> Summary
🍺 /home/linuxbrew/.linuxbrew/Cellar/perl/5.30.2_1: 2,451 files, 70.3MB
$ brew postinstall perl
==> Postinstalling perl
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall perl`
$ EXPATLIBPATH=/home/linuxbrew/.linuxbrew/Cellar/expat/2.2.9/lib EXPATINCPATH=/home/linuxbrew/.linuxbrew/Cellar/expat/2.2.9/include cpan -i XML::Parser
Loading internal logger. Log::Log4perl recommended for better logging
Reading '/home/gigix/VSCode-Anywhere/apps/vscode-anywhere/home/.cpan/Metadata'
Database was generated on Fri, 08 May 2020 10:41:02 GMT
Running install for module 'XML::Parser'
Checksum for /home/gigix/VSCode-Anywhere/apps/vscode-anywhere/home/.cpan/sources/authors/id/T/TO/TODDR/XML-Parser-2.46.tar.gz ok
'YAML' not installed, will not store persistent state
Configuring T/TO/TODDR/XML-Parser-2.46.tar.gz with Makefile.PL
Expat must be installed prior to building XML::Parser and I can't find
it in the standard library directories. Install 'expat-devel' (or
'libexpat1-dev') package with your OS package manager. See 'README'.
Or you can download expat from:
http://sourceforge.net/projects/expat/
If expat is installed, but in a non-standard directory, then use the
following options to Makefile.PL:
EXPATLIBPATH=... To set the directory in which to find libexpat
EXPATINCPATH=... To set the directory in which to find expat.h
For example:
perl Makefile.PL EXPATLIBPATH=/home/me/lib EXPATINCPATH=/home/me/include
Note that if you build against a shareable library in a non-standard location
you may (on some platforms) also have to set your LD_LIBRARY_PATH environment
variable at run time for perl to find the library.
No 'Makefile' created TODDR/XML-Parser-2.46.tar.gz
/home/linuxbrew/.linuxbrew/Cellar/perl/5.30.2_1/bin/perl Makefile.PL -- NOT OK
If expat-devel is installed on the current system, the compilation works. But currently, Perl does not seem to detect the brew expact lib/header to compile.
If expat-devel is installed on the current system, the compilation works. But currently, Perl does not seem to detect the brew expact lib/header to compile.
That's a different bug. Please report it to linuxbrew-core.
brew update
and can still reproduce the problem?brew doctor
, fixed all issues and can still reproduce the problem?brew config
andbrew doctor
and included their output with your issue?What you were trying to do (and why)
Install the php package
The no return code 0 is problematic with the implementation of an automatic installation script.
What happened (include command output)
brew install php
returns code 1brew install php
What you expected to happen
Returns the code 0 and not 1
Step-by-step reproduction instructions (by running
brew
commands)On Linux run:
Output of
brew config
andbrew doctor
commands