aliendude5300/LibreScribe — Issue #27: Problems with building on FC16
Author: mohc
Created: 2011-12-16 15:27:42+00:00
State: open

Not a bug as such, but I am now stuck unable to build the application:

First problem was:

sh -c -x "g++ -Wall `wx-config --cflags` -Winvalid-pch -include wx_pch.h `python-config --include` `pkg-config --libs --cflags glib-2.0` -DWX_PRECOMP -O3 -g -I/usr/include/libxml2 -Iinclude -Ilibusb/libusb -c AboutDialog.cpp -o obj/Debug/AboutDialog.o"

/bin/sh: wx-config: command not found

The wxGTK libraries are not a part of the standard FC16 repository, I downloaded:
http://pkgs.org/fedora-16/fedora-i386/libudev-173-3.fc16.i686.rpm.html
http://pkgs.org/fedora-16/fedora-i386/libudev-devel-173-3.fc16.i686.rpm.html

Then the compilation fails on:

sh -c -x "g++ -Wall `wx-config --cflags` -Winvalid-pch -include wx_pch.h `python-config --include` `pkg-config --libs --cflags glib-2.0` -DWX_PRECOMP -O3 -g -I/usr/include/libxml2 -Iinclude -Ilibusb/libusb -c DeviceInfo.cpp -o obj/Debug/DeviceInfo.o"
+ g++ -Wall -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -Winvalid-pch -include wx_pch.h -I/usr/include/python2.7 -I/usr/include/python2.7 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -lglib-2.0 -DWX_PRECOMP -O3 -g -I/usr/include/libxml2 -Iinclude -Ilibusb/libusb -c DeviceInfo.cpp -o obj/Debug/DeviceInfo.o
In file included from DeviceInfo.h:26:0,
from DeviceInfo.cpp:18:
include/Smartpen.h:19:27: fatal error: openobex/obex.h: No such file or directory

I'm unable to locate a package to correct this.