jigar-joshi / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

Libjingle 0.5.1 compilation error in linux #88

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
After executing the command ./swtoolkit/hammer.sh

output is:
scons: Reading SConscript files ...
/home/satya/Downloads/libjingle-0.5.1/talk/swtoolkit/site_scons/site_tools/compo
nent_targets_msvs.py:34: DeprecationWarning: the md5 module is deprecated; use 
hashlib instead
  import md5

scons: warning: No installed VCs
File 
"/home/satya/Downloads/libjingle-0.5.1/talk/swtoolkit/site_scons/site_tools/targ
et_platform_windows.py", line 283, in generate

scons: warning: No version of Visual Studio compiler found - C/C++ compilers 
most likely not set correctly
File 
"/home/satya/Downloads/libjingle-0.5.1/talk/swtoolkit/site_scons/site_tools/targ
et_platform_windows.py", line 283, in generate

scons: warning: The build_dir keyword has been deprecated; use the variant_dir 
keyword instead.
File "././swtoolkit/site_scons/site_init.py", line 203, in 
BuildEnvironmentSConscripts
scons: done reading SConscript files.
scons: Building targets ...
________Compiling build/dbg/obj/base/linux.o
sh: o: not found
.
.
.
.
I dono why its going for windows when i am compiling on linux.Do i need to do 
some settings to compile on linux??

Original issue reported on code.google.com by satya.bh...@gmail.com on 9 Nov 2010 at 8:40

Attachments:

GoogleCodeExporter commented 9 years ago
why it doesn't check for target_platform_linux.py??

Original comment by satya.bh...@gmail.com on 9 Nov 2010 at 9:17

GoogleCodeExporter commented 9 years ago
I solved the issue by installing g++ compiler.U need both gcc and g++ compilers.

Original comment by satya.bh...@gmail.com on 9 Nov 2010 at 10:16

GoogleCodeExporter commented 9 years ago
Had to modify swtoolkit/site_scons/site_tools/target_platform_windows.py in 
order to get rid of these warnings.

Original comment by sebastien.martini on 10 Dec 2010 at 6:22

Attachments:

GoogleCodeExporter commented 9 years ago
thank you. This info helped me!

Original comment by krishna....@gmail.com on 28 May 2011 at 8:55

GoogleCodeExporter commented 9 years ago
There shouldn't be such issue if you have the correct compiler installed. 
Please open a new issue if you still not able to build on Linux.

Original comment by jun...@google.com on 7 Jun 2011 at 9:39