No title

Started by secretover 26 years ago1 messagesbugs
Jump to latest
#1secret
secret@nexus.kearneydev.com

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 : David Secret
Your email address : secret@kearneydev.com

System Configuration
---------------------
Architecture (example: Intel Pentium) : PII-333MHz

Operating System (example: Linux 2.0.26 ELF) : RH 5.2, Linux 2.2.12

PostgreSQL version (example: PostgreSQL-6.5.2): PostgreSQL-6.5.2

Compiler used (example: gcc 2.8.0) : gcc 2.7.2.3

Please enter a FULL description of your problem:
------------------------------------------------
make[2]: Entering directory `/usr/local/src/postgresql-6.5.2/src/interfaces'
cd perl5 && perl5 Makefile.PL
/bin/sh: perl5: command not found
make[2]: *** [perl5/Makefile] Error 127

perl5 doesn't exist on a redhat-5.2... "perl" does, evadentally
this was misdetected or somesuch, not sure why or how. This is easily
fixed by me, however for most users it might be a good idea to make
it just execute perl.

I have perl:
This is perl, version 5.004_05 built for i386-linux
(with 1 registered patch, see perl -V for more detail)

Please describe a way to repeat the problem. Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------
./configure
make
<grin>

If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------
Instead of executing "perl5" execute "perl" instead, or detect for
the existance of perl5. Here is a diff:

-----------------------------------------------------------------------
*** Makefile.orig       Tue Oct 26 09:13:26 1999
--- Makefile    Tue Oct 26 09:13:43 1999
***************
*** 46,52 ****
  endif

perl5/Makefile: perl5/Makefile.PL
! cd perl5 && perl5 Makefile.PL

  install-perl5: perl5/Makefile
        $(MAKE) -C perl5 clean
--- 46,52 ----
  endif

perl5/Makefile: perl5/Makefile.PL
! cd perl5 && perl Makefile.PL

install-perl5: perl5/Makefile
$(MAKE) -C perl5 clean
-----------------------------------------------------------------------

After applying this it compiled fine.