I downloaded and installed libjingle-0.5.2.zip, and according to README, I also downloaded and installed swtoolkit.0.9.1.zip, scons-local-2.1.0.alpha.201011212.tar.gz and expat -2.0.1 .tar.gz, and got nrtp cvs download. After overwriting my Makefile twice, trying to follow a rather poorly written README, I came up with the following Makefile, which almost works:
# First, make sure the SCONS_DIR environment variable is set correctly. SCONS_DIR ?= /usr/src/scons-local/scons-local-2.1.0.alpha.20101125/ #SCONS_DIR ?= /usr/src/scons-local/ export default: build # Second, run talk/third_party/expat-2.0.1/configure... talk/third_party/expat-2.0.1/Makefile: cd talk/third_party/expat-2.0.1 && ./configure # ...and talk/third_party/srtp/configure. talk/third_party/srtp/Makefile: cd talk/third_party/srtp && ./configure # Third, go to the talk/ directory and run $path_to_swtoolkit/hammer.sh. Run # $path_to_swtoolkit/hammer.sh --help for information on how to build for # different modes. build: talk/third_party/expat-2.0.1/Makefile talk/third_party/srtp/Makefile cd talk && ../../swtoolkit/hammer.sh help: ../swtoolkit/hammer.sh --help
However, make gives me the following errors:
jcomeau @ intrepid: /usr/src/libjingle-0.5.2$ make
cd talk && ../../swtoolkit/hammer.sh
*** Error loading site_init file './../../swtoolkit/site_scons/site_init.py':
AttributeError: 'Dir' object has no attribute 'endswith':
File "/usr/src/scons-local/scons-local-2.1.0.alpha.20101125/SCons/Script/Main.py", line 1338:
_exec_main (parser, values)
File "/usr/src/scons-local/scons-local-2.1.0.alpha.20101125/SCons/Script/Main.py", line 1302:
_main (parser)
File "/usr/src/scons-local/scons-local-2.1.0.alpha.20101125/SCons/Script/Main.py", line 929:
_load_site_scons_dir (d.path, options.site_dir)
File "/usr/src/scons-local/scons-local-2.1.0.alpha.20101125/SCons/Script/Main.py", line 719:
exec fp in site_m
File "./../../swtoolkit/site_scons/site_init.py", line 455:
SiteInitMain ()
File "./../../swtoolkit/site_scons/site_init.py", line 451:
SCons.Node.FS.get_default_fs (). SConstruct_dir, None)
File "/usr/src/scons-local/scons-local-2.1.0.alpha.20101125/SCons/Script/Main.py", line 677:
site_dir = os.path.join (topdir, site_dir_name)
File "/usr/lib/python2.6/posixpath.py", line 67:
elif path == '' or path.endswith ('/'):
make: *** [build] Error 2
I assume that something new (a Dir object where a POSIX path string is expected) in one of the packages breaks the build process, but which one? There are too many steepness layers for me to follow. Of course, I could just try to use the old packages, especially for swtoolkit and scons, but if someone here successfully compiled libjingle and could push me in the right direction, I would appreciate it.
python google-code libjingle
jcomeau_ictx
source share