[MacPorts] #59131: p5.28-xml-parser @2.460.0_0: build make fails with "no rule to make target 'all'."

MacPorts noreply at macports.org
Tue Oct 1 14:42:02 UTC 2019


#59131: p5.28-xml-parser @2.460.0_0: build make fails with "no rule to make target
'all'."
----------------------------+--------------------
  Reporter:  jeffszuhay     |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.6.0
Resolution:                 |   Keywords:
      Port:  p5-xml-parser  |
----------------------------+--------------------

Comment (by kencu):

 Cpan can't install it either:
 {{{
 $ sudo /opt/universalnew/bin/perl5.28 -MCPAN -e 'install XML::Parser'
 Reading '/Users/cunningh/.cpan/Metadata'
   Database was generated on Tue, 01 Oct 2019 04:55:26 GMT
 Running install for module 'XML::Parser'
 Fetching with LWP:
 http://www.cpan.org/authors/id/T/TO/TODDR/XML-Parser-2.46.tar.gz
 Warning (usually harmless): 'YAML' not installed, cannot parse
 '/Users/cunningh/.cpan/FTPstats.yml'
 Fetching with LWP:
 http://www.cpan.org/authors/id/T/TO/TODDR/CHECKSUMS
 Checksum for /Users/yourname/.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
   /opt/universalnew/bin/perl5.28 Makefile.PL -- NOT OK
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/59131#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list