On May 14, 2012, at 3:13 PM, Mark Peek wrote: > On 5/14/12 12:31 PM, Charles Davis wrote: >> >> On May 14, 2012, at 1:16 PM, Mark Peek wrote: >> >>> I recently updated by tree and had problems running lldb due to Python >>> issues. >>> Below is what I've been able to determine is the issue. I thought asking the >>> list first for directional advice would make more sense prior to suggesting >>> a >>> patch. >>> >>> This revision changed the Python files into a Python package: >>> http://llvm.org/viewvc/llvm-project?view=rev&revision=155514 >>> >>> However, this broke running on FreeBSD since the finish-swig-Python-LLDB.sh >>> script is only run from an Xcode build even though the script appears to >>> support both LLDB.framework and non-Darwin builds. For non-Darwin builds the >>> Python file install is done in source/Interpreter/Makefile (which was not >>> changed to support the new packaging and usage). >> And now it is. Try this patch. > > Thank you for the patch. For FreeBSD I had to switch a couple of the echos > from using \c in the string to using "echo -n". Yeah, I wanted to use "echo -n" but all that did on my computer was write '-n' to the files. > After that it worked great for the in-tree version. That was unexpected, considering that I haven't modified the test makefiles to point to the lldb package yet. > > Are you going to submit the patch out to lldb-commit? Not yet. I need to figure out a portable way to write text to a file without a trailing newline.
Chip _______________________________________________ lldb-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
