[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    KDE/Qt build question....
From:       Gary Greene <greeneg () student ! gvsu ! edu>
Date:       2003-05-13 21:31:05
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This question is aimed at anyone here that can help with some issues I'm 
having packaging up the KIO_exec package.

I'm building a new set of packages that will hopefully be in Mandrake cooker 
contrib soon that will add a kio_exec (GPL'd stuff from Lycoris Linux) and a 
new centralized HTML based system control panel (custom designed). The 
KIO_exec package is giving me a little bit of problems though. It bombs at 
the qt detection saying that autoconfig can't find a version of Qt that is >= 
2.2.2

I looked again at the RPM spec that I'm slowly converting to be Mandrakeized 
and it follows:

[greeneg@uriel SPECS]$ cat kio_exec.spec
Summary		: KIO Slave allowing local executables to be called from within HTML.
Name		: kio_exec
Version		: 0.1
Release		: 1mdk
License		: GPL
Group		: Desktop/KDE
URL		: http://www.lycoris.com/
Packager	: Gary Greene <greeneg@student.gvsu.edu>
Requires	: kdelibs
Buildrequires	: kdelibs-devel, libqt3-devel
Buildroot	: %_tmpdir/%name-%version

Source0		: exec-0.1.tar.bz2

%description
Allows KDE's Konqueror Filemanager/Webbrowser to support 'exec:' protocols.
This is extremely useful for creating HTML driven dialogs in KDE, such as a 
Windows XP-like Control Center, or even a 'My KDE System' similar to 
Microsoft Windows 9x/ME/2k/XP.

%prep
%setup0 -q -n exec-%version

%Build
export prefix="/usr"
export includedir="$prefix/include"
export kde_prefix="$prefix"
export kde_confdir="$prefix/share/config"
export kde_bindir="$prefix/bin"
export kde_libdir="$prefix/lib"
export kde_includes="$prefix/include"
export kde_includedir="$prefix/include"
export kde_htmldir="$prefix/share/doc/HTML"
export kde_icondir="$prefix/share/icons"
export kde_sounddir="$prefix/share/sounds"
export kde_datadir="$prefix/share/apps"
export kde_locale="$prefix/share/locale"
export kde_mimedir="$prefix/share/mimelnk"
export kde_wallpaperdir="$prefix/share/wallpapers"
export kde_appsdir="$prefix/share/applnk"
export kde_servicesdir="$prefix/share/services"
export kde_servicetypesdir="$prefix/share/servicetypes"
export configkde="--disable-path-check --includedir=$includedir
- --prefix=$prefix --disable-debug --with-qt-dir=/usr/lib/qt3
- --libdir=$kde_libdir"

if [ -n "$KDEDIR" ]; then
  unset KDEDIR
fi

./configure $configkde --with-xinerama
make

%Install
%{mkDESTDIR}
source %{SOURCE1}
make DESTDIR=$DESTDIR install

%{mkLists} -c %{Name}

%clean
%{rmDESTDIR}

%files -f files-%{Name}
%defattr(-,root,root)

%Changelog
* Tue May 13 2003 Gary Greene <greeneg@student.gvsu.edu> 0.1-1mdk
- - First mdk build.
- - converted the spec from Lycoris Linux to mdk.

The Error is as follows:

checking for Qt... configure: error: Qt (>= Qt 2.2.2) (libraries) not found.
Please check your installation!
For more details about this problem, look at the end of config.log.
error: Bad exit status from /var/tmp/rpm-tmp.36942 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.36942 (%build)

from the end of the config.log I have:

configure:5615: checking for Qt
configure: 5679: /usr/lib/qt3/include/qstyle.h
taking that
configure:5789: rm -rf SunWS_cache; c++ -o conftest -DNDEBUG -O2
- -fno-exceptions -fno-check-new -I/usr/lib/qt3/include -I/us
r/X11R6/include  -D_REENTRANT  -L/usr/lib/qt3/lib -L/usr/X11R6/lib
conftest.C  -lqt -lpng -lz -lm -ljpeg  -lXext -lX11 -lS
M -lICE  -lresolv 1>&5
/usr//bin/ld: cannot find -lqt
collect2: ld returned 1 exit status
configure: failed program was:
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qevent.h>
#include <qstring.h>
#include <qstyle.h>
#include <qiconview.h>
#if ! (QT_VERSION >= 222)
#error 1

Any ideas? I may need t update the admin/ directory in it but I don't know if
that will fix it...

- --
Gary L. Greene, Jr.
Sent from uriel.gvsu.edu
 16:54:57 up 17:01,  4 users,  load average: 0.39, 0.13, 0.04
============================================================
Founder and president of the Grand Valley Linux Users Group.
  -=<http://www.gvlug.org>=-
Chief Systems Architect, SSC Limited, Inc. - OS Department.
PHONE : 331-0562
EMAIL : greeneg@student.gvsu.edu
============================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+wWQZyPw381UL7WcRAliVAJ90u1wInDWKpM1eGGsV+dCMapPHcQCeIwf+
K7ZyaCpV/j/SA5bg5WDFNPM=
=RNKQ
-----END PGP SIGNATURE-----

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic