Showing posts from March, 2012

Bugfix Packages

Pat has released three bugfix packages to Slackware-Current, following several report on LQ. Hopefully these three packages are able to fix several problems that -Current users experienced on their machines.

Here's some snippet of the latest -Current changelog:
a/e2fsprogs-1.42.2-i486-1.txz: Upgraded. a/xz-5.0.3-i486-2.tgz: Rebuilt. xap/imagemagick-6.7.6_2-i486-1.txz: Upgraded. Build twice to avoid breakage when the major library versions change.

Glibc Patched

Some reports has been flowing after the last batch of updates in -Current. They are missing xz in 32 bit system, failing setup, and glibc problem. Like always, Pat monitored LQ and he acted fast by proving a patched glibc today. Unfortunately, there are still no sign for the rest of the problem report. They will be sorted out eventually, but not on this batch of -Current update at least.

The patch for glibc is taken from GIT repository which was committed by Ulrich Drepper, one of the glibc maintainer that was posted last January. This should fix some problems with some applications that got segmentation fault during execution. The bug was tracked as Bug 13618.

Compiling LibreOffice: Still No Success

I'm a huge fans of LibreOffice since i used it a lot in my work (mainly Impress for making presentations and Writer to make some reports). It's way much superior than the default Office Suite included in Slackware (KOffice, soon to be replaced by Calligra).

As we know, LibreOffice has reached version 3.5.1, but there is no 3.5.1 for Slackware-Current yet since the compilation process has changed drastically since previous 3.4.x and Eric is still working to make this version compilable on Slackware. It's not an easy job and i realized that since i used to compile OpenOffice in Windows and i understand the pain of compiling this kind of application. It requires a lot of time and effort to debug and a lot of trial and error with some luck.

Since there hasn't been any progress for the last 2-3 weeks, i offered him to help debugging the problem. He gave me his latest SlackBuild script and i tried to reproduce it on my desktop machine at home. I installed Apache Ant as one o…

New Toolchain

It seems that my prediction about the next batch is partially correct. It was proven after the latest batch of updates on -Current. I have suspected that Slackware-Current will be based on GCC 4.7.0 and GLIBC 2.15, but i was wrong that it will be based on Linux Kernel 3.3 because Pat still trusts Linux Kernel 3.2.x (well, perhaps when the final release is near, Pat will upgrade to Linux Kernel 3.3 because it has wider hardware support and also a lot of improvements on performance on many areas).

Along with these basic toolchain updates, Slackware-Current also upgrades several basic packages, such as bash, acpid, e2progfs, module-init-tools ccache, binutils, gmp, mpfr, virtuoso-ose, bind, rsync, imagemagick, and xine-lib.

More updates are expected soon to be released by Pat.

Enjoy the Slackware-Current with it's new toolchain and kernel :)

NVidia Drivers 295.33 and Linux Kernel 3.3

For those who are using the latest Linux Kernel 3.3 and having problem to compile NVidia Proprietary Driver, there's a good news because NVidia has released a new updated driver which should be compatible with the Linux Kernel 3.3. It was announced on NVNews (NVidia's Forum) and it has been placed on their FTP Servers (32 and 64 bit).

If you still insist of using your current NVidia driver (290.20), then you will have to patch the NVidia driver as the new kernel has moved some of the files which makes the check process failed and resulted in this kind of error messages:
If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.

If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the &quo…

VMWare Workstation 8.0.2 and Linux Kernel 3.3

Linux Kernel 3.3 has been released by Linus today and what's interesting about this release? Well, there are a lot of new stuffs as documented by KernelNewbies, so no need for me to write them down here. You can all go to the site and read the whole section.

What really interest me is that latest VMWare Workstation 8.0.2 needs no other patch than the previous patch for Linux Kernel 3.2. This means that if you are new users of VMWare Workstation, you can go to my previous post VMWare Workstation 8.0.2 and Linux Kernel 3.2 Patch and follow the instructions there, but for those who have been running Linux Kernel 3.2 and successfully patched VMWare Workstation 8.0.2, all you have to do is run this code

vmware-modconfig --console --install-all

and you will get your VMWare Workstation running well again after the script recompiled your VMWare Modules against the latest kernel (3.3 in this case).

Well, i do hope that future releases of Linux Kernel will do the same and no more patches re…

Security Updates: Firefox, Thunderbird, Seamonkey

All Mozilla packages are now being upgraded to the latest version. Firefox 11, Thunderbird 11, and Seamonkey 2.8 all have entered Slackware-Current tree along with a rare bsd-games rebuilt to fix typos and mtr also being upgrade.

Beside above updates, there's nothing particularly new in Slackware-Current development. I have a feeling that Pat might be waiting for Linux Kernel 3.3 to get released so that he could add it to next Slackware. Linux Kernel 3.3 should bring a lot of performance improvements over Linux Kernel 3.2 besides more hardware support and other interesting new features. See Top Features Of The Linux 3.3 Kernel by Phoronix for more information.

GCC 4.7 will also be released in the following weeks (if nothing breaks in the middle of it), so i guess it's kinda good combination to have it on Slackware as it supports the newest processors from Intel, Sandy Bridge, new compiler flags, and other optimizations that might improve Slackware's performance overall.

I …

Integrating JavaFX into NetBeans on Slackware

After making sure that the samples are working great on our system based on my previous post, we can continue by integrating JavaFX into NetBeans, a nice and cool IDE suitable to work with many programming languages, mainly Java.

The latest version of NetBeans currently is 7.1.1 as this post is composed. You can download it directly from their download page and you can choose which version of NetBeans that you want to pick. I usually pick the complete version. Although it's quite big in terms of size (210 MB), it's really a good IDE and it's really worthed.

If you haven't got Java Development Kit and NetBeans, i would suggest you to download the bundled package available at Oracle's website directly. That saves your time. This article is assuming that you have NetBeans installed and you wanted to start developing JavaFX applications. Remember that JavaFX requires Java JDK 1.6.0 update 26 or later, or Java 7. I used Java 7 Update 3 (1.7.0_03) in my system.

First, f…

Running JavaFX Apps on Slackware

JavaFX is a software platform for creating and delivering rich Internet applications that can run across a wide variety of connected devices. JavaFX is still an old plain Java code that gets compiled into bytecode, so that it can run on many platforms, including desktops, mobile, browsers, gaming console, and many others.

Unfortunately, when we install JDK on Linux, JavaFX SDK is not included and in fact, Oracle hasn't fully supported JavaFX on Linux and Macintosh. The only platform provided on the Download page is for Windows only. So how do we run JavaFX on Linux?

The answer is by using the Developer Preview of JavaFX 2.1. It seems that Oracle is planning to roll out support for Linux and OSX on the next release of JavaFX. You need to download 2 files, JavaFX SDK and JavaFX Samples (the sample is required to test that our installation is working well).

Once you download the SDK, unpack it and go to the directory created

Monitor Your System Using Monit

Even a perfect system might have some glitches during normal operations. Human intervention is still required to perform several operations such as restarting a service, until Monit arrvices.

Monit eases sysadmin's job by checking the resources, processes, files, connections, and many other that you have defined in the monit configuration file and perform actions whenever they see any problems.

This is an example of how we monitored HTTPD Server (apache in this case) on Slackware machine:
set daemon 5 set logfile syslog facility log_daemon check process httpd with pidfile /var/run/httpd/ start program = "/etc/rc.d/rc.httpd start" stop program = "/etc/rc.d/rc.httpd stop" set httpd port 8888 allow user:password
Add above lines in /root/.monitrc. Please make sure that the configuration only accessible to you, so give this command : chmod 700 .monitrc to set the permission.

Start monit using monit -d 5 (5 is the interval for checking and -d is for backgr…

KDE 4.8.1 Monthly Update

It's been a month and it's time for KDE monthly update to be released by KDE Team. KDE 4.8.1 is the latest maintenance release that focuses on providing translations update and also bug fixes that were reported after KDE 4.8.0 was released. No new features are implemented on this release since new features will be part of the next major release of KDE which is scheduled be released on August according to the KDE 4.9 release schedule. It will be a perfect timing for me to use KDE 4.9 as new semester begins at the end of August. Hopefully most of the problem should be sorted out before new semester begins.

As always, Eric has compiled KDE 4.8.1 for Slackware-Current users and put them on his KTown repository that is mirrored into several servers, including my UKDW Repo Server.

Full credit should go to Eric, not me. Bug report should go upstream, but you can also post it on Eric's blog to let him know about it. Suggestions and comments about the packages should also be posted…

Mirroring Using WGET and LFTP

Mirroring a website is sometime a useful trick to have an offline version of a website. Several ways can be used to get a full copy of the website and what's good about it is that some of the tools are already available at Slackware's default packages. They are wget and lftp.

In wget, you can use -m or --mirror option to turn on recursion which acts like a mirroring program, like this wget -m <host>

In lftp, we can use mirror sub command to perform a mirroring operation and then add several options to make it work like rsync, like this: lftp -e "mirror --delete --only-newer" <host> <target>

Be very cautious with --delete option as it might delete files available on your system, but not on the remote site, so it's safer to run this script in an empty directory and move it later when it's completed.

If you prefer to use GUI application, HTTrack is one of the best tool available. It's also available for other platform as well.

Fair Bandwidth Usage

In order to provide fair bandwidth usage to community and to the school that provides the bandwidth, i decided to make some changes into the server that i currently manage. I know some people will be annoyed by this change, but it's something i must do since the top priority of the server is to provide facilities for students.

Minimizing rsync connection
In the past, i didn't give any limit to the rsync connection. Some people abuse this service and use all of the bandwidth provided. So, right now, i reduced it to 10 connections max. When that number reached, you will have to wait.

No ISOs at rsync
ISOs are no longer included in the rsync collections. Everything now comes down to repositories only. ISO should be downloaded directly via HTTP which has it's own bandwidth limiter during office hours (7 AM - 5 PM, Indonesian Time)

Monitor Closely
I have added the logging transfer options so that i can monitor what has been transfered to the public. The purpose of this…