Building Boost.Python 1.42 for QNX 6.4.1

June 8, 2010 by

Building the Boost C++ libraries (http://boost.org/) for QNX is pretty straight forward. The build can be executed as described in the Boost documentation. I have performed the build of Boost 1.42 using QNX 6.4.1 installed in a virtual machine.

But there was a little tweak required to build the Boost.Python library. The problem is that python is located in /usr/qnx641/host/qnx6/x86/usr/bin/python but the required Python include files like Python.h are located in /usr/qnx641/target/qnx6/usr/include/python2.5. This setup is confusing the automatic detection of the include files used in the build process.

This can be fixed by providing the right include path, e.g by adding the following line to the file <boost_src_dir>/project-config.jam:

using python : 2.5 : /usr/qnx641/host/qnx6/x86/usr/bin/python : /usr/qnx641/target/qnx6/usr/include/python2.5 ;

subversion (svn) client to old – how to update on a Ubuntu 8.04 (hardy) powered LPIA system

August 19, 2009 by

When getting the error message that your subversion (svn) client is to old, e.g like this one in German:

$ svn info
svn: Der Client ist zu alt, um mit der Arbeitskopie ».« zusammen zu arbeiten;
bitte besorgen Sie einen neueren Subversion-Client

Read the rest of this entry »

Updating Java6 from u6 to u14 on Ubuntu powered Dell Mini 9

August 12, 2009 by

Sometimes a newer Java6 version must be installed, e.g. to get support of full screen applications. But updates for the Dell Mini 9 are not issued as regular as required to solve this problem. Therefore I have decided to install the required packages by hand using packages compiled for other Ubuntu Hardy powered LPIA systems.
Read the rest of this entry »

VS2008: Fixing the Warning PDB ‘vc90.pdb’ not found

July 1, 2009 by

Using separate build libraries lead to the following message of the Visual Studio 2008 linker:

warning LNK4099: PDB 'vc90.pdb' was not found with ...

The problem is that the object files embeds the path to the PDB file. The following steps extracts the object file from the library and shows the embedded path.

 Read the rest of this entry »

Loading a Python module fails with the message “unknown symbol”

August 28, 2008 by

Using the import statement of Python to load a self build module sometimes fails. In my personal experience most of the time the problem was due to unresolved symbols in my .so modules. For QNX and many other POSIX compatible systems like GNU/Linux Python uses dlopen to load the dynamic libraries aka modules.

Read the rest of this entry »

PyDev – One of my favorite plugins for Eclipse

August 28, 2008 by

While programming in Python I use most of the time the Python perspective provided by the PyDev plug in for Eclipse. PyDev is the abbreviation of Python Development Environment and available from http://pydev.sourceforge.net/index.html. This post outlines the steps installing PyDev and the Python lint pylint.

Read the rest of this entry »

Debugger is failing to start with a time out

August 28, 2008 by

In case you get only this information in the view of Eclipse or Momentics IDE named Debug:

Thread[0] 1 <symbol is not available>

The corresponding source is displayed as:

No source available for “”

[View Disassembly ...]

The launch of the target is terminated by a time out.

Read the rest of this entry »

TFPT reports: Unable to determine the workspace.

August 14, 2008 by

Using TFPT from Microsoft Team Foundation PowerTools December 2006 with this or a similar command

> TFPT.exe /online

fails with the message

Unable to determine the workspace.

If this is the case for a workspace created with Visual Studio 2008 try to change the workspace from Visual Studio 2005. Even only changing the comment was sufficient in my case. After this change everything works again from TPFT and VS 2008, too.

Adding Mylyn and PyDev to QNX Momentics IDE

August 14, 2008 by

A useful extension to Eclipse and therefore QNX Momentics is Mylyn (http://www.eclipse.org/mylyn/). It helps to organize your actual task in the perfect way. Give it a try!

To install it add for IDE 4.5 (Tau) the Eclipse 3.3 update site to Help->Software Updates->Find and install… . Select the radio button named “Search for new features to install” and click Next. Then it is possible to add a “New Remote Site…”.

For most distributions of Eclipse, there should already be a “Europa Discovery Site” defined in the Update Manager. Otherwise you can add the following URL as a remote update site in the update manager.

http://download.eclipse.org/releases/europa/

See Eclipse Help for general information about using Update Manager.

To get the latest version of Mylyn you may add the Mylyn update site, too. This is the necessary URL:

http://download.eclipse.org/tools/mylyn/update/e3.3

Next important extension is PyDev (http://pydev.sourceforge.net). This is the URL for the remote update site:

http://pydev.sourceforge.net/updates/


Often used pkgsrc commands

August 14, 2008 by

This my memo where I store the commands I’m using when building packages with pkgsrc (http://www.netbsd.org/docs/software/packages.html).

Determining the package dependencies:
$ bmake show-depends-pkgpath

Finding build references to a given package, e.g. libdrm:
$ egrep ‘libdrm|xf86driproto’ */*/buildlink3.mk

All the available targets are documented in The pkgsrc make target reference – NetBSD Wiki.

This is used to rebuild a patched package:
bmake distinfo && bmake clean && bmake build

The following builds and install the package:
bmake distinfo && bmake clean && bmake package

QNX specific issues are discussed in the forum http://community.qnx.com/sf/discussion/do/listTopics/projects.pkgsrc/discussion.general.


Follow

Get every new post delivered to your Inbox.