You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Saturday, May 22nd 2004, 5:36pm

KDE 3.2.2 Won't Compile

I'm using Konstruct and Slackware 9.1 updated with swaret. My kernel is 2.4.26. I'm trying to install /meta/everything. I typed make install and it sat there downloading and compiling for a long time and then at the end I get this.

[install] complete for kdelibs.
make[2]: Leaving directory `/home/daniel/konstruct/kde/kdelibs'
==> Running configure in work/kdebase-3.2.2
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/ginstall -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 style of include used by make... GNU
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cc -E
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether g++ supports -Wmissing-format-attribute... yes
checking whether cc supports -Wmissing-format-attribute... yes
checking whether g++ supports -Wundef... yes
checking whether g++ supports -Wno-long-long... yes
checking whether g++ supports -Wnon-virtual-dtor... yes
checking whether g++ supports -fno-exceptions... yes
checking whether g++ supports -fno-check-new... yes
checking whether g++ supports -fno-common... yes
checking whether g++ supports -fexceptions... yes
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -O0... yes
checking whether g++ supports -Wl,--no-undefined... yes
checking whether g++ supports -Wl,--allow-shlib-undefined... yes
not using lib directory suffix
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by cc... /usr/i486-slackware-linux/bin/ld
checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... yes
checking for /usr/i486-slackware-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc static flag works... yes
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i486-slackware-linux/bin/ld
checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking if C++ programs can be compiled... yes
checking for strlcat... no
checking if strlcat needs custom prototype... yes - in libkdefakes
checking for strlcpy... no
checking if strlcpy needs custom prototype... yes - in libkdefakes
checking for main in -lutil... yes
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... socklen_t
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking sys/bitypes.h usability... yes
checking sys/bitypes.h presence... yes
checking for sys/bitypes.h... yes
checking for poll in -lpoll... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking if res_init needs -lresolv... yes
checking if res_init is available... yes
checking for killpg in -lucb... no
checking for int... yes
checking size of int... 4
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 4
checking for char *... yes
checking size of char *... 4
checking for dlopen in -ldl... (cached) yes
checking for shl_unload in -ldld... no
checking for size_t... yes
checking size of size_t... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking sizeof size_t == sizeof unsigned long... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for X... libraries /usr/lib, headers .
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for pthread_create in -lpthread... yes
checking for extra includes... added
checking for extra libs... no
checking for libz... -lz
checking for libpng... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for perl... /usr/bin/perl
checking for Qt... libraries /root/kde3.2.2/lib, headers /root/kde3.2.2/include using -mt
checking for moc... /root/kde3.2.2/bin/moc
checking for uic... /root/kde3.2.2/bin/uic
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes
checking if Qt needs -ljpeg... no
checking for rpath... yes
checking for KDE... libraries /root/kde3.2.2/lib, headers /root/kde3.2.2/include
checking if UIC has KDE plugins available... yes
checking for KDE paths... defaults
checking for dcopidl... /root/kde3.2.2/bin/dcopidl
checking for dcopidl2cpp... /root/kde3.2.2/bin/dcopidl2cpp
checking for mcopidl... /root/kde3.2.2/bin/mcopidl
checking for artsc-config... /root/kde3.2.2/bin/artsc-config
checking for kde-config... /root/kde3.2.2/bin/kde-config
checking for meinproc... /root/kde3.2.2/bin/meinproc
checking for kconfig_compiler... /root/kde3.2.2/bin/kconfig_compiler
checking for dcopidlng... /root/kde3.2.2/bin/dcopidlng
checking for xmllint... /root/kde3.2.2/bin/xmllint
checking for pam_start in -lpam... no
checking for getspent in -lshadow... no
checking for getspent in -lgen... no
checking for getspent... yes
checking for shadow passwords... yes
checking for libtiff tiff... yes
checking for jasper... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/stropts.h usability... yes
checking sys/stropts.h presence... yes
checking for sys/stropts.h... yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sys/termios.h usability... yes
checking sys/termios.h presence... yes
checking for sys/termios.h... yes
checking lastlog.h usability... yes
checking lastlog.h presence... yes
checking for lastlog.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking sys/m_wait.h usability... no
checking sys/m_wait.h presence... no
checking for sys/m_wait.h... no
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking login_cap.h usability... no
checking login_cap.h presence... no
checking for login_cap.h... no
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking sys/ucred.h usability... no
checking sys/ucred.h presence... no
checking for sys/ucred.h... no
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking floatingpoint.h usability... no
checking floatingpoint.h presence... no
checking for floatingpoint.h... no
checking fstab.h usability... yes
checking fstab.h presence... yes
checking for fstab.h... yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking Alib.h usability... no
checking Alib.h presence... no
checking for Alib.h... no
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for string.h... (cached) yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking nan.h usability... no
checking nan.h presence... no
checking for nan.h... no
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking pty.h usability... yes
checking pty.h presence... yes
checking for pty.h... yes
checking for ptsname... yes
checking for main in -lAlib... no
checking for main in -lossaudio... no
checking for main in -lcfg... no
checking for main in -lodm... no
checking for setupterm in -lcurses... yes
checking for addToUtmp in -lutempter... yes
checking for res_init... no
checking for res_init in -lresolv... no
checking whether time.h and sys/time.h may both be included... yes
checking for working long double with more range or precision than double... yes
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking for char... yes
checking size of char... 1
checking for short... (cached) yes
checking size of short... (cached) 2
checking for int... (cached) yes
checking size of int... (cached) 4
checking for long... (cached) yes
checking size of long... (cached) 4
checking whether byte ordering is bigendian... no
checking for socket... yes
checking for powl... no
checking for sqrtl... no
checking for strdup... yes
checking for getdtablesize... yes
checking for setpgid... yes
checking for nice... yes
checking for seteuid... yes
checking for vsyslog... yes
checking for initgroups... yes
checking for setgroups... yes
checking for getgroups... yes
checking for grantpt... yes
checking for pw_encrypt... no
checking for setpriority... yes
checking for getpt... yes
checking for unlockpt... yes
checking for ptsname... (cached) yes
checking for waitpid... yes
checking for mkstemps... no
checking if mkstemps needs custom prototype... yes - in libkdefakes
checking for setenv... yes
checking if setenv needs custom prototype... no
checking for unsetenv... yes
checking if unsetenv needs custom prototype... no
checking for getdomainname... yes
checking if getdomainname needs custom prototype... no
checking for gethostname... yes
checking if gethostname needs custom prototype... no
checking for usleep... yes
checking if usleep needs custom prototype... no
checking for random... yes
checking if random needs custom prototype... no
checking for srandom... yes
checking if srandom needs custom prototype... no
checking for S_ISSOCK... yes
checking for MAXPATHLEN... 4096
checking if it's safe to enable UTMP... yes
checking for utmp file... /var/run/utmp
checking for kstat_open in -lkstat... no
checking libdevinfo.h usability... no
checking libdevinfo.h presence... no
checking for libdevinfo.h... no
checking for Java... java JDK in /usr/lib/java/bin
checking X11/extensions/XTest.h usability... yes
checking X11/extensions/XTest.h presence... yes
checking for X11/extensions/XTest.h... yes
checking for XTestFakeKeyEvent in -lXtst... yes
checking for X11/XKBlib.h... yes
checking for XkbLockModifiers in -lX11... yes
checking for XkbSetPerClientControls in -lX11... yes
checking for X11/Xcursor/Xcursor.h... yes
checking for XcursorSupportsARGB in -lXcursor... yes
checking for Qt docs... /root/kde3.2.2/doc/html
checking for dot... not found
checking for doxygen... not found
checking for X11/extensions/XKBstr.h... yes
checking for X11/extensions/XKBstr.h... (cached) yes
checking for OpenSSL... libraries /usr/lib, headers /usr/include
checking whether OpenSSL uses rsaref... no
checking for easter eggs... none found
checking for OpenSSL version... ok
checking for DPMS... yes
checking whether DPMSCapable is declared... no
checking whether DPMSInfo is declared... no
checking for fontconfig-config... not found
checking for pkg-config... /root/kde3.2.2/bin/pkg-config
checking linux/raw.h usability... no
checking linux/raw.h presence... yes
configure: WARNING: linux/raw.h: present but cannot be compiled
configure: WARNING: linux/raw.h: check for missing prerequisite headers?
configure: WARNING: linux/raw.h: see the Autoconf documentation
configure: WARNING: linux/raw.h: section "Present But Cannot Be Compiled"
configure: WARNING: linux/raw.h: proceeding with the preprocessor's result
configure: WARNING: linux/raw.h: in the future, the compiler will take precedence
configure: WARNING: ## ------------------------------------------ ##
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
configure: WARNING: ## ------------------------------------------ ##
checking for linux/raw.h... yes
checking sys/raw.h usability... yes
checking sys/raw.h presence... yes
checking for sys/raw.h... yes
checking for long long... yes
checking for freetype-config... /usr/bin/freetype-config
checking for FTC_Manager_New in -lfreetype... yes
checking OS... Linux
checking X11/fonts/fontenc.h usability... yes
checking X11/fonts/fontenc.h presence... yes
checking for X11/fonts/fontenc.h... yes
checking whether g++ supports -shared... yes
checking for FontEncDirectory in -lfontenc... yes
checking for getifaddrs... yes
checking for getnameinfo... yes
checking for struct sockaddr.sa_len... no
checking for X11/extensions/Xrandr.h... yes
checking for XRRSetScreenConfigAndRate in -lXrandr... yes
checking kcarddb.h usability... no
checking kcarddb.h presence... no
checking for kcarddb.h... no
checking X11/extensions/Xrender.h usability... yes
checking X11/extensions/Xrender.h presence... yes
checking for X11/extensions/Xrender.h... yes
checking for XRenderComposite in -lXrender... yes
checking libraw1394/raw1394.h usability... no
checking libraw1394/raw1394.h presence... no
checking for libraw1394/raw1394.h... no
checking for sigset... yes
checking for sigaction... yes
checking for X11/extensions/scrnsaver.h... yes
checking for XScreenSaverQueryInfo in -lXext... no
checking whether g++ supports -shared... (cached) yes
checking for XScreenSaverQueryInfo in -lXss... yes
checking for X11/extensions/xf86misc.h... yes
checking for XF86MiscQueryVersion in -lXxf86misc... yes
checking for XF86MiscSetGrabKeysState in -lXxf86misc... yes
checking "struct ucred"... yes
checking nogroup... nogroup
checking for getpeereid... no
checking for xmkmf... not found
configure: error: xmkmf/imake not found. Please make sure it's in PATH!
make[1]: *** [configure-work/kdebase-3.2.2/configure] Error 1
make[1]: Leaving directory `/home/daniel/konstruct/kde/kdebase'
make: *** [dep-../../kde/kdebase] Error 2

Anyone know what's going on?

2

Saturday, May 22nd 2004, 7:20pm

nevermind i got it working... i ran this command and now it works

[code:1]export PATH=$PATH:/usr/X11R6/bin[/code:1]

3

Thursday, May 27th 2004, 5:14pm

Hi,
my configure hangs at the next step:
checking for xmkmf... /usr/X11R6/bin/xmkmf
checking various X settings... failed
configure: error: /usr/X11R6/bin/xmkmf (imake) failed.
Make sure you have all necessary X development packages installed.
On some systems a missing /lib/cpp symlink is at fault.

config.log says nothing, /lib/cpp exists and works.

Does anybody have some ideas ?

Greetings,
Scandal

138

Trainee

Posts: 81

Location: Helsinki, Finland

  • Send private message

4

Thursday, May 27th 2004, 9:09pm

Quoted


Hi,
my configure hangs at the next step:
checking for xmkmf... /usr/X11R6/bin/xmkmf
checking various X settings... failed
configure: error: /usr/X11R6/bin/xmkmf (imake) failed.
Make sure you have all necessary X development packages installed.
On some systems a missing /lib/cpp symlink is at fault.

config.log says nothing, /lib/cpp exists and works.

Does anybody have some ideas ?

Greetings,
Scandal


Try installing xfree-dev rpm if it is not installed.
Siili teki maalin.