Linux daily SVN build

Linux specific questions.
DrV
Site Admin
Posts: 2116
Joined: May 27, 2005 18:39
Location: Midwestern USA
Contact:

Linux daily SVN build

Post by DrV »

http://ikkejw.homelinux.com/fb/
ikkejw wrote:I am working on a script which automatically compiles FB every day

I run the script as a cron job every day around 6:00 UTC on my simple always-on Debian server (P3 350MHz, 64MB RAM). It's not much, but it should do the job.


The binaries are available from: http://ikkejw.homelinux.com/fb
You will automatically be redirected to the latest version on yetifoot's mirror.

Auto-update script, with installation instructions: http://www.qbasic.com/wbb/filebase_entr ... ntryid=113

Thanks to yetifoot for the webspace!

You'll still need the latest stable release, just like with the testing releases. The .tar.gz should contain the following files: "fbc libfb.a libfbgfx.a libfbmt.a". If one of these files is missing, it means it failed to compile today.
Last edited by DrV on Jun 12, 2007 19:11, edited 2 times in total.
ikkejw
Posts: 258
Joined: Jan 15, 2006 15:51
Location: Fryslân, the Netherlands
Contact:

Post by ikkejw »

As some of you might have noticed, the last few builds didn't include the compiler. I am looking into this and hope to have it fixed by tomorrow.

edit: It's fixed. Besides, the compile log now shows more information then before, making it easier to identify problems like this in the future.

If you want to know whether the current build is broken or not, check http://www.streetcds.co.uk/fblinux/ and look at the file sizes.
ikkejw
Posts: 258
Joined: Jan 15, 2006 15:51
Location: Fryslân, the Netherlands
Contact:

Post by ikkejw »

If you are getting errors about -lsupc++ missing, you'll need to install libstdc++6-dev:

On a Debian(-based) system, you can do:
$ sudo apt-get install libstdc++6 libstdc++6-dev

Then install them in FreeBASIC:
$ sudo cp /usr/lib/gcc/i486-linux-gnu/3.4.6/*.a /usr/share/freebasic/lib/linux/

If you don't want to download libstdc++6, you can use http://www.streetcds.co.uk/fblinux/libs.tar.gz . Note that this not guaranteed to work on your computer!
sir_mud
Posts: 1402
Joined: Jul 29, 2006 3:00
Location: A van down by the river
Contact:

Post by sir_mud »

For Ubuntu users theres my debian package located at http://whitebread.kicks-ass.net/fbc_current.html too.
It's a full functioning repository so you'll be notified of updates.
Debian packages of .16 stable are are also available for almost any debian distro. I can add more CVS distros but I require ppl using them to compile them. I have automated scripts that do all the work, I'm looking in to using my SF.net account to build it on their compile farm.
ikkejw
Posts: 258
Joined: Jan 15, 2006 15:51
Location: Fryslân, the Netherlands
Contact:

Post by ikkejw »

Soon I will take my server down for hardware upgrades, I don't know when exactly but whenever I have time I will start working. It shouldn't take much longer than 4 hours.

Hardware upgrades:
350MHz P2 --> 500MHz Celeron
64MB RAM --> 320MB RAM
8 + 1 GB HDD --> 8 + 4 GB HDD

It's going to take some time, because I'm not sure how the new mobo (JetWay 993AN) will react to the Realtek 100Mbps card. I've never got a 100Mbps card to work in this mobo yet, the maximum I could get was 20Mbps :)

And I have no idea if the CPU still works correctly. The fan that was supposed to cool it had been broken for years, and I never noticed :)
redcrab
Posts: 624
Joined: Feb 07, 2006 15:29
Location: France / Luxemburg
Contact:

Post by redcrab »

Today I've updated manualy fbc... But the update gave me the build 2007-01-12-06-16
Is it the right nightly build for today ???

... Does the great nightly build stop compiling ;)

It's a very useful community service... Hope it's still working.

Have fun
ikkejw
Posts: 258
Joined: Jan 15, 2006 15:51
Location: Fryslân, the Netherlands
Contact:

Post by ikkejw »

Wow, thanks for reporting this, I never noticed it myself.

It's been guite long ago since I last checked the build system, and indeed, it seems to have stalled. It probably crashed during compiling and forgot to do 'echo 0 > compiling.now'.

I fixed it and now you should be able to download fbc-2007-03-03-21-49.tar.gz from http://ikkejw.homelinux.com/fbc as usual. In the package you should find: fbc, changelog.txt, compile.log, fbrt0.o, libfb.a, libfbmt.a, libfbgfx.o, libfb_ctor.o, migrating.txt and readme.txt

I also made some improvements to the build script, so things like this should never happen again.
mathwizard44
Posts: 72
Joined: Oct 13, 2006 6:11
Location: Latte Plantation, Guam
Contact:

Installing by hand

Post by mathwizard44 »

Hey there.

My Linux machine is not connected to the Internet because all it has is a phone line (and it's wireless at home). I'm pretty sure that I can do the install by hand, but I've never seen a shell script before and I need a little help deciphering it.

What's clear is that the script, if run, will try to go online to get the freshest CVS version. That's really cool, but I need to run it by hand, after downloading the files from the Web and unpacking them myself.

Any help would be appreciated. Thanks a lot, guys.

MW
mathwizard44
Posts: 72
Joined: Oct 13, 2006 6:11
Location: Latte Plantation, Guam
Contact:

Resolved my own problem.

Post by mathwizard44 »

OK, so I figured it out after studying my directory /usr/share/freebasic.

The program "fbc" goes in the /freebasic directory.

The other files, the ".o"s and ".a"s go into the /freebasic/lib/linux/ directory.

Just in case someone were to ask... ^_^

MW
ikkejw
Posts: 258
Joined: Jan 15, 2006 15:51
Location: Fryslân, the Netherlands
Contact:

Post by ikkejw »

As you might have noticed, this Linux build is not being updated anymore and the releases from the last few days are all the same. This is because I haven't had time to modify the build and update scripts to use SVN instead of CVS yet.

Also, DrV, could you please change the URL in the first post from http://ikkejw.homelinux.com/fbc/ to http://ikkejw.homelinux.com/fb/ ?
redcrab
Posts: 624
Joined: Feb 07, 2006 15:29
Location: France / Luxemburg
Contact:

Post by redcrab »

... :(
ikkejw
Posts: 258
Joined: Jan 15, 2006 15:51
Location: Fryslân, the Netherlands
Contact:

Post by ikkejw »

redcrab wrote:... :(
Don't worry, I'll get it fixed soon :)
D.J.Peters
Posts: 8631
Joined: May 28, 2005 3:28
Contact:

Post by D.J.Peters »

i can't download the latest build :-(

Joshy

Code: Select all

Warning: file_get_contents(http://www.streetcds.co.uk/fblinux/onlinecheck): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/fbc/index.php on line 16

Warning: Cannot modify header information - headers already sent by (output started at /var/www/fbc/index.php:16) in /var/www/fbc/index.php on line 24
sir_mud
Posts: 1402
Joined: Jul 29, 2006 3:00
Location: A van down by the river
Contact:

Post by sir_mud »

yea, the linux svn build hasn't been online in quite some time, if you want i can make one and upload it to my host.
Oz
Posts: 586
Joined: Jul 02, 2005 14:21
Location: Waterloo, Ontario, Canada
Contact:

Post by Oz »

is anyone going to do a daily svn for linux now?
I would, but I can't find the devel libraries for slackware quite yet.
I can host them on my website if someone is willing to svn/compile them

Oz
Post Reply