Piotras' blog: Archive

2006-05-01 - 2006-05-31

Midgard on debian = more freedom

Posted on 2006-05-12 09:14:31 UTC.


I started to debianize latest Midgard 1.8alpha2 release and during all the changes I made I realized that debian users should get more freedom and more flexibility while using Midgard Framework and Midgard CMS with this particular distro.

Debian policy doesn't allow to include symlinks like `libmidgard.so` is library package. Package name must be renamed following SONAME , so new midgard-core debian package will be named libmidgard9. We can include only those so files and ( symlinks ) which contain library version in name.

In theory ( you know how practice always looks like ;) I should be able to update my production server to Midgard 1.8 using Apache1 server , and use Midgard 1.9 development release branch with Apache2 and PHP5 on the same server without any need to break some setup.

In the other news. I can not stand it any longer. lintian complains about missing manual pages in debian packages for midgard , so I started to write those.
I should commit manuals to CVS repository soon.


Midgard2 started here

Posted on 2006-05-19 14:40:10 UTC.


Ragnaroek starts here. It was two years ago.

Midgard2 started today.

Midgard-schema, command line tool uses Midgard2 API , including MidgardConnection handler object and MidgardConfig object. In such shape it's going to be included in upcoming Midgard 1.8 release.

To make life more easier I wrote first (initial) official midgard-core docs.

Debian sid libc6 and Midgard with gcc4?

Posted on 2006-05-26 09:36:48 UTC.


Sunday. May 21st.
I run this sweet command on my Debian sid system.

apt-get dist-upgrade

blah blah blah

Replacing package libc6... Segmentation Fault...

First thing you can think about is mandatory ' WTF? ' .
dpkg segfaults, vi segfaults , cat segfaults , ls segfaults , everything segfaults ( well, at least other applications segfault ;) . Force reboot... System doesn't run at all...

Second thing you can think about is second mandatory 'F***, WTF?'.

In such case I could move hard disk to another machine and copy system partition , but with notebook...? Thanks god, I created additional empty partition when system, was installed for the first time. Installed sid again , mounted home partition to work with the same configuration and preferences and started to install midgard. Obviously , sid provides gcc4 and only MySQL 5 server and client, so Midgard ( obviously again ) can not be much usefull. Can not , but could.

I was too lazy to reconfigure system to compile everything with gcc3 , so I decided to fix this "should be resolved months ago" issue, and luckily found few lines of code which should be fixed.

The conclusion is simple. If the software you are working on has fundamental issues, then you should think about dist upgrade ( especially on debian sid ) , and with a bit of luck you can get unstable useless system. Later, you can fix basic issues.

I think , I should close this.


Back

Layout Copyright © 2006 Finnish Teleservice Center Ltd Oy - Site Powered by Midgard CMS