Bug 96586 - Build without kde, kde-config not found, enable building with min deps
Summary: Build without kde, kde-config not found, enable building with min deps
Status: RESOLVED NOT A BUG
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-08 17:17 UTC by Jeff Kowalczyk
Modified: 2005-01-08 21:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Kowalczyk 2005-01-08 17:17:47 UTC
Version:           1.4 alpha (using KDE KDE 3.3.91)
Installed from:    Gentoo Packages
Compiler:          gcc-3.4.3 
OS:                Linux

I know this isn't going to be popular here, but I use Gnome, and don't have KDE installed. On Gentoo Linux, I don't mind installing kdelibs and any relevant dependencies, but I don't want to have to pull in kdebase to build umbrello. I don't mind giving up desktop integration features that might be lost if KDE is not installed.

I'm desperate for any non-Java, XMI-compliant UML editors and umbrello looks very good option, if I can get it built on my system.

Please enable some sort of --without-kde mechanism in the configure script, so that non-KDE users can easily build umbrello from source. Thanks.

 # emerge umbrello -pv

These are the packages that I would merge, in order:

On Gentoo it, would be reasonable to require all except kdebase:
----------------------------------------------------------------
Calculating dependencies ...done!
[ebuild  N    ] kde-base/kde-env-3-r3  0 kB
[ebuild  N    ] net-dns/libidn-0.5.11-r1  -doc -java +nls -pic 0 kB
[ebuild  N    ] kde-base/kdelibs-3.3.2-r2  +alsa -arts +cups -debug -doc -ipv6 -kerberos +ldap +ssl +tiff -xinerama 0 kB
[ebuild  N    ] kde-base/kdebase-3.3.2-r1  -arts +cups -debug -java +ldap +opengl +pam +samba +ssl -xinerama 0 kB
[ebuild  N    ] dev-util/umbrello-1.3.2  -arts -debug -xinerama 0 kB [1]


Building 1.4.0alpha from the source tarball:
--------------------------------------------
$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for kde-config... not found
configure: error: The important program kde-config was not found!
Please check whether you installed KDE correctly.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = laptop
uname -m = i686
uname -r = 2.6.10-gentoo-r2
uname -s = Linux
uname -v = #1 Tue Jan 4 11:07:50 EST 2005

/usr/bin/uname -p = mobile AMD Athlon(tm) XP-M 2000+
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /opt/bin
PATH: /usr/i686-pc-linux-gnu/gcc-bin/3.4.3
PATH: /usr/X11R6/bin
PATH: /usr/qt/3/bin
PATH: /usr/games/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1561: checking build system type
configure:1579: result: i686-pc-linux-gnu
configure:1587: checking host system type
configure:1601: result: i686-pc-linux-gnu
configure:1609: checking target system type
configure:1623: result: i686-pc-linux-gnu
configure:1670: checking for a BSD-compatible install
configure:1725: result: /usr/bin/install -c
configure:1740: checking for -p flag to install
configure:1753: result: yes
configure:1764: checking whether build environment is sane
configure:1807: result: yes
configure:1859: checking for gawk
configure:1875: found /usr/bin/gawk
configure:1885: result: gawk
configure:1895: checking whether make sets $(MAKE)
configure:1915: result: yes
configure:2101: checking for kde-config
configure:2151: result: not found
configure:2156: error: The important program kde-config was not found!
Please check whether you installed KDE correctly.


## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=yes
ac_cv_target=i686-pc-linux-gnu
ac_cv_target_alias=i686-pc-linux-gnu
kde_cv_path=NONE
kde_cv_path_kde_config=NONE

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/jtk/ebuilds/umbrello-1.4.0alpha1/admin/missing --run aclocal-1.9'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/jtk/ebuilds/umbrello-1.4.0alpha1/admin/missing --run tar'
AR=''
ARTSCCONFIG=''
AUTOCONF='${SHELL} /home/jtk/ebuilds/umbrello-1.4.0alpha1/admin/missing --run autoconf'
AUTODIRS=''
AUTOHEADER='${SHELL} /home/jtk/ebuilds/umbrello-1.4.0alpha1/admin/missing --run autoheader'
AUTOMAKE='${SHELL} /home/jtk/ebuilds/umbrello-1.4.0alpha1/admin/missing --run automake-1.9'
AWK='gawk'
CC=''
CCDEPMODE=''
CFLAGS=''
CONF_FILES=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DCOPIDL2CPP=''
DCOPIDL=''
DCOPIDLNG=''
DCOP_DEPENDENCIES=''
DEFS=''
DEPDIR=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_PERMISSIVE_FLAG=''
EXEEXT=''
F77=''
FFLAGS=''
FRAMEWORK_COREAUDIO=''
GMSGFMT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
KCFG_DEPENDENCIES=''
KCONFIG_COMPILER=''
KDECONFIG=''
KDE_EXTRA_RPATH=''
KDE_INCLUDES=''
KDE_LDFLAGS=''
KDE_MT_LDFLAGS=''
KDE_MT_LIBS=''
KDE_NO_UNDEFINED=''
KDE_PLUGIN=''
KDE_RPATH=''
KDE_USE_CLOSURE_FALSE=''
KDE_USE_CLOSURE_TRUE=''
KDE_USE_FINAL_FALSE=''
KDE_USE_FINAL_TRUE=''
KDE_USE_NMCHECK_FALSE=''
KDE_USE_NMCHECK_TRUE=''
KDE_XSL_STYLESHEET=''
LDFLAGS=''
LIBCOMPAT=''
LIBCRYPT=''
LIBDL=''
LIBJPEG=''
LIBOBJS=''
LIBPNG=''
LIBPTHREAD=''
LIBRESOLV=''
LIBS=''
LIBSM=''
LIBSOCKET=''
LIBTOOL=''
LIBUCB=''
LIBUTIL=''
LIBZ=''
LIB_KAB=''
LIB_KABC=''
LIB_KDECORE=''
LIB_KDEPIM=''
LIB_KDEPRINT=''
LIB_KDEUI=''
LIB_KFILE=''
LIB_KFM=''
LIB_KHTML=''
LIB_KIMPROXY=''
LIB_KIO=''
LIB_KNEWSTUFF=''
LIB_KPARTS=''
LIB_KSPELL=''
LIB_KSYCOCA=''
LIB_KUTILS=''
LIB_POLL=''
LIB_QPE=''
LIB_QT=''
LIB_SMB=''
LIB_X11=''
LIB_XEXT=''
LIB_XRENDER=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/jtk/ebuilds/umbrello-1.4.0alpha1/admin/missing --run makeinfo'
MAKEKDEWIDGETS=''
MCOPIDL=''
MEINPROC=''
MOC=''
MSGFMT=''
NOOPT_CFLAGS=''
NOOPT_CXXFLAGS=''
OBJEXT=''
PACKAGE='umbrello-1.4.0alpha1'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PERL=''
QTE_NORTTI=''
QT_INCLUDES=''
QT_LDFLAGS=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
TOPSUBDIRS=''
UIC=''
UIC_TR=''
USER_INCLUDES=''
USER_LDFLAGS=''
USE_EXCEPTIONS=''
USE_RTTI=''
USE_THREADS=''
VERSION='3.3.0'
WOVERLOADED_VIRTUAL=''
XGETTEXT=''
XMLLINT=''
X_EXTRA_LIBS=''
X_INCLUDES=''
X_LDFLAGS=''
X_PRE_LIBS=''
X_RPATH=''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
all_includes=''
all_libraries=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${prefix}/share'
doc_SUBDIR_included_FALSE=''
doc_SUBDIR_included_TRUE=''
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
include_ARTS_FALSE=''
include_ARTS_TRUE=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/jtk/ebuilds/umbrello-1.4.0alpha1/admin/install-sh'
kde_appsdir=''
kde_bindir=''
kde_confdir=''
kde_datadir=''
kde_htmldir=''
kde_icondir=''
kde_includes=''
kde_kcfgdir=''
kde_libraries=''
kde_libs_htmldir=''
kde_libs_prefix=''
kde_locale=''
kde_mimedir=''
kde_moduledir=''
kde_qtver=''
kde_servicesdir=''
kde_servicetypesdir=''
kde_sounddir=''
kde_styledir=''
kde_templatesdir=''
kde_wallpaperdir=''
kde_widgetdir=''
kdeinitdir=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
qt_includes=''
qt_libraries=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i686-pc-linux-gnu'
target_alias=''
target_cpu='i686'
target_os='linux-gnu'
target_vendor='pc'
umbrello_SUBDIR_included_FALSE=''
umbrello_SUBDIR_included_TRUE=''
unsermake_enable_pch_FALSE=''
unsermake_enable_pch_TRUE=''
x_includes='NONE'
x_libraries='NONE'
xdg_appsdir=''
xdg_directorydir=''
xdg_menudir=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE "umbrello-1.4.0alpha1"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "3.3.0"

configure: exit 1
Comment 1 Sebastian Stein 2005-01-08 17:57:54 UTC
It is a KDE application using lots of the stuff in the KDE libs. You can not build a Gnome application without installing the Gnome libs, the same is true for a KDE application. Libraries exist to help developers not reinventing the wheel again and again. So maybe install KDE libs, compile Umbrello statically linked against and remove KDE libs afterwards again. Ask your distro community how to do this.
Comment 2 Thiago Macieira 2005-01-08 21:07:00 UTC
kde-config is installed by kdelibs. umbrello should build without kdebase.

Try the source code. You must have a local installation problem, or a problem with the packaging your distribution does for you.