Install failure

Moderator: areski

Install failure

Postby pmurphy » Tue Apr 02, 2013 3:39 pm

I used the beginners guide and it failed on dependancies after the freeswitch install. I attempted restarting install but failed again.

I was reviewing the Full Doc. install, and it seems to imply a download possibly proior to start. Could you add some clarity to the beginning of process, and I will try to launch in this fashion. I am in the process of fresh install of OS.

Here is the error from the last attempt, and from visual memory it was the same as first try.


Searching for distribute
Reading http://pypi.python.org/simple/distribute/
Reading http://packages.python.org/distribute
Best match: distribute 0.6.35
Processing distribute-0.6.35-py2.7.egg
distribute 0.6.35 is already the active version in easy-install.pth
Installing easy_install script to /usr/share/virtualenvs/newfies-dialer/bin
Installing easy_install-2.7 script to /usr/share/virtualenvs/newfies-dialer/bin

Using /usr/share/virtualenvs/newfies-dialer/lib/python2.7/site-packages/distribute-0.6.35-py2.7.egg
Processing dependencies for distribute
Finished processing dependencies for distribute
Downloading/unpacking importlib
Running setup.py egg_info for package importlib
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/usr/share/virtualenvs/newfies-dialer/build/importlib/setup.py", line 6, in <module>
raise Exception("importlib is included in Python 2.7 and newer for 2.x")
Exception: importlib is included in Python 2.7 and newer for 2.x
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

File "<string>", line 16, in <module>

File "/usr/share/virtualenvs/newfies-dialer/build/importlib/setup.py", line 6, in <module>

raise Exception("importlib is included in Python 2.7 and newer for 2.x")

Exception: importlib is included in Python 2.7 and newer for 2.x

----------------------------------------
Command python setup.py egg_info failed with error code 1 in /usr/share/virtualenvs/newfies-dialer/build/importlib
Storing complete log in /root/.pip/pip.log
Install basic requirements...
cat: /usr/src/newfies-dialer/install/requirements/basic-requirements.txt: No such file or directory
Install Django requirements...
cat: /usr/src/newfies-dialer/install/requirements/django-requirements.txt: No such file or directory
make MYLIB="../libesl.a" SOLINK="-shared -Xlinker -x" CFLAGS="-I/usr/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2" CXXFLAGS="-I/usr/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC" CXX_CFLAGS="" -C python
make[1]: Entering directory `/usr/src/freeswitch/libs/esl/python'
g++ -I/usr/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC `python ./python-config --includes` -c esl_wrap.cpp -o esl_wrap.o
g++ -shared -Xlinker -x esl_wrap.o ../libesl.a `python ./python-config --ldflags` -o _ESL.so -L.
make[1]: Leaving directory `/usr/src/freeswitch/libs/esl/python'
make -C python install
make[1]: Entering directory `/usr/src/freeswitch/libs/esl/python'
install -m 755 _ESL.so /`python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"`
install -m 755 ESL.py /`python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"`
make[1]: Leaving directory `/usr/src/freeswitch/libs/esl/python'

Checking Python dependencies...

Error : South not installed...
root@newfies:/#
pmurphy
 
Posts: 19
Joined: Mon Apr 01, 2013 11:41 pm

Re: Install failure

Postby areski » Tue Apr 02, 2013 4:16 pm

Can you pastebin the totality of the install script output?

Yours,
/Areski
areski
Site Admin
 
Posts: 302
Joined: Tue Oct 18, 2011 5:28 pm

Re: Install failure

Postby pmurphy » Tue Apr 02, 2013 4:47 pm

pmurphy
 
Posts: 19
Joined: Mon Apr 01, 2013 11:41 pm

Re: Install failure

Postby pmurphy » Tue Apr 02, 2013 4:49 pm

The initial instructions to run $ pip install -r requirements.txt seem to be an error, I found all-requirements and attemtped to run. You will see failure. Reviewing all-requirements.txt, I then attempted to run the basic-requirements.txt.

Before I go further maybe you can correct my error in following your directions.

Thanks,
pmurphy
 
Posts: 19
Joined: Mon Apr 01, 2013 11:41 pm

Re: Install failure

Postby pmurphy » Tue Apr 02, 2013 6:47 pm

investigating install of psycopg2 and found sudo apt-get build-dep psycopg2 to resolve dependancies for it
Not sure if I am on right track moving through basic-requirements manually
pmurphy
 
Posts: 19
Joined: Mon Apr 01, 2013 11:41 pm

Re: Install failure

Postby pmurphy » Tue Apr 02, 2013 7:29 pm

Installed these requirements with
pip install https://github.com/Star2Billing/django- ... master.zip
And same for /jschrewe.. na d/areski...
pmurphy
 
Posts: 19
Joined: Mon Apr 01, 2013 11:41 pm

Re: Install failure

Postby areski » Tue Apr 02, 2013 10:06 pm

For installation if you are not familiar with our codebase, it's much more easy to simply use our install script as described in our beginner guide :
http://www.newfies-dialer.org/documenta ... ers-guide/

Take a new Ubuntu 12.04 TLS and run the install.
areski
Site Admin
 
Posts: 302
Joined: Tue Oct 18, 2011 5:28 pm

Re: Install failure

Postby pmurphy » Wed Apr 03, 2013 12:45 am

Thanks,
That is the process I tried first with failures due to dependencies, I tried to kick it off more than once. I will try that option again if I can not complete the manual install tomorrow.
pmurphy
 
Posts: 19
Joined: Mon Apr 01, 2013 11:41 pm

Re: Install failure

Postby areski » Wed Apr 03, 2013 7:05 am

Then please send the output of the install script, with this we can try to help you.
areski
Site Admin
 
Posts: 302
Joined: Tue Oct 18, 2011 5:28 pm

Re: Install failure

Postby pmurphy » Wed Apr 03, 2013 4:30 pm

I again failed at newfies install after what looked like a successful freeswitch install. I am logging output from session attempting to run install-all.sh. How would you like me to send to you if it fails again.
pmurphy
 
Posts: 19
Joined: Mon Apr 01, 2013 11:41 pm

Next

Return to Installation

Who is online

Users browsing this forum: No registered users and 30 guests

cron