Saturday, January 31, 2009

Building OOo mystery

The build for OOo on Liberia is finished, however I do not know if I did it right or not until we actually work on it. I was talking with Daeseon about why the build does not work for him.

The difference in my build is that I did it in root. But quickly that difference did not help much, because Daeseon build it later, in root, on his machine and it failed at the same spot. I then tried it on my own account on Liberia, it quickly fail after 5 seconds. Saying error "/home/sclaw1/ooo/DEV300_m40/soltools/mkdepend/collectdircontent.cxx on ireland failed
Error code 1, while making '../unxlngx6.pro/obj/collectdircontent.obj' "

Now I am testing on Australia in root, and it seem to be building just fine.

As to why it does not work in your user account is unknown.

Friday, January 30, 2009

OOo Build has finish and a success

So, stayed up late at night to see how the build is coming along.

Started last night at 9:41pm and was finished by 1:52pm.
It was a success, but sorry that I didn't kept a log on the progress.

Building OOo

Thanks to Daeseon's effort in getting a success run for the build, the results is still unknown till I talk to him.

In the meantime, I am doing a build on Liberia. Everything is running smoothly so far, all that is left to do is wait for it to finish.

If anyone out there who hasn't done this yet, Daeseon has posted a quick run on how to build OOo on his blog. I am gonna put some information about it here as well because the build for me and Daeseon has different errors.

Part 1 : Getting Open Office on your machine
Be sure you are in root.
-> su -
-> mkdir ooo
-> svn co http://svn.services.openoffice.org/ooo/tags/DEV300_m40

Part 2: Setting C and C++ compiler (I just did what was shown in class)
-> export CC="distcc gcc"
-> export GCC='distcc g++"

Part 3: Configuring the Source
cd to your open office DEV300_m40 folder and use
-> ./configure --with-use-shell=bash

Note: You will run into problems with some errors of not being able to find a certain things and is different for every computer. I have provide some of the issues that I ran into and fixes.
Problem #1: no cups/cups.h
Solution #1: yum install cups-devel

Problem #2: no JDK installed
Solution #2: yum install java-1.7.0-icedtea-devel.x86_64

Problem #3: no gperf
Solution #3: yum install gperf.x86_64

Problem #4: no mozilla
Solution #4: get it from the link provided by the error generated.

Problem #5: no Ant
Solution #5: yum install ant.x86_64

Part 4: Setting Environmental Variables
At the end of the configuration, you will get a warning issue, do read what it says before procceding. It should say you have to do source LinuxX86-64Env.Set or LinuxX86-64Env.Set.sh
-> source LinuxX86-64Env.Set.sh

Part 5: Bootstrap
If everything goes well with part 4, run bootstrap
-> ./bootstrap

Part 6: Build!!!
Do pray that you'll not run into any problem and build this thing all the way.
-> dmake

Sunday, January 25, 2009

DistCC Installed Germany

This morning I came up on my blog and found 2 comments.
One suggesting the issue of why DistCC isn't working because of the firewall setting and the other came from a team member saying that he had solve the issues with DISTCC and has documented it.

Give yourself a pat on the back Deaseon :)

Then I followed the his documented blog and do the installation on Germany. It worked like a charm, with exception on the iptables command would need some adjustment based upon the computer you are using. The process still takes some time for me regardless.

Friday, January 23, 2009

DistCC Failure Experience

Ok, I have spent some time with my team in the CDOT trying to figure out the configuration process of DistCC, but we are constantly kept on bumping up against obstacles unexpectedly without a single answer on the internet.

We first encounter the problem of unable to reference CDOT computer by name. But it turns out to be a minor problem of adding the proxmity.com in the DNS. Thanks to Chris Tyler effort in mentioning this in the IRC and I just happened to glanced at it that solved the problem. :)

Eager by the result, we jumped into distribution compilation and this is where the fun starts.
Setting up the distCC daemon on other computer for compilation sounded very easy on the guide written by countless number of authors.

But when actually doing it, it does not work. It kept generating errors saying that it could not connect. (I wish I have copied the error message to post up here). I suspected the reason because we are missing a few steps in between that has to do with HOST and 'make'. I am only making this assumption based upon reading the guide and documentation.

DistCC Troubling

I have been trying to install the distCC into the CDOT computer at home. It didn't go very well, because I am not too familiar with the installation steps nor with the linux operating system and reading the quick guide didn't really help much. So again, I wasted another 3 hours trying to figure that out before going to bed.

I am going to scout around for better explanation.

Thursday, January 22, 2009

Cannot Boot Linux

OK, for the past 3-4 hours I have been trying to figure out how to boot from my external HD and still have not gotten the answer.

I installed it on the external HD just fine (In fact I did it twice). Both time, it did not boot from my USB even though I specifically choose to boot from USB/External. So I give up and just left it at that for now and get some work done. Since I have a lot of catch up reading to do for this class.

Revolution OS

I finally have enough free time from all the school work and 'work' to finish watching Revolution OS. I was simply amaze by the influence Linux has on the community as well as in the business world, from 100,000 user to 12mil operating with no cost is truly something worth learning about.

Sunday, January 18, 2009

The Cathedral and the Bazaar

This is my first post for OSD600 class in response to the reading "The Cathedral and the Bazaar"

The article written by Eric S. Raymond in regards to his discovery of bazaar style open source development is astonishing by the fact how Linux Torvald single handedly created a market for the world. It is certainly an inspiration as a programmer to see that a single contributor can make such an impact.

However, I am sort of skeptical about the new market emerging with open source.
Will it destroy programming jobs that were once on demand? or Will it continue to expand in the near future providing new opportunities?

After all, open source are contributed by a community of programmers. If open source were to become the next dominant technological trend, wouldn't that ultimately destroy the programming sector in the job market. Although, the concern is irrelevant considering the long branch of various IT expertise demand out there.

Nonetheless, there will certainly be more different jobs available as new technology emerges that professionalize to maintain the open source technology. But the point is, if the open source community were to succeeded with the concept of free distribution of OS and software. Would people still be motivated enough to design a piece of software with only self-satisfaction as reward? Will new comer try to learn software programming knowing that their effort is to design free software and nothing more?

Maybe I am thinking too much about the economic effect of open source. Regardless, open source are always welcome in this world, considering that not everyone in the world can afford a legitimate copy of Microsoft applications. However, the effects I am seeing is that, once you start giving out free things, people will demand more of it in every area beyond software.

Nothing against open source by the way, just some thoughts.