PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, August 31, 2022

[FIXED] How to generate package.xml file for pear

 August 31, 2022     pear     No comments   

Issue

I just need a tool to generate this file. I've seen there is a tool called pfm (pear file manager), but it's in alpha and I got errors when I try to run pear build:

s3v3n@s3v3n-laptop:~/dev/project/modules/custommodule$ pear build
running: phpize
Cannot find config.m4.
Make sure that you run '/usr/bin/phpize' in the top level source directory of 
the module `phpize' failed

I have doubts about the second pfm question:

Enter the base install directory*:

I typed /. Could this be the problem? What should I enter instead?

If you know other tools that work fine, please suggest them too.


Solution

The problem is that pear build is not the correct command to generate the package.xml file. The correct command is: pear package.



Answered By - s3v3n
Answer Checked By - Mary Flores (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing