Problem with python compile
| От | Bruce Momjian |
|---|---|
| Тема | Problem with python compile |
| Дата | |
| Msg-id | 200203250149.g2P1nBn20469@candle.pha.pa.us обсуждение исходный текст |
| Ответы |
Re: Problem with python compile
Re: Problem with python compile |
| Список | pgsql-interfaces |
I am seeing the following warning message when compiling interfaces/python: --------------------------------------------------------------------------- gcc -O2 -pipe -m486 -Wall -Wmissing-prototypes -Wmissing-declarations -O0 -Wall -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wcast-align -fpic - I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/readl ine -I/usr/contrib/include -I/usr/contrib/include/python1.5 -c -o pgmodule.o pg module.c pgmodule.c: In function `pgsource_dealloc': pgmodule.c:346: warning: implicit declaration of function `PyObject_DEL' --------------------------------------------------------------------------- This was introduced by the following patch: --------------------------------------------------------------------------- Revision 1.35 / (download) - annotate - [select for diffs] , Wed Mar 20 14:36:06 2002 UTC (4 days, 11 hours ago) by darcy CVS Tags: HEAD Changes since 1.34: +4 -4 lines Diff to previous 1.34 PyGreSQL causes a segfault when used with a Python executable that was compiled with --with-pymalloc. This change fixes that. Thanks to Dave Wallace <dwallace@udel.edu> --------------------------------------------------------------------------- The patch changes PyMem_DEL(self) to PyObject_DEL(self). This is with python 1.5. I suggest that we should reverse out this patch. The fix for --with-pymalloc clearly is causing problems for regular compiles. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026
В списке pgsql-interfaces по дате отправления: