nielsv
nielsv

Reputation: 6820

propel-gen: command not found (phing)

I've installed the Propel ORM in my Zend Framework project with the following commands:

pear channel-discover pear.phing.info
pear install phing/phing
pear install Log

But always when I try to run propel-gen I get the following error:

propel-gen: command not found

I've already looked at this post on stackoverflow and tried the following:

I assume that this is correct?

I forgot to install propel but when I want to load the command

propel-gen om

I get the following erros:

enter image description here

(build.properties and schema.xml are in the same directory)

Upvotes: 0

Views: 2301

Answers (2)

Shaun Hare
Shaun Hare

Reputation: 3871

Cannot see where you have done this

pear channel-discover pear.propelorm.org
pear install -a propel/propel_generator
pear install -a propel/propel_runtime

Assume you have ?

Upvotes: 1

hek2mgl
hek2mgl

Reputation: 158150

You have actually installed phing and not propel. To install propel issue the following commands:

pear channel-discover pear.propelorm.org 
pear install -a propel/propel_generator
pear install -a propel/propel_runtime

Further note that you have to pass the -a option to pear list to see packages from all channels:

pear list -a

Upvotes: 1

Related Questions