Kronuz/SublimeCodeIntel — Issue #80: Cannot rebuild libs
Author: kgrossjo
Created: 2012-01-15 05:58:50+00:00
State: open

I got a bogus "couldn't determine language" warning. It's bogus because the syntax of the file is PHP, which is a supported language. Then I looked at the Python console and saw an error. This looked like a Python/C integration problem, so I thought I might want to recombine the libraries.

So I did `cd src; ./build.sh`, but that fails with the following error:

../scintilla/src/LexUDL.cxx:21:18: error: pcre.h: No such file or directory

Here is the Python console output that prompted me to attempt building:

Exception in thread scanning thread:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 532, in __bootstrap_inner
self.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 484, in run
self.__target(*self.__args, **self.__kwargs)
File "./SublimeCodeIntel.py", line 607, in _codeintel_scan
File "/Users/kgrossjo/Library/Application Support/Sublime Text 2/Packages/SublimeCodeIntel/libs/codeintel2/manager.py", line 351, in buf_from_content
buf = buf_class(self, accessor, env, path, encoding)
File "/Users/kgrossjo/Library/Application Support/Sublime Text 2/Packages/SublimeCodeIntel/libs/codeintel2/lang_php.py", line 1168, in __init__
super(PHPBuffer, self).__init__(*args, **kwargs)
TypeError: super(type, obj): obj must be an instance or subtype of type