<div dir="ltr"><div><div><div>Hi Barry,<br><br></div>Actually there was no directory(Doctrine)  in  /usr/share/php. So we created a soft-link of <b>Doctrine </b>under /usr/share/php <br><br>[root@nixi ixp]# ln -s /usr/local/ixp/doctrine   /usr/share/php<br><br></div>Regards,<br></div>Prakash<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 17, 2015 at 6:49 PM, Barry O'Donovan <span dir="ltr"><<a href="mailto:barry.odonovan@inex.ie" target="_blank">barry.odonovan@inex.ie</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi Chandra,<br>
<br>
Doctrine has to be installed via:<br>
<br>
pear channel-discover <a href="http://pear.symfony.com" rel="noreferrer" target="_blank">pear.symfony.com</a><br>
pear channel-discover <a href="http://pear.doctrine-project.org" rel="noreferrer" target="_blank">pear.doctrine-project.org</a><br>
pear install doctrine/DoctrineORM<br>
<br>
If you're on Ubuntu you also need to add a symlink:<br>
<br>
cd /usr/share/php/Doctrine<br>
ln -s ../Symfony<br>
<br>
See <a href="http://git.io/FhyIzQ" rel="noreferrer" target="_blank">http://git.io/FhyIzQ</a> for details.<br>
<br>
If that doesn't work, what's the output of:<br>
<br>
<br>
ls /usr/share/php<br>
ls /usr/share/php/Doctrine<br>
<br>
<br>
 - Barry<div><div class="h5"><br>
<br>
<br>
On 17/09/2015 11:51, chandra prakash wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hi,<br>
<br>
I was trying to install IXP-Manager but after execution of below<br>
mentioned command got error:<br>
Please guide me .<br>
<br>
[root@nixi bin]# ./doctrine2-cli.php orm:schema-tool:create<br>
<br>
PHP Warning:  require_once(/usr/share/php/Doctrine/ORM/Tools/Setup.php):<br>
failed to open stream: No such file or directory in<br>
/usr/local/ixp/library/OSS-Framework.git/src/OSS/Resource/Doctrine2cache.php<br>
on line 83<br>
PHP Fatal error:  require_once(): Failed opening required<br>
'/usr/share/php/Doctrine/ORM/Tools/Setup.php'<br>
(include_path='/usr/local/ixp/application/../library:/usr/local/ixp/application/../library/OSS_SNMP.git:/usr/local/ixp/application/../library/OSS-Framework.git:/usr/local/ixp/application/../library/Bootstrap-Zend-Framework/library:/usr/local/ixp/library:.:/usr/share/pear:/usr/share/php')<br>
in<br>
/usr/local/ixp/library/OSS-Framework.git/src/OSS/Resource/Doctrine2cache.php<br>
on line 83<br>
<br>
<br>
--------------------------------<br>
Chandra Prakash<br>
Sr Internet Resource Analyst<br>
National Internet Exchange of India<br>
<br>
<br>
<br></div></div>
_______________________________________________<br>
INEX IXP Manager mailing list<br>
<a href="mailto:ixpmanager@inex.ie" target="_blank">ixpmanager@inex.ie</a><br>
<a href="https://www.inex.ie/mailman/listinfo/ixpmanager" rel="noreferrer" target="_blank">https://www.inex.ie/mailman/listinfo/ixpmanager</a><br>
<br>
</blockquote>
<br>
-- <br>
<br>
Kind regards,<br>
Barry O'Donovan<br>
INEX Operations<br>
<br>
Mob: <a href="tel:%2B353%2086%20801%207669" value="+353868017669" target="_blank">+353 86 801 7669</a><br>
Tel: <a href="tel:%2B353%20%201%20685%204220" value="+35316854220" target="_blank">+353  1 685 4220</a><br>
<br>
+-------------------------------+-------------------------------------+<br>
| Open Source Solutions Ltd.    | INEX Operations Team                |<br>
| 52 Sandwith Street Lower,     | Internet Neutral Exchange           |<br>
| Dublin D02 WR26, Ireland      | Association, 4027 Kingswood Road,   |<br>
|                               | Citywest Business Campus, Dublin 24 |<br>
| <a href="http://www.opensolutions.ie/" rel="noreferrer" target="_blank">http://www.opensolutions.ie/</a>  | <a href="http://www.inex.ie/" rel="noreferrer" target="_blank">http://www.inex.ie/</a>                 |<br>
+-------------------------------+-------------------------------------+<br>
_______________________________________________<br>
INEX IXP Manager mailing list<br>
<a href="mailto:ixpmanager@inex.ie" target="_blank">ixpmanager@inex.ie</a><br>
<a href="https://www.inex.ie/mailman/listinfo/ixpmanager" rel="noreferrer" target="_blank">https://www.inex.ie/mailman/listinfo/ixpmanager</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">--------------------------------<br>Chandra Prakash<br>Sr Internet Resource Analyst<br>National Internet Exchange of India<br><br></div></div>
</div>