Midgard 1.8alpha2 and PEAR
Posted on 2006-03-04 17:00:08 EET.
I am trying to install
somehow Midgard
CVS
HEAD with pearized MidCOM.
At the beginning I was surprised that no pear packages is
installed , so I changed a bit my local
datagard script , to force it to exit before asking about
Virtual Hosts. As the initial setup is quite fast now I created
another one database so I was able to see what happens with
pear packages.
Installing PEAR packages...
downloading PEAR-1.4.7.tgz ...
Starting to download PEAR-1.4.7.tgz (280,249 bytes)
............done: 280,249 bytes
requires package `Archive_Tar' >= 1.3.1
PEAR: Dependencies failed
OK, that's not nice , but pear could handle this somehow.
And next line:
Command 'pear.midcom-project.org' is not valid, try 'pear help'
What? The command was:
pear channel-discover pear.midcom-project.org
Let's try help:
pear help channel-discover
Command 'channel-discover' is not valid, try 'pear help'
OK, let's try to look for it:
grep -re channel /usr/share/php/*
No results.
I am using debian and that means that I may have php4 and php5
installed , and if you consider the fact that pear script looks
for php command which is a link to php5 by default, you may
notice some not nice surprise with great segfault caused by
using php5 cli with midgard php extension builded for php4.
Currently I have no idea how to solve all these problems.
updated: I tested it
also with PEAR 1.4.6 , but with no luck