login
Header Space

 
 

Building KDE software on OpenBSD

May 11, 2007 - 4:29pm
Submitted by Anonymous on May 11, 2007 - 4:29pm.
OpenBSD

Hi,

I have installed OpenBSD 4.1 and KDE 3.5.6 from the oficial repository and now I am trying to build KDE software on this and for some reason I don't know it is not working.


build/yakuake-2.7.5 > ./configure --prefix=/usr/local --with-qt-includes=/usr/local/include/ --with-qt-libraries=/usr/local/lib/ --with-extra-include=/usr/local/include/ --with-extra-libs=/usr/local/lib/

The error message follows:

checking for Qt... configure: error: Qt (>= Qt 3.2 and < 4.0) (headers and libraries) not found. Please check your installation! For more details about this problem, look at the end of config.log.

Before anyone ask, yes I have qt3 package installed:

build/yakuake-2.7.5 > pkg_info |grep qt3
qt3-examples-3.7 examples and tutorial for qt3
qt3-html-3.7 off-line html documentation for qt3
qt3-mt-3.7p1 C++ X11 GUI toolkit
qt3-mysql-3.7 MySQL plugin for qt3
qt3-postgresql-3.7 PostgresSQL plugin for qt3
qt3-sqlite2-3.7 sqlite2 plugin for qt3
qt3-sqlite3-0.2 qt3 sqlite3 plugin

Seems the problem is some library the configure program cannot find. I tried to create a port and it starts to build normaly.

I Don't have idea of what's wrong. Any help is welcome.

For more details about this

May 12, 2007 - 11:21am
Anonymous (not verified)

For more details about this problem, look at the end of config.log.

pkg_info qt-mt

May 12, 2007 - 10:58pm
Anonymous (not verified)

There are no Qt3 headers in /usr/local/include. Try using /usr/local/include/X11/qt3 or /usr/local/lib/qt3/include.


$ pkg_info qt-mt

Information for qt3-mt-3.5p6

...

People who want to use qt3 to compile applications outside the ports tree
should note that qt3's installation conforms to OpenBSD habits, not
TrollTech's recommendations.
Accordingly:
- libs are separated from includes.
- moc is installed as /usr/local/bin/moc3, in order not to conflict
with other qt versions.
- uic is installed as /usr/local/bin/uic3

Generally, it's just a question of invoking

env MOC=moc3 UIC=uic3 configure --with-qt-includes=/usr/local/include/X11/qt3
--with-qt-libraries=/usr/local/lib/qt3

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
speck-geostationary