This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Wed Feb 22 15:58:43 ~/Downloads/readline-6.2 | |
$ ./configure | |
checking build system type... i386-apple-darwin11.3.0 | |
checking host system type... i386-apple-darwin11.3.0 | |
Beginning configuration for readline-6.2 for i386-apple-darwin11.3.0 | |
checking whether make sets $(MAKE)... no | |
checking for gcc... no | |
checking for cc... no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thu Feb 23 15:24:02 ~/Downloads/MySQL-python-1.2.3 | |
$ python setup.py build | |
running build | |
running build_py | |
copying MySQLdb/release.py -> build/lib.macosx-10.6-intel-2.7/MySQLdb | |
running build_ext | |
building '_mysql' extension | |
clang -fno-strict-aliasing -fno-common -dynamic -g -O2 -DNDEBUG -g -O3 -Dversion_info=(1,2,3,'final',0) -D__version__=1.2.3 -I/usr/local/mysql/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c _mysql.c -o build/temp.macosx-10.6-intel-2.7/_mysql.o -Os -g -fno-common -fno-strict-aliasing -arch x86_64 | |
In file included from _mysql.c:36: | |
/usr/local/mysql/include/my_config.h:329:11: warning: 'SIZEOF_SIZE_T' macro redefined |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bryan@Bryans-MacBook-Pro Thu Feb 23 16:39:43 ~/Downloads/MySQL-python-1.2.3 | |
$ sudo ln -s `which clang` /usr/bin/gcc-4.2 | |
Password: | |
Bryan@Bryans-MacBook-Pro Thu Feb 23 16:42:07 ~/Downloads/MySQL-python-1.2.3 | |
$ quotes | |
Complete abstinence is easier than perfect moderation. | |
- Saint Augustine | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo ln -s `which clang` /usr/bin/gcc-4.2 | |
Password: | |
Bryan@Bryans-MacBook-Pro Thu Feb 23 16:42:07 ~/Downloads/MySQL-python-1.2.3 | |
$ source .bash_profile | |
Thu Feb 23 16:42:15 ~/Downloads/MySQL-python-1.2.3 | |
$ python setup.py build | |
running build | |
running build_py | |
copying MySQLdb/release.py -> build/lib.macosx-10.6-intel-2.7/MySQLdb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ pip install mysql-python | |
Downloading/unpacking mysql-python | |
Downloading MySQL-python-1.2.3.tar.gz (70Kb): 70Kb downloaded | |
Running setup.py egg_info for package mysql-python | |
warning: no files found matching 'MANIFEST' | |
warning: no files found matching 'ChangeLog' | |
warning: no files found matching 'GPL' | |
Installing collected packages: mysql-python | |
Running setup.py install for mysql-python |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MODULE_LIST = filter(lambda m: getattr(m, 'CAN_USE', True), [ | |
__import__('forum_modules.%s' % f, globals(), locals(), ['forum_modules']) | |
for f in os.listdir(MODULES_FOLDER) | |
if os.path.isdir(os.path.join(MODULES_FOLDER, f)) and | |
os.path.exists(os.path.join(MODULES_FOLDER, "%s/__init__.py" % f)) and | |
not f in DISABLED_MODULES | |
]) |