My gentoo system has a /etc/make.conf with good CFLAGS for any program compiled on the computer.
Would it be a good idea for Pike to check that file and use those settings (= source it) per default? Those settings are better then any optimization based on uname.
Le vendredi, 6 déc 2002, à 12:15 Europe/Paris, Mirar @ Pike developers forum a écrit :
My gentoo system has a /etc/make.conf with good CFLAGS for any program compiled on the computer.
Would it be a good idea for Pike to check that file and use those settings (= source it) per default? Those settings are better then any optimization based on uname.
FreeBSD also has such options, I think this can be a good idea too :)
/Xavier
Ok, good. I've checked in support for /etc/make.conf now.
/ Mirar
Previous text:
2002-12-06 12:20: Subject: Re: gentoo & make.conf
Le vendredi, 6 déc 2002, à 12:15 Europe/Paris, Mirar @ Pike developers forum a écrit :
My gentoo system has a /etc/make.conf with good CFLAGS for any program compiled on the computer.
Would it be a good idea for Pike to check that file and use those settings (= source it) per default? Those settings are better then any optimization based on uname.
FreeBSD also has such options, I think this can be a good idea too :)
/Xavier
/ Brevbäraren
Yep. Same for Ffmpeg. Unless you are sure about that part it should probably be backed out. Se http://pike.ida.liu.se/development/cvs/combined.xml
/ Peter Bortas
Previous text:
2002-12-06 12:46: Subject: Re: gentoo & make.conf
Oops, do I use a 7.4 tree? Darn...
/ Mirar
Actually, I'm quite certain of the changes. But let's check... Where is the pikefarm result page? (Is 7.4 pikefarmed yet?)
/ Mirar
Previous text:
2002-12-06 12:56: Subject: Re: gentoo & make.conf
Yep. Same for Ffmpeg. Unless you are sure about that part it should probably be backed out. Se http://pike.ida.liu.se/development/cvs/combined.xml
/ Peter Bortas
http://pike.ida.liu.se/development/pikefarm/7.4.xml
/ Peter Bortas
Previous text:
2002-12-06 13:20: Subject: Re: gentoo & make.conf
Actually, I'm quite certain of the changes. But let's check... Where is the pikefarm result page? (Is 7.4 pikefarmed yet?)
/ Mirar
In short: Det gick jättedåligt.
/ Peter Bortas
Previous text:
2002-12-06 13:22: Subject: Re: gentoo & make.conf
http://pike.ida.liu.se/development/pikefarm/7.4.xml
/ Peter Bortas
The rntcl-using "Windows_NT 4.0" kali.roxen.com invokes CPP with "rntcl -E -I", is that correct?
Also, what in the command line
| gcc -E -I. /export/home/kiwi/xeno/client/pike/gaia.isdnet.net/buildtmp/Pike7.4-20021207-025016/src/modules/_Ffmpeg/codecs_auto.c | sed -n -e 's/^.*(CODEC_ID_[A-Z_0-9]*),.*$/ add_integer_constant("\1",\1,0);/p' >codecs_auto.h 2>/dev/null || true
gives the error
| sh: syntax error at line 1: `(' unexpected
Doesn't sh understand 's?
/ Mirar
Previous text:
2002-12-06 13:28: Subject: Re: gentoo & make.conf
Yup. I forgot to check in a necessary file.
/ Mirar
Nothing. It's the command line
@echo $$(wc -l <codecs_auto.h) codecs found
that gives the error. $() is _not_ /bin/sh syntax. You have Linux-injury.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2002-12-07 08:42: Subject: Re: gentoo & make.conf
The rntcl-using "Windows_NT 4.0" kali.roxen.com invokes CPP with "rntcl -E -I", is that correct?
Also, what in the command line
| gcc -E -I. /export/home/kiwi/xeno/client/pike/gaia.isdnet.net/buildtmp/Pike7.4-20021207-025016/src/modules/_Ffmpeg/codecs_auto.c | sed -n -e 's/^.*(CODEC_ID_[A-Z_0-9]*),.*$/ add_integer_constant("\1",\1,0);/p' >codecs_auto.h 2>/dev/null || true
gives the error
| sh: syntax error at line 1: `(' unexpected
Doesn't sh understand 's?
/ Mirar
I always mix up which of ` and $( is the bashism.
/ Mirar
Previous text:
2002-12-07 13:18: Subject: Re: gentoo & make.conf
Nothing. It's the command line
@echo $$(wc -l <codecs_auto.h) codecs found
that gives the error. $() is _not_ /bin/sh syntax. You have Linux-injury.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
I get a lot of "touch: warning: `touch 0101010185' is obsolete; use `touch -t 198501010101.00'" messages, probably from this line (Makefile.in):
@touch 0101010185 precompile.sh-stamp
Maybe it should be changed as suggested?
/ Mirar
Previous text:
2002-12-07 17:35: Subject: Re: gentoo & make.conf
I always mix up which of ` and $( is the bashism.
/ Mirar
Is -t compatible with legacy systems, then? Perhaps it's better to add a redirect to /dev/null.
/ Martin Stjernholm, Roxen IS
Previous text:
2002-12-07 21:39: Subject: touch
I get a lot of "touch: warning: `touch 0101010185' is obsolete; use `touch -t 198501010101.00'" messages, probably from this line (Makefile.in):
@touch 0101010185 precompile.sh-stamp
Maybe it should be changed as suggested?
/ Mirar
That's what I wonder.
"SYNOPSIS touch [-acm][-r ref_file|-t time] [--] file...
Obsolescent version: touch [-acm][ugly_time] file...
...
POSIX DETAILS The second form of invocation has the disadvantage that there is some ambiguity as to whether ugly_time is a time or a file argument. It is taken to be a time when no -r or -t option is present, there are at least two arguments, and the first argument is an eight- or ten-digit decimal integer. The format of ugly_time is MMDDhhmm[yy], where an yy in the range 69-99 denotes a year in the range 1969-1999, and an unspecified yy denotes the current year. This form is obsolete."
Maybe a configure test?
/ Mirar
Previous text:
2002-12-07 22:34: Subject: touch
Is -t compatible with legacy systems, then? Perhaps it's better to add a redirect to /dev/null.
/ Martin Stjernholm, Roxen IS
Le vendredi, 6 déc 2002, à 13:25 Europe/Paris, Peter Bortas @ Pike developers forum a écrit :
Hum... does pike.cfg has changed as well ? Because old one still looks for pike 7.3... :/
/Xavier
Yes; pike7.4.cfg and pike7.5.cfg are the new config files to use.
/ Johan Sundström (ärkehertig av Lysators rootgrupp)
Previous text:
2002-12-06 15:07: Subject: Re: gentoo & make.conf
Le vendredi, 6 déc 2002, à 13:25 Europe/Paris, Peter Bortas @ Pike developers forum a écrit :
Hum... does pike.cfg has changed as well ? Because old one still looks for pike 7.3... :/
/Xavier
/ Brevbäraren
Le vendredi, 6 déc 2002, à 15:15 Europe/Paris, Johan Sundström (ärkehertig av Lysators rootgrupp) @ Pike (-) developers forum a écrit :
Yes; pike7.4.cfg and pike7.5.cfg are the new config files to use.
Ok Great, but they are not in client.tar.gz... do I need to take 'em from xenofarm cvs ?
/Xavier
I'll build a real dist later today, but meanwhile:
---8<---pike7.4.cfg---------------- configformat: 3 project: Pike projectdir: pike snapshoturl: http://pike.ida.liu.se/generated/pikefarm/packages/7.4/latest resulturl: http://pike.ida.liu.se/generated/pikefarm/packages/7.4/result test: default make xenofarm #test: dmalloc make xenofarm CONFIGUREARGS="--with-dmalloc" #test: feature make xenofarm_feature #test: thorough make xenofarm_feature CONFIGUREARGS="--with-dmalloc" #test: static make xenofarm CONFIGUREARGS="--without-dynamic-modules" ---8<------------------------------
Replace "7.4" with "7.5" for a pike7.5.cfg
/ Peter Bortas
Previous text:
2002-12-06 15:31: Subject: Re: gentoo & make.conf
Le vendredi, 6 déc 2002, à 15:15 Europe/Paris, Johan Sundström (ärkehertig av Lysators rootgrupp) @ Pike (-) developers forum a écrit :
Yes; pike7.4.cfg and pike7.5.cfg are the new config files to use.
Ok Great, but they are not in client.tar.gz... do I need to take 'em from xenofarm cvs ?
/Xavier
/ Brevbäraren
Does it work to have the same projectdir för 7.4 and 7.5? I would expect that the "localtime_lastdl" etc would create somewhat chaotic results if shared between two projects.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2002-12-06 15:53: Subject: Re: gentoo & make.conf
I'll build a real dist later today, but meanwhile:
---8<---pike7.4.cfg---------------- configformat: 3 project: Pike projectdir: pike snapshoturl: http://pike.ida.liu.se/generated/pikefarm/packages/7.4/latest resulturl: http://pike.ida.liu.se/generated/pikefarm/packages/7.4/result test: default make xenofarm #test: dmalloc make xenofarm CONFIGUREARGS="--with-dmalloc" #test: feature make xenofarm_feature #test: thorough make xenofarm_feature CONFIGUREARGS="--with-dmalloc" #test: static make xenofarm CONFIGUREARGS="--without-dynamic-modules" ---8<------------------------------
Replace "7.4" with "7.5" for a pike7.5.cfg
/ Peter Bortas
No, that doesn't work. Amend.
/ Peter Bortas
Previous text:
2002-12-06 16:03: Subject: Re: gentoo & make.conf
Does it work to have the same projectdir för 7.4 and 7.5? I would expect that the "localtime_lastdl" etc would create somewhat chaotic results if shared between two projects.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
There is a dist on the bottom of https://pike.ida.liu.se/projects/pikefarm/ now. I have an announcement, but I'll give Nilsson a few hours to review it before I send something to the pike list.
/ Peter Bortas
Previous text:
2002-12-06 15:53: Subject: Re: gentoo & make.conf
I'll build a real dist later today, but meanwhile:
---8<---pike7.4.cfg---------------- configformat: 3 project: Pike projectdir: pike snapshoturl: http://pike.ida.liu.se/generated/pikefarm/packages/7.4/latest resulturl: http://pike.ida.liu.se/generated/pikefarm/packages/7.4/result test: default make xenofarm #test: dmalloc make xenofarm CONFIGUREARGS="--with-dmalloc" #test: feature make xenofarm_feature #test: thorough make xenofarm_feature CONFIGUREARGS="--with-dmalloc" #test: static make xenofarm CONFIGUREARGS="--without-dynamic-modules" ---8<------------------------------
Replace "7.4" with "7.5" for a pike7.5.cfg
/ Peter Bortas
No, I haven't updated the client package since I haven't verified that everything works. But now it looks like it, so I'll make an new package and publish the result pages.
/ Martin Nilsson (hehe Torgny)
Previous text:
2002-12-06 15:31: Subject: Re: gentoo & make.conf
Le vendredi, 6 déc 2002, à 15:15 Europe/Paris, Johan Sundström (ärkehertig av Lysators rootgrupp) @ Pike (-) developers forum a écrit :
Yes; pike7.4.cfg and pike7.5.cfg are the new config files to use.
Ok Great, but they are not in client.tar.gz... do I need to take 'em from xenofarm cvs ?
/Xavier
/ Brevbäraren
pike-devel@lists.lysator.liu.se