r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!REBOL3 Source Control] How to manage build process

Carl
29-Oct-2010
[324]
Let me see if I can find a curl-config that runs... then I can try 
the build again.
Andreas
29-Oct-2010
[325x2]
apt-get install libcurl3-gnutls-dev
(that contains curl-config)
Carl
29-Oct-2010
[327]
Is there an apt-get option to ignore errors in deb urls?
Andreas
29-Oct-2010
[328x4]
You'll probably need to adapt your apt source, since breezy has been 
archived for a while.
Instead of 
  deb http://us.archive.ubuntu.com/ubuntu/breezy main restricted
use

  deb http://old-releases.ubuntu.com/ubuntu/breezy main restricted
(and change all other URLs accordingly.)
In other words, replace all *.ubuntu.com URLs by old-releases.ubuntu.com
Then run apt-get update, twice.
Carl
29-Oct-2010
[332]
ok, that exists. progress!
Andreas
29-Oct-2010
[333x2]
those are the git build dependencies as marked in ubuntu packages:
https://gist.github.com/9cb86c37385fb66f9016
(all ubuntu package names)
Carl
29-Oct-2010
[335]
compile goes a long way... blows out at http fetch.
Andreas
29-Oct-2010
[336]
try `make NO_CURL=1`
Carl
29-Oct-2010
[337]
is git-http-fetch necessary?
Andreas
29-Oct-2010
[338]
Not really. Only if you want to access repositories via http:// or 
https://.You can live fine without that.
Carl
29-Oct-2010
[339x3]
rebuilding with NO_CURL=1
This build is much bigger than I would have guessed.Linus and I have 
different definitions of "simple".
ok build complete, let's see if it runs...
Andreas
29-Oct-2010
[342x2]
The system itself is simple. Comes with a load of features, though.
(For many of which Linus' not the one to blame :)
Carl
29-Oct-2010
[344]
ok, time to try the git on your url... scanning back.
Andreas
29-Oct-2010
[345]
git clone git://github.com/rebolsource/r3-hostkit.git
Carl
29-Oct-2010
[346]
worked
Andreas
29-Oct-2010
[347x3]
lovely
now how old is your freebsd :) ?
based on your ubuntu, it's probably 5.4 :) ?
Carl
29-Oct-2010
[350]
So, that clone gave me a full local repository, right? So, I can 
mess around with it... to get to know it?
Andreas
29-Oct-2010
[351]
Exactly!
Carl
29-Oct-2010
[352x2]
No, I can't get away with that on freebsd. I think it's newer.
Probably updated it about 2 months ago.
Andreas
29-Oct-2010
[354x2]
I'd really suggest updating your Ubuntu at least to the previous 
LTS (8.04).
But that's another story :)
Carl
29-Oct-2010
[356x2]
Yes, we use 8.xx on our servers.
So, what are git templates?
Andreas
29-Oct-2010
[358x2]
Huh?
git init --template=... ?
Carl
29-Oct-2010
[360x2]
git gives me a warning that templates are not found in my git-core 
dir
perhaps because I did not install it, just running it local to my 
acct
Andreas
29-Oct-2010
[362]
yeah, that's most likely the case.
Carl
29-Oct-2010
[363]
not proper env
Pekr
29-Oct-2010
[364]
I thought that this thing is going to be easy? :-)
Carl
29-Oct-2010
[365x3]
In linux, as long as you don't need to recompile the kernel, it is 
considered easy.
Actually, that's prob considered easy too... since Linuxers do it 
for breakfast.
Anyway, I've got something to try out now on Linux, which is good. 
 For systems that might never run git, perhaps Andreas knows how 
to use git to auto-build gzips that we can have posted on the github.
Andreas
29-Oct-2010
[368x2]
No need to.
Github automatically builds tarballs and zipballs for you.
Carl
29-Oct-2010
[370]
Great! Makes it easy.
Andreas
29-Oct-2010
[371x3]
:)
For example:
http://github.com/rebolsource/r3-hostkit/tarball/master
Instead of the final /master you can specify any tagname, branchname, 
or even revision name.