If PostgreSQL failed to compile on your computer or you found a bug that is likely to be specific to one platform then please fill out this form and e-mail it to pgsql-ports@postgresql.org. To report any other bug, fill out the form below and e-mail it to pgsql-bugs@postgresql.org. If you not only found the problem but solved it and generated a patch then e-mail it to pgsql-patches@postgresql.org instead. Please use the command "diff -c" to generate the patch. You may also enter a bug report at http://www.postgresql.org/ instead of e-mail-ing this form. ============================================================================ POSTGRESQL BUG REPORT TEMPLATE ============================================================================ Your name : Bas ten Berge Your email address : Bas.ten.Berge@BigDude.DHS.org System Configuration --------------------- Architecture (example: Intel Pentium) : Intel PII 266 Operating System (example: Linux 2.0.26 ELF) : Linux 2.4.3 XFS PostgreSQL version (example: PostgreSQL-7.1): PostgreSQL-7.1 Compiler used (example: gcc 2.8.0) : gcc 2.95.3 Please enter a FULL description of your problem: ------------------------------------------------ I installed readline 4.2 and are not able to run postgresql since then. I tried compiling it without readline support but that doesn't seem to work. Here is the output: tab-complete.c: In function `initialize_readline': tab-complete.c:103: warning: assignment from incompatible pointer type tab-complete.c: In function `psql_completion': tab-complete.c:292: warning: implicit declaration of function `completion_matches' tab-complete.c:292: warning: assignment makes pointer from integer without a cast tab-complete.c:296: warning: assignment makes pointer from integer without a cast tab-complete.c:301: warning: assignment makes pointer from integer without a cast tab-complete.c:309: warning: assignment makes pointer from integer without a cast tab-complete.c:320: warning: assignment makes pointer from integer without a cast tab-complete.c:325: warning: assignment makes pointer from integer without a cast tab-complete.c:332: warning: assignment makes pointer from integer without a cast tab-complete.c:337: warning: assignment makes pointer from integer without a cast tab-complete.c:342: warning: assignment makes pointer from integer without a cast tab-complete.c:347: warning: assignment makes pointer from integer without a cast tab-complete.c:350: warning: assignment makes pointer from integer without a cast tab-complete.c:366: warning: assignment makes pointer from integer without a cast tab-complete.c:371: warning: assignment makes pointer from integer without a cast tab-complete.c:378: warning: assignment makes pointer from integer without a cast tab-complete.c:381: warning: assignment makes pointer from integer without a cast tab-complete.c:392: warning: assignment makes pointer from integer without a cast tab-complete.c:400: warning: assignment makes pointer from integer without a cast tab-complete.c:406: warning: assignment makes pointer from integer without a cast tab-complete.c:410: warning: assignment makes pointer from integer without a cast tab-complete.c:413: warning: assignment makes pointer from integer without a cast tab-complete.c:420: warning: assignment makes pointer from integer without a cast tab-complete.c:423: warning: assignment makes pointer from integer without a cast tab-complete.c:429: warning: assignment makes pointer from integer without a cast tab-complete.c:435: warning: assignment makes pointer from integer without a cast tab-complete.c:440: warning: assignment makes pointer from integer without a cast tab-complete.c:448: warning: assignment makes pointer from integer without a cast tab-complete.c:455: warning: assignment makes pointer from integer without a cast tab-complete.c:460: warning: assignment makes pointer from integer without a cast tab-complete.c:465: warning: assignment makes pointer from integer without a cast tab-complete.c:473: warning: assignment makes pointer from integer without a cast tab-complete.c:478: warning: assignment makes pointer from integer without a cast tab-complete.c:490: warning: assignment makes pointer from integer without a cast tab-complete.c:493: warning: assignment makes pointer from integer without a cast tab-complete.c:496: warning: assignment makes pointer from integer without a cast tab-complete.c:506: warning: assignment makes pointer from integer without a cast tab-complete.c:514: warning: assignment makes pointer from integer without a cast tab-complete.c:521: warning: assignment makes pointer from integer without a cast tab-complete.c:532: warning: assignment makes pointer from integer without a cast tab-complete.c:541: warning: assignment makes pointer from integer without a cast tab-complete.c:545: warning: assignment makes pointer from integer without a cast tab-complete.c:553: warning: assignment makes pointer from integer without a cast tab-complete.c:556: warning: assignment makes pointer from integer without a cast tab-complete.c:559: warning: assignment makes pointer from integer without a cast tab-complete.c:569: warning: assignment makes pointer from integer without a cast tab-complete.c:572: warning: assignment makes pointer from integer without a cast tab-complete.c:578: warning: assignment makes pointer from integer without a cast tab-complete.c:582: warning: assignment makes pointer from integer without a cast tab-complete.c:587: warning: assignment makes pointer from integer without a cast tab-complete.c:592: warning: assignment makes pointer from integer without a cast tab-complete.c:599: warning: assignment makes pointer from integer without a cast tab-complete.c:604: warning: assignment makes pointer from integer without a cast tab-complete.c:606: warning: assignment makes pointer from integer without a cast tab-complete.c:608: warning: assignment makes pointer from integer without a cast tab-complete.c:619: warning: assignment makes pointer from integer without a cast tab-complete.c:622: warning: assignment makes pointer from integer without a cast tab-complete.c:626: warning: assignment makes pointer from integer without a cast tab-complete.c:634: warning: assignment makes pointer from integer without a cast tab-complete.c:640: warning: assignment makes pointer from integer without a cast tab-complete.c:646: warning: assignment makes pointer from integer without a cast tab-complete.c:651: warning: assignment makes pointer from integer without a cast tab-complete.c:660: warning: assignment makes pointer from integer without a cast tab-complete.c:666: warning: assignment makes pointer from integer without a cast tab-complete.c:672: warning: assignment makes pointer from integer without a cast tab-complete.c:678: warning: assignment makes pointer from integer without a cast tab-complete.c:682: warning: assignment makes pointer from integer without a cast tab-complete.c:687: warning: assignment makes pointer from integer without a cast tab-complete.c:690: warning: assignment makes pointer from integer without a cast tab-complete.c:698: warning: assignment makes pointer from integer without a cast tab-complete.c:702: warning: assignment makes pointer from integer without a cast tab-complete.c:704: warning: assignment makes pointer from integer without a cast tab-complete.c:709: warning: assignment makes pointer from integer without a cast tab-complete.c:714: warning: assignment makes pointer from integer without a cast tab-complete.c:716: warning: assignment makes pointer from integer without a cast tab-complete.c:718: warning: assignment makes pointer from integer without a cast tab-complete.c:725: warning: assignment makes pointer from integer without a cast tab-complete.c:734: `filename_completion_function' undeclared (first use in this function) tab-complete.c:734: (Each undeclared identifier is reported only once tab-complete.c:734: for each function it appears in.) tab-complete.c:734: warning: assignment makes pointer from integer without a cast tab-complete.c:749: warning: assignment makes pointer from integer without a cast tab-complete.c:763: warning: assignment makes pointer from integer without a cast make[3]: *** [tab-complete.o] Error 1 make[3]: Leaving directory `/usr/local/src/postgresql-7.1/src/bin/psql' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/local/src/postgresql-7.1/src/bin' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/src/postgresql-7.1/src' make: *** [all] Error 2 [prompt]$ Please describe a way to repeat the problem. Please try to provide a concise reproducible example, if at all possible: ---------------------------------------------------------------------- Install GNU Readline 4.2 (ftp.gnu.org) and try to compile with gcc 2.95.3. Everything goes into /usr, but that shouldn't make a difference. If you know how this problem might be fixed, list the solution below: --------------------------------------------------------------------- Install readline 2.2 - the problem will not be fixed then but Postgres can be compiled and run.