Date: Wed, 20 Mar 2002 01:53:41 -0500 (EST) From: "parv" <parv_@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/36124: build of vim5 fails when compiled w/ perl interpreter option Message-ID: <20020320065341.192A350B8E@moo.holy.cow>
next in thread | raw e-mail | index | archive | help
>Number: 36124 >Category: ports >Synopsis: build of vim5 fails when compiled w/ perl interpreter option >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 19 23:00:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: parv >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD moo.holy.cow 4.5-STABLE FreeBSD 4.5-STABLE #0: Sun Mar 17 01:01:43 EST 2002 perl 5.6.1_1 w/ BSDPAN ports tree as fresh as of 2002.03.19.04.42.56 utc >Description: build of vim5 is dying during build w/ "--enable-perlinterp" option. below is the message... # make -DNO_GUI ... gcc -c -I. -Iproto -DHAVE_CONFIG_H -O -pipe -march=pentiumpro -Wall -DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -fno-stri ct-aliasing -I/usr/local/include -I/usr/local/lib/perl5/5.6.1/mach/CORE os_unix.c creating pathdef.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -O -pipe -march=pentiumpro -Wall -DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -fno-stri ct-aliasing -I/usr/local/include -I/usr/local/lib/perl5/5.6.1/mach/CORE pathdef.c pathdef.c:7: `usr' undeclared here (not in a function) pathdef.c:7: `local' undeclared here (not in a function) pathdef.c:7: `lib' undeclared here (not in a function) pathdef.c:7: `perl5' undeclared here (not in a function) pathdef.c:7: malformed floating constant pathdef.c:7: `BSDPAN' undeclared here (not in a function) pathdef.c:7: syntax error before string constant *** Error code 1 Stop in /source/ports/editors/vim5/work/vim-5.8/src. *** Error code 1 Stop in /source/ports/editors/vim5/work/vim-5.8/src. *** Error code 1 ...below are the changes to Makefile to enable perl interpreter option to simulate the problem (change of USE_PERL was not neccessary to produce the error)... # diff -u Makefile local-Makefile --- Makefile Tue Mar 19 23:23:59 2002 +++ local-Makefile Wed Mar 20 01:06:55 2002 @@ -29,9 +29,10 @@ .if defined(PACKAGE_BUILDING) && !defined(LITE) BUILD_DEPENDS= tclsh8.0:${PORTSDIR}/lang/tcl80 LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 -USE_PERL5= yes .endif +USE_PERL5= yes + LATEST_LINK?= vim5 DIST_SUBDIR= vim WRKSRC= ${WRKDIR}/${DISTNAME}/src @@ -52,7 +53,7 @@ .endif .if !defined(LITE) -MAKE_ARGS+= CONF_OPT_MAX="--enable-max-features" +MAKE_ARGS+= CONF_OPT_MAX="--enable-max-features --enable-perlinterp" I18N= CONF_OPT_MULTIBYTE="--enable-multibyte --enable-fontset --enable-xim" .if defined(NO_GUI) ...i happened to create vim package on mar. 3 before trying today. (perl 5.6.1 was reinstalled on mar. 13, and os upgrade was done on mar. 17 est if that's of any relevance). that worked fine then and still works dandy w/o any further modifications. on mar. 3, vim was compiled w/ perl & tcl interpreter options w/o any problems. below are the log lines from successful compilation at that time for comparison w/ above... gcc -c -I. -Iproto -DHAVE_CONFIG_H -O -pipe -march=pentiumpro -Wall -fno-strict-aliasing -I/usr/local/include -I/usr/local/lib /perl5/5.6.1/i386-freebsd/CORE -I/usr/local/include/tcl8.2 os_unix.c creating pathdef.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -O -pipe -march=pentiumpro -Wall -fno-strict-aliasing -I/usr/local/include -I/usr/local/lib /perl5/5.6.1/i386-freebsd/CORE -I/usr/local/include/tcl8.2 pathdef.c can somebody give me a clue about how or where to look, or help to look, for a solution? all i can see is that problem somehow is related to BSDPAN. thanks much. -parv >How-To-Repeat: change the ports/editors/vim5/Makefile as above or some way try to build vim5 w/ perl interpreter option. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020320065341.192A350B8E>