Hi,
I am having problems with Pike 7.4 on Freebsd 4.7. The problem is that it sources /etc/make.conf but make.conf is not really sourceable (at least on my system). It contains things like BDECFLAGS= -W -Wall or CPUTYPE=i386 and source /etc/make.conf reports errors in this case (morever i don't remember modifying make.conf). Another thing is:
/configure --disable-make.conf configure: error: make.conf: invalid feature name
Hm. It ought to be a check somewhere there. How does the BSD system use make.conf? Does it have a parser written in perl or something?
--disable-make-conf should work. ^
/ Mirar
Previous text:
2003-06-03 18:25: Subject: configure problem with Freebsd
Hi,
I am having problems with Pike 7.4 on Freebsd 4.7. The problem is that it sources /etc/make.conf but make.conf is not really sourceable (at least on my system). It contains things like BDECFLAGS= -W -Wall or CPUTYPE=i386 and source /etc/make.conf reports errors in this case (morever i don't remember modifying make.conf). Another thing is:
/configure --disable-make.conf configure: error: make.conf: invalid feature name
-- David Gourdelier
/ Brevbäraren
In the last episode (Jun 03), Mirar @ Pike developers forum said:
Hm. It ought to be a check somewhere there. How does the BSD system use make.conf? Does it have a parser written in perl or something?
It's just a makefile fragment. I believe BSD make reads it automatically (included by /usr/share/mk/sys.mk).
__MAKE_CONF?=/etc/make.conf .if exists(${__MAKE_CONF}) .include "${__MAKE_CONF}" .endif
On Tue, 3 Jun 2003, Mirar @ Pike developers forum wrote:
Hm. It ought to be a check somewhere there. How does the BSD system use make.conf? Does it have a parser written in perl or something?
I believe it's a makefile included. From make.conf(5):
"The /etc/make.conf file is included from the appropriate Makefile which specifies the default settings for all the available options. Options need only be specified in /etc/make.conf when the system administrator wishes to override these defaults."
--disable-make-conf should work.
Then update you should update the doc:
./configure --help|grep make.conf --disable-make.conf do not use settings from /etc/make.conf
pike-devel@lists.lysator.liu.se