erichocean / libjingle

Automatically exported from code.google.com/p/libjingle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error installing on ubuntu 11.04

GoogleCodeExporter opened this issue · comments

What steps will reproduce the problem?

Using the following sources:
SCONS: 
http://sourceforge.net/projects/scons/files/scons-src/2.0.1/scons-local-2.0.1.zi
p
swtoolkit: 
http://code.google.com/p/swtoolkit/downloads/detail?name=swtoolkit.0.9.1.zip
libjingle: 
http://code.google.com/p/libjingle/downloads/detail?name=libjingle-0.5.8-with-bu
g-fixes.zip&can=2&q=
srtp: http://libjingle.googlecode.com/files/srtp-cvs.zip
expat: 
http://sourceforge.net/projects/expat/files/expat/2.0.1/expat-2.0.1.tar.gz

#install additional libs 

sudo apt-get install libssl-dev
sudo apt-get install libasound2-dev
sudo apt-get install gtk+2.0

#export env variables (project root /home/silviu/Desktop/src/)

export 
SCONS_DIR=/home/silviu/Desktop/src/libjingle/scons-local/scons-local-2.0.1
export PATH_TO_SWTOOLKIT=/home/silviu/Desktop/src/swtoolkit
export PATH=$PATH:$PATH_TO_SWTOOLKIT

#configure expat
cd Desktop/src/libjingle-0.5.8/talk/third_party/expat-2.0.1
./configure

#configure srtp
cd ../srtp
./configure

#go to libjingle-0.5.8/talk
cd ../..

#compile
$PATH_TO_SWTOOLKIT/hammer.sh

What is the expected output? What do you see instead?

Scons throw the following error:

silviu@silviu-desktop:~/Desktop/src/libjingle-0.5.8/talk$ 
$PATH_TO_SWTOOLKIT/hammer.sh
Traceback (most recent call last):
  File "/home/silviu/Desktop/src/swtoolkit/wrapper.py", line 44, in <module>
    import SCons.Script
ImportError: No module named SCons.Script

What version of the product are you using? On what operating system?

libjingle-0.5.8 on Ubuntu 11.04 (x32)




Original issue reported on code.google.com by silviu.cpp@gmail.com on 20 Aug 2011 at 5:23

your path "export 
SCONS_DIR=/home/silviu/Desktop/src/libjingle/scons-local/scons-local-2.0.1" 
should be modify like this:export 
SCONS_DIR=/home/silviu/Desktop/src/libjingle/scons-local/scons-local-2.0.1/engin
e

Original comment by pcg70512...@gmail.com on 21 Aug 2011 at 3:14

I have followed the instructions from README file.

"Second, install the stand alone scons-local zip package 2.0.0 or later from 
http://www.scons.org/download.php and set an environment variable, SCONS_DIR, 
to point to the directory containing SCons."

So I had downloaded the 
http://sourceforge.net/projects/scons/files/scons-src/2.0.1/scons-local-2.0.1.zi
p and extracted to /home/silviu/Desktop/src/libjingle/scons-local/. The problem 
is that i don't have any engine folder inside. 

Do I need to download another version?


Original comment by silviu.cpp@gmail.com on 21 Aug 2011 at 9:12

fixed: actually the path is : export 
SCONS_DIR=/home/silviu/Desktop/src/libjingle/scons-local/scons-local-2.0.1/scons
-local-2.0.1

Original comment by silviu.cpp@gmail.com on 22 Aug 2011 at 8:35

Original comment by jun...@google.com on 10 Feb 2012 at 12:57

  • Changed state: Done
export 
SCONS_DIR=/home/silviu/Desktop/src/libjingle/scons-local/scons-local-2.0.1
rename the scons-local-2.0.1 in the libjingle dir to scons-local
i got the same problem before.

Original comment by zhenguo...@gmail.com on 28 Aug 2012 at 3:16