Showing posts with label Libraries. Show all posts
Showing posts with label Libraries. Show all posts

Monday, July 02, 2012

Glibc 2.16 Released

Glibc 2.16 has been released and it comes with several new features such as:
  • x32 ABI
  • C11 ISO Standard
  • Removal of Linux Kernel 2.4. The minimum requirement has been raised to Linux Kernel 2.6
As we all know, Glibc plays an important role in all Linux distribution since it is the C library used by most systems that are based on the Linux kernel. Having an unstable glibc means you will not enjoy your system as it should be.

Slackware 14 will not be shipping glibc as part of it's supported application. Instead, they will go with patched glibc 2.15 which is proven to be stable enough after several patches goes into the stabilization process.

Besides, Slackware is going to be released based on Linux Kernel 3.2.x, which hasn't supported x32 ABI as well (it's officially supported since Linux Kernel 3.4), so there's no point of including this glibc version to Slackware for now. Future Slackware releases might be based on glibc 2.16 (or newer version) though.

Saturday, January 29, 2011

Image_GraphViz Not Compatible With PHP 5.3.x

I have a problem with Image_GraphViz PEAR package. I installed it on my computer and i tried the example, but it doesn't work on PHP 5.3.5. Instead, i got this following error messages:

Strict Standards: Non-static method System::mktemp() should not be called statically, assuming $this from incompatible context in /usr/share/pear/Image/GraphViz.php on line 1005

Strict Standards: Non-static method System::_parseArgs() should not be called statically, assuming $this from incompatible context in /usr/share/pear/System.php on line 385

Strict Standards: Non-static method Console_Getopt::getopt2() should not be called statically, assuming $this from incompatible context in /usr/share/pear/System.php on line 76

Strict Standards: Non-static method Console_Getopt::doGetopt() should not be called statically, assuming $this from incompatible context in /usr/share/pear/Console/Getopt.php on line 75

Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/Console/Getopt.php on line 109

Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/System.php on line 386

Strict Standards: Non-static method System::tmpdir() should not be called statically, assuming $this from incompatible context in /usr/share/pear/System.php on line 400

Strict Standards: Non-static method System::mkDir() should not be called statically, assuming $this from incompatible context in /usr/share/pear/System.php on line 403

Strict Standards: Non-static method System::_parseArgs() should not be called statically, assuming $this from incompatible context in /usr/share/pear/System.php on line 239

Strict Standards: Non-static method Console_Getopt::getopt2() should not be called statically, assuming $this from incompatible context in /usr/share/pear/System.php on line 76

Strict Standards: Non-static method Console_Getopt::doGetopt() should not be called statically, assuming $this from incompatible context in /usr/share/pear/Console/Getopt.php on line 75

Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/Console/Getopt.php on line 109

Strict Standards: Non-static method Console_Getopt::_parseShortOption() should not be called statically, assuming $this from incompatible context in /usr/share/pear/Console/Getopt.php on line 162

Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/Console/Getopt.php on line 167

Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/System.php on line 240

Strict Standards: Non-static method PEAR::registerShutdownFunc() should not be called statically, assuming $this from incompatible context in /usr/share/pear/System.php on line 421

Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/Image/GraphViz.php on line 204

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method System::_removeTmpFiles() should not be called statically in /usr/share/pear/PEAR.php on line 774

Strict Standards: Non-static method System::rm() should not be called statically in /usr/share/pear/System.php on line 440

Strict Standards: Non-static method System::_parseArgs() should not be called statically in /usr/share/pear/System.php on line 193

Strict Standards: Non-static method Console_Getopt::getopt2() should not be called statically in /usr/share/pear/System.php on line 76

Strict Standards: Non-static method Console_Getopt::doGetopt() should not be called statically in /usr/share/pear/Console/Getopt.php on line 75

Strict Standards: Non-static method PEAR::isError() should not be called statically in /usr/share/pear/Console/Getopt.php on line 109

Strict Standards: Non-static method Console_Getopt::_parseShortOption() should not be called statically in /usr/share/pear/Console/Getopt.php on line 166

Strict Standards: Non-static method PEAR::isError() should not be called statically in /usr/share/pear/Console/Getopt.php on line 167

Strict Standards: Non-static method PEAR::isError() should not be called statically in /usr/share/pear/System.php on line 194

Strict Standards: Non-static method System::_multipleToStruct() should not be called statically in /usr/share/pear/System.php on line 204

The example source code is very simple. Here they are:

<?php
require_once 'Image/GraphViz.php';
$gv = new Image_GraphViz();
$gv->addEdge(array('wake up' => 'visit bathroom'));
$gv->addEdge(array('visit bathroom' => 'make coffee'));
$gv->image();
?>

I tried to debug this code and i found out that the last line that caused the problem to appear which i think it's related to strictness of PHP 5.3.x compared to earlier version of PHP. I am thinking about compatibility issues between Image_GraphViz and PHP 5.3.x. I hope it can be solved as soon as possible

Monday, January 17, 2011

RDF API for PHP

Even though Web Semantic, RDF, and Sparql has been promoted by W3C as part of Web 3.0 and Semantic Web ideas, it seems that it doesn't attract many people to develop library to support programmers. This is the same problem that became my reason to do my thesis for my master degree. At that time, my problem is the lack of working Annotea Client.

One of my student is now working on his thesis as his final year project and he was unable to find RDF/SPARQL API for PHP, but with only one search, i can find RAP - RDF API for PHP, which i think is another outdated (but still working) PHP library to support RDF and SPARQL.

I wish there are more libraries to support the continuation development of Semantic Web and Web 3.0