Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2003 19:46:55 +0000 (GMT)
From:      Jon Wilson <jon@netcraft.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/48384: apache-1.3.27_2 port leads to broken mod_perl
Message-ID:  <Pine.LNX.4.44.0302171943170.14312-100000@ducky.netcraft.com>
In-Reply-To: <200302171940.h1HJe4Gw081674@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Further info. It falls  over like this:

########################################

lemon# make
===>  Building for mod_perl-1.27
(cd ./apaci && PERL5LIB=/usr/ports/www/mod_perl/work/mod_perl-1.27/lib: make)
cc -DPIC -fpic  -I/usr/libdata/perl/5.00503/mach/CORE -DMOD_PERL_VERSION=\"1.27\" -DMOD_PERL_STRING_VERSION=\"mod_perl/1.27\" -DMOD_PERL_PREFIX=\"/usr/local/lib/site_perl/5.00503/i386-freebsd\" -I/usr/local/include/apache -DMOD_PERL -DLOGIN_CAP  -funsigned-char -O -pipe  -DDOCUMENT_LOCATION=/usr/local/www/data  -DDEFAULT_PATH=/bin:/usr/bin:/usr/local/bin -DHARD_SERVER_LIMIT=512 -O -pipe -c perl_util.c && mv perl_util.o perl_util.lo
perl_util.c: In function `perl_cgi_env_init':
perl_util.c:622: syntax error before `/'
*** Error code 1

Stop in /usr/ports/www/mod_perl/work/mod_perl-1.27/apaci.
*** Error code 1

Stop in /usr/ports/www/mod_perl/work/mod_perl-1.27.
*** Error code 1

Stop in /usr/ports/www/mod_perl.

#########################################

Clearly the "DEFAULT_PATH" variable should be quoted. Two things of note.
Firstly, looking through the scripts, it only gets set if apxs _isnt_
being used. I guess this is down to changes in the apache configuration.
Secondly, it is defined in the Makefile for the port, but doesnt get
properly passed. Conclusion - the unquoted variable is getting set
somewhere else.

-- 
Jon Wilson
Netcraft Ltd.                                     Tel: +44 (0)1225 867975
jon@netcraft.com                                  Fax: +44 (0)8700 517767
http://www.netcraft.com                           Mob: +44 (0)7776 137939


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0302171943170.14312-100000>