|
Author: David Heaps
Date: 10-02-02 15:27
HI,
for those of you interested in fixing the make update problem, I did find a fix for it, I decided to do some testing and got it running, so I thought I post my setup here and advise those interested.
the only changed to make are in the /etc/make.conf.
depending on how you have your supfiles setup you will not have to specify the SUPHOST. I found that once removed from make.conf, the make update command worked without problems.
make update uses the cvs servers you have specified in your supfile.
below is listed what i have in my make.conf for cvsup section.
Notice as well I have included the configuration entries which update my ports and docs as well as stable.
SUP_UPDATE= yes
SUPFILE=/root/make/stable-supfile
PORTSSUPFILE=/root/make/ports-supfile
DOCSUPFILE=/root/make/doc-supfile
SUPFLAGS= -g -z -L 2
I hope this helps others out there, as I am still pretty new to freebsd, and thought I would share what I found.
Cheers
David
|
|
Reply To This Message
|
|
Author: Dan Langille
Date: 10-02-02 17:55
What did you have for SUPHOST= in /etc/make.conf?
What entry do you have for *default host= in /root/make/stable-supfile?
|
|
Reply To This Message
|
|
Author: David Heaps
Date: 11-02-02 06:08
Dan,
I removed the entry in /etc/make.conf and just used the default host in each of the sup files.
the entry for *default host= in /root/make/stable-supfile is cvsup.au.freebsd.org
I have this specified in all the supfiles I have mentioned in my last post.
Regards,
David
|
|
Reply To This Message
|
|
Author: Dan Langille
Date: 11-02-02 19:55
I don't yet understand why putting this in /etc/make.conf did not work:
SUPHOST= cvsup.au.freebsd.org
That should be a tab, not a space there....
|
|
Reply To This Message
|
|
Author: David Heaps
Date: 12-02-02 00:16
Dan,
1) I haven't used tabs, I have used spaces in /etc/make.conf
2) I did not specify SUPHOST in /etc/make.conf, I am using the the default host entry that is specified in each of the cvsup config files.I have not yet tested the SUPHOST in etc/make.conf but I will certainly do that shortly and let you know.
do you get a better idea of what I'm saying now?
sorry if its confusing I think I need to stop composing emails at ridiculous hours of the morning, sometimes I do no make sense :)
here is the contents of etc/make.conf in full.
CFLAGS= -O -pipe
NOPROFILE=true
USA_RESIDENT=NO
SUP_UPDATE= yes
SUPFILE=/root/make/stable-supfile
PORTSSUPFILE=/root/make/ports-supfile
DOCSUPFILE=/root/make/doc-supfile
SUPFLAGS= -g -z -L 2
Regards,
David
|
|
Reply To This Message
|
|
Author: David Heaps
Date: 12-02-02 00:52
Dan,
I just added the SUPHOST(and specified a different cvsup server to update from) in the make.conf. I tested this and it work fine, it overode the default host server I had specified in each of the cvsup files.
I did another test, i changed the spaces to tabs, and vice versa it didnt seem to matter either way whether you used tabs or spaces.
SUP_UPDATE= yes
SUPHOST= cvsup.freebsd.org
SUPFILE= /root/make/stable-supfile
PORTSSUPFILE= /root/make/ports-supfile
DOCSUPFILE= /root/make/doc-supfile
SUPFLAGS= -g -z -L 2
So specified above is what finally works for me.
Regards,
David
|
|
Reply To This Message
|
|
Author: Dan Langille
Date: 12-02-02 00:55
David Heaps wrote:
> do you get a better idea of what I'm saying now?
> sorry if its confusing I think I need to stop composing
> emails at ridiculous hours of the morning, sometimes I do no
> make sense :)
Your original post led me to believe there was a problem which you solved:
"for those of you interested in fixing the make update problem, I did find a fix for it, I decided to do some testing and got it running, so I thought I post my setup here and advise those interested."
What is this "make update" problem?
|
|
Reply To This Message
|
|
Author: David Heaps
Date: 12-02-02 01:15
Dan,
Hmm I should have been a bit more specific (apologies).
In your original article under the "The make-world script" dated 30-July-2000, I am referring to the the "NOTE" you added (See Below), this is the bit I was trying to help fix.
-- Paste from Article
"USING THE SCRIPT"
On 26 August, 2001, I changed the script slightly. It now requires changes to /etc/make.conf (you should create that file if it doesn't already exist). Ensure the following entries exist in that file:
SUP_UPDATE= yes
SUPFLAGS= -g -z -L 2
SUPHOST= xeon
SUPFILE= /usr/share/examples/cvsup/stable-supfile
NOTE: I have not been able to get the above to work. I have had to resort to upgrading my source by issuing the cvsup command directly.
-- Finish Paste
Regards,
David
|
|
Reply To This Message
|
|
Author: Dan Langille
Date: 12-02-02 07:53
Thanks!
I'm not sure about that reported problem. I suspect it's when I have a brand new box without source. I'll have to investigate further the next time I set up a box.
cheers.
|
|
Reply To This Message
|
|