Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 3AA5264FD23 for ; Wed, 5 Nov 2008 02:57:38 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 07904-06 for ; Wed, 5 Nov 2008 02:57:37 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from renaissance-it.com (mail.renaissance-it.com [164.164.87.55]) by mail.postgresql.org (Postfix) with ESMTP id 773D364FCFF for ; Wed, 5 Nov 2008 02:57:36 -0400 (AST) Received: (qmail 13312 invoked by uid 109); 5 Nov 2008 06:54:37 -0000 Received: from 192.168.1.6 by sritmail (envelope-from , uid 112) with qmail-scanner-1.25st (perlscan: 1.25st. Clear:RC:1(192.168.1.6):. Processed in 0.010351 secs); 05 Nov 2008 06:54:37 -0000 Received: from unknown (HELO praveenkm) (praveen.k@[192.168.1.6]) (envelope-sender ) by renaissance-it.com (qmail-ldap-1.03) with SMTP for ; 5 Nov 2008 06:54:37 -0000 Message-ID: <012b01c93f14$4efd78e0$274610ac@praveenkm> From: "praveen" To: "Tom Lane" Cc: , References: <490F9762.4030603@refractions.net> <094501c93e88$898c7dd0$274610ac@praveenkm> <094b01c93e8c$31742a90$274610ac@praveenkm> <17249.1225810177@sss.pgh.pa.us> Subject: Re: Installation Error of postgresql-8.1.5 with perl. Date: Wed, 5 Nov 2008 12:31:21 +0530 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Archive-Number: 200811/31 X-Sequence-Number: 30685 Hello Tom, During configure I find the error in config.log file checking for flags to link embedded Perl... Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl .). and when I execute the "make" command that time I find the following errors. make -C error SUBSYS.o make[4]: Entering directory `/home/postgres/postgresql-8.1.5/src/backend/utils/error' gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fpic -I. -I../../../src/include -D_GNU_SOURCE -I/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE -c -o plperl.o plperl.c plperl.c:67:20: error: EXTERN.h: No such file or directory plperl.c:68:18: error: perl.h: No such file or directory plperl.c:69:18: error: XSUB.h: No such file or directory ppport.h:174:24: error: patchlevel.h: No such file or directory ppport.h:177:44: error: could_not_find_Perl_patchlevel.h: No such file or directory ppport.h:371: error: expected â)â before â*â token ppport.h:563: warning: type defaults to âintâ in declaration of âSVâ ppport.h:563: error: expected â;â, â,â or â)â before â*â token plperl.c:122: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token plperl.c:123: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token plperl.c:145: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token plperl.c:147: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token plperl.c:324: error: âplperl_proc_hashâ undeclared (first use in this function) plperl.c:374: error: âSVâ undeclared (first use in this function) plperl.c:374: error: âresâ undeclared (first use in this function) plperl.c:417: error: expected â)â before â*â token plperl.c:451: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token plperl.c:480: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token plperl.c:576: error: expected â)â before â*â token plperl.c:736: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token plperl.c:831: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âvoidâ plperl.c:832: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âvoidâ plperl.c:844: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token plperl.c:939: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token plperl.c:1000: error: âSVâ undeclared (first use in this function) plperl.c:1000: error: âperlretâ undeclared (first use in this function) plperl.c:1001: warning: ISO C90 forbids mixed declarations and code plperl.c:1003: error: âarray_retâ undeclared (first use in this function) plperl.c:1032: warning: implicit declaration of function âplperl_call_perl_funcâ plperl.c:1051: warning: implicit declaration of function âSvTYPEâ plperl.c:1051: error: âSVt_RVâ undeclared (first use in this function) plperl.c:1052: warning: implicit declaration of function âSvRVâ plperl.c:1052: error: âSVt_PVAVâ undeclared (first use in this function) plperl.c:1055: error: âsvpâ undeclared (first use in this function) plperl.c:1056: error: âAVâ undeclared (first use in this function) plperl.c:1056: error: âravâ undeclared (first use in this function) plperl.c:1056: error: expected expression before â)â token plperl.c:1058: warning: implicit declaration of function âav_fetchâ plperl.c:1060: warning: implicit declaration of function âplperl_return_nextâ plperl.c:1064: error: âSVt_NULLâ undeclared (first use in this function) plperl.c:1095: warning: implicit declaration of function âSvOKâ plperl.c:1096: error: âSVt_PVHVâ undeclared (first use in this function) plperl.c:1114: warning: implicit declaration of function âplperl_build_tuple_resultâ plperl.c:1114: error: âHVâ undeclared (first use in this function) plperl.c:1114: error: expected expression before â)â token plperl.c:1114: warning: assignment makes pointer from integer without a cast plperl.c:1122: warning: implicit declaration of function âSvROKâ plperl.c:1125: warning: implicit declaration of function âplperl_convert_to_pg_arrayâ plperl.c:1126: warning: implicit declaration of function âSvREFCNT_decâ plperl.c:1130: warning: implicit declaration of function âSvPVâ plperl.c:1130: error: ânaâ undeclared (first use in this function) plperl.c:1130: warning: assignment makes pointer from integer without a cast plperl.c: In function âplperl_trigger_handlerâ: plperl.c:1150: error: âSVâ undeclared (first use in this function) plperl.c:1150: error: âperlretâ undeclared (first use in this function) plperl.c:1151: warning: ISO C90 forbids mixed declarations and code plperl.c:1152: error: âsvTDâ undeclared (first use in this function) plperl.c:1153: error: âHVâ undeclared (first use in this function) plperl.c:1153: error: âhvTDâ undeclared (first use in this function) plperl.c:1172: error: expected expression before â)â token plperl.c:1183: error: âSVt_NULLâ undeclared (first use in this function) plperl.c:1202: error: ânaâ undeclared (first use in this function) plperl.c:1253: error: âSVâ undeclared (first use in this function) plperl.c:1253: error: âsvpâ undeclared (first use in this function) plperl.c:1276: error: âplperl_proc_hashâ undeclared (first use in this function) plperl.c:1468: error: âplperl_proc_descâ has no member named âreferenceâ plperl.c:1479: error: âIVâ undeclared (first use in this function) plperl.c:1479: error: expected â)â before âprodescâ plperl.c:1490: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token plperl.c:1544: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token plperl.c:1613: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token plperl.c:1657: error: expected â)â before â*â token plperl.c:1770: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token plperl.c:1844: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token ----- Original Message ----- From: "Tom Lane" To: "praveen" Cc: Sent: Tuesday, November 04, 2008 8:19 PM Subject: Re: Installation Error of postgresql-8.1.5 with perl. > "praveen" writes: >> but when I execute command "make " that time I got following errors. > >> make[3]: *** [plperl.o] Error 1 >> make[3]: Leaving directory >> `/home/postgres/postgresql-8.1.5/src/pl/plperl' >> make[2]: *** [all] Error 1 >> make[2]: Leaving directory `/home/postgres/postgresql-8.1.5/src/pl' >> make[1]: *** [all] Error 2 >> make[1]: Leaving directory `/home/postgres/postgresql-8.1.5/src' >> make: *** [all] Error 2 > > 1. You've snipped away the actual error message, so no one can tell > what went wrong. > > 2. It is completely inappropriate to cross-post to four different > mailing lists. > > regards, tom lane >