Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, I just installed kdelibs without any problems, but when installing kdebase I get this error:
Code:
checking for GL... (cached) yes
checking for glXChooseVisual in -lGL... (cached) yes
checking "struct ucred"... yes
checking nogroup... nogroup
checking for getpeereid... no
checking for xmkmf... /usr/bin/xmkmf
checking X paths... failed
configure: error: /usr/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.
Did you install X11 into the /usr hierarchy? Since imake is in /usr/bin, I presume that you did. Kdebase has /usr/X11R6 hardcoded as the search path for X headers. Try replacing this with /usr
Code:
sed -i "s@/usr/X11R6@/usr@g" $(grep -lr /usr/X11R6 *)
This is for version 3 of KDE, not version 4.
Also, did you check into this --> On some systems a missing /lib/cpp symlink is at fault.
Last edited by weibullguy; 02-10-2008 at 08:53 AM.
--bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
--psdir=DIR ps documentation [DOCDIR]
Program names:
--program-prefix=PREFIX prepend PREFIX to installed program names
--program-suffix=SUFFIX append SUFFIX to installed program names
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
System types:
--build=BUILD configure for building on BUILD [guessed]
--host=HOST cross-compile to build programs to run on HOST [BUILD]
--target=TARGET configure for building compilers for TARGET [HOST]
Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--disable-fast-perl disable fast Makefile generation (needs perl)
--enable-debug=ARG enables debug symbols (yes|no|full) default=no
--disable-debug disables debug output and debug symbols default=no
--enable-strict compiles with strict compiler options (may not
work!)
--disable-warnings disables compilation with -Wall and similar
--enable-profile creates profiling infos default=no
--disable-dependency-tracking speeds up one-time build
--enable-dependency-tracking do not reject slow dependency extractors
--enable-pch enables precompiled header support (currently only
KCC or gcc >=3.4+unsermake) default=no
--enable-coverage use gcc coverage testing
--enable-new-ldflags enable the new linker flags
--enable-final build size optimized apps (experimental - needs lots
of memory)
--enable-closure delay template instantiation
--enable-nmcheck enable automatic namespace cleanness check
--enable-shared[=PKGS] build shared libraries [default=yes]
--enable-static[=PKGS] build static libraries [default=no]
--enable-libsuffix /lib directory suffix (64,32,none,auto=default)
--enable-fast-install[=PKGS]
optimize for fast installation [default=yes]
--disable-libtool-lock avoid locking (might break parallel builds)
--enable-pie platform supports PIE linking default=detect
--enable-embedded link to Qt-embedded, don't use X
--enable-qtopia link to Qt-embedded, link to the Qtopia Environment
--enable-mac link to Qt/Mac (don't use X)
--disable-mt link to non-threaded Qt (deprecated)
--disable-threading disables threading even if libpthread found
--disable-rpath do not use the rpath feature of ld
--disable-path-check don't try to find out, where to install
--enable-gcc-hidden-visibility
toolchain hidden visibility default=no
--disable-largefile omit support for large files
--disable-openpty disable openpty (UNIX98 terminals) support
default=enabled
--disable-dnssd don't require libdns_sd (browsing and publishing DNS-SD services will not be possible)
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
--with-pic try to use only PIC/non-PIC objects [default=use
both]
--with-tags[=TAGS] include additional configurations [automatic]
--with-extra-includes=DIR
adds non standard include paths
--with-extra-libs=DIR adds non standard library paths
--with-qt-dir=DIR where the root of Qt is installed
--with-qt-includes=DIR where the Qt includes are.
--with-qt-libraries=DIR where the Qt library is installed.
--without-arts build without aRts default=no
--with-pam=ARG enable support for PAM: ARG=yes|no|service, name
--with-shadow If you want shadow password support
--with-kdm-pam=val override PAM service from --with-pam for kdm
--with-kcp-pam=val override PAM service from --with-pam for kcheckpass
--with-kss-pam=val override PAM service from --with-pam for
kscreensaver
--with-java=javadir use java installed in javadir, --without-java
disables
--without-composite Disable Xcomposite support (default: check)
--with-ssl-dir=DIR where the root of OpenSSL is installed
--without-ssl disable SSL checks
--without-dpms disable DPMS power saving
--without-gl disable 3D GL modes
--with-libusb enable control of some mouse models through libusb
[default=check]
--with-usbids=PATH Use the usb.ids file at the specified path, instead
of the local copy
--with-libraw1394 enable visualization of ieee1394 devices through
libraw1394 [default=check]
--without-xscreensaver Disable XScreenSaver support (default: check)
--with-sudo-kdesu-backend
use sudo as backend for kdesu (default is su)
--without-xdmcp build kdm without xdmcp support
default=with, xdmcp
--with-krb4=PATH Compile in Kerberos v4 support
--with-afs Compile in AFS support (requires KTH krb4)
--with-krb5auth=PATH Use Kerberos5 for Xauth cookies in kdm
--with-rpcauth Use Sun's secure RPC for Xauth cookies in kdm.
--with-kdm-xconsole build kdm with built-in xconsole default=no
--with-ldap=PATH Set path for LDAP files default=check
--with-hal Enable HAL support default=check
--with-samba enable the samba ioslave [default=check]
--with-openexr enable support for OpenEXR [default=check]
--without-xinerama Disable xinerama extension support (default: check)
--with-sensors enable support for lm_sensors [default=check]
I think this is the one to go:
Code:
--includedir=DIR C header files [PREFIX/include]
--with-extra-includes=DIR
adds non standard include paths
--with-extra-libs=DIR adds non standard library path
When I tried to recompile the imake I got this error:
Code:
bash-3.2# ./configure $XORG_CONFIG &&
> make
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for sed... /bin/sed
checking for cpp... /usr/bin/cpp
checking if /usr/bin/cpp requires -undef... yes
checking if /usr/bin/cpp requires -traditional... yes
checking for perl... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XPROTO... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
configure: creating ./config.status
config.status: creating Makefile
sed: file ./confstat3tioBo/subs-2.sed line 11: unterminated `s' command
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
make: *** No targets. Stop.
bash-3.2#
Try deleting the imake source tree and unpack the tarball again so you're starting clean.
Quote:
--includedir=DIR C header files [PREFIX/include]
--with-extra-includes=DIR
adds non standard include paths
--with-extra-libs=DIR adds non standard library path
No. The first one is where you want the kdebase header files to be installed. You would only pass that if you didn't want them in the default location. The second and third ones are for finding headers and libraries somewhere odd such as your home directory. Since you installed Xorg in the /usr hierarchy, the headers and libraries are in standard locations. I was wondering (not being a KDE user myself) if there was a --with-x-includes=DIR switch.
Last edited by weibullguy; 02-11-2008 at 08:49 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.