|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
Problems installing KDE Decoration
I'm trying to install this Native Window Decoration but I ran into some problems.
I followed the directions and when I got the the third step, I copied and posted: ./configure --prefix=/opt/kde3 --includedir=/opt/kde3/include --with-qt-includes=/usr/lib/qt-3.0.5/include/ --with-qt-libraries=/usr/lib/qt-3.0.5/lib --with-extra-includes=/opt/kde3/include after that I hit return and go this: creating cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build 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 whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for c++... c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking whether c++ supports -fno-exceptions... yes checking whether c++ supports -fno-check-new... yes checking whether c++ supports -fexceptions... yes checking how to run the C++ preprocessor... c++ -E checking whether c++ supports -frepo... yes checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/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 dependant libraries... pass_all checking for ranlib... ranlib checking for strip... strip checking for Cygwin environment... no checking for mingw32 environment... no updating cache ./config.cache loading cache ./config.cache within ltconfig checking whether -lc should be explicitly linked in... yes checking for objdir... .libs checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes finding the maximum length of command line arguments... 73729 checking if gcc supports -c -o file.o... yes checking if gcc supports -fno-rtti -fno-exceptions ... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking command to parse /usr/bin/nm -B output... ok checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for dlopen in -ldl... yes checking for dlfcn.h... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no creating libtool updating cache ./config.cache loading cache ./config.cache loading cache ./config.cache within ltconfig checking host system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu ltcf-cxx: with_gcc=yes ; with_gnu_ld=yes checking for objdir... .libs checking for c++ option to produce PIC... -fPIC -DPIC checking if c++ PIC flag -fPIC -DPIC works... yes checking if c++ static flag -static works... yes finding the maximum length of command line arguments... (cached) 73729 checking if c++ supports -c -o file.o... (cached) yes checking if c++ supports -fno-rtti -fno-exceptions ... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking command to parse /usr/bin/nm -B output... ok checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for dlfcn.h... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no appending configuration tag "CXX" to libtool checking for object suffix... o checking for executable suffix... no checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking how to run the C preprocessor... gcc -E 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 res_init... no checking for killpg in -lucb... no checking size of int... 4 checking size of long... 4 checking size of char *... 4 checking size of char... 1 checking for dlopen in -ldl... (cached) yes checking for shl_unload in -ldld... no checking for extra includes... added checking for extra libs... no checking for libz... -lz checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths! Can someone help me with this? I'm not sure why I go this or how to fix it, but if someone can explain it to me, I'd be greatful. Thank you. |
|
#2
|
||||
|
||||
|
Your X header files (.h stuff normally found in /usr/include/X11/) are AWOL. See if you can find a file on your system called X.h. If not, then the headers probably aren't installed. If I recall correctly, the files are included in the X-devel package. So, if they're missing, you can just install that.
If, however, they ARE installed, just not in the /usr/include/X11 directory, try running ./configure --help to figure out how to point to the includes in their oddball location. |
|
#3
|
|||
|
|||
|
How can I look for X.h on my system and if I can't find it does anyone know where I can locate the the X-devel package?
I'm running RedHat 8.0 btw. |
|
#4
|
||||
|
||||
|
find / -name x.h -print
/ -> starts searching at root directory -name -> searches for literal name "x.h" (no wildcards) -print -> puts it's finds to the console Last edited by Ctb : November 6th, 2002 at 08:18 PM. |
|
#5
|
|||
|
|||
|
I tried the find / -name x.h -print but I ran into some problems.
When I tried it with my user account I got the following message: find: /lost+found: Permission denied find: /boot/lost+found: Permission denied find: /proc/1/fd: Permission denied find: /proc/2/fd: Permission denied find: /proc/3/fd: Permission denied find: /proc/4/fd: Permission denied find: /proc/5/fd: Permission denied find: /proc/6/fd: Permission denied find: /proc/7/fd: Permission denied find: /proc/8/fd: Permission denied find: /proc/12/fd: Permission denied find: /proc/68/fd: Permission denied find: /proc/273/fd: Permission denied find: /proc/309/fd: Permission denied find: /proc/610/fd: Permission denied find: /proc/657/fd: Permission denied find: /proc/661/fd: Permission denied find: /proc/678/fd: Permission denied find: /proc/697/fd: Permission denied find: /proc/778/fd: Permission denied find: /proc/828/fd: Permission denied find: /proc/842/fd: Permission denied find: /proc/866/fd: Permission denied find: /proc/876/fd: Permission denied find: /proc/886/fd: Permission denied find: /proc/895/fd: Permission denied find: /proc/934/fd: Permission denied find: /proc/952/fd: Permission denied find: /proc/1031/fd: Permission denied find: /proc/1032/fd: Permission denied find: /proc/1033/fd: Permission denied find: /proc/1034/fd: Permission denied find: /proc/1035/fd: Permission denied find: /proc/1036/fd: Permission denied find: /proc/1037/fd: Permission denied find: /proc/1082/fd: Permission denied find: /proc/1083/fd: Permission denied find: /proc/1252/fd: Permission denied find: /proc/4903/fd: Permission denied find: /proc/18621/fd: Permission denied find: /proc/19017/fd: Permission denied find: /proc/19020/fd: Permission denied find: /proc/19046/fd: Permission denied find: /var/lib/slocate: Permission denied find: /var/lib/nfs/statd: Permission denied find: /var/lib/xdm/authdir: Permission denied find: /var/cache/alchemist/printconf.rpm: Permission denied find: /var/cache/alchemist/printconf.local: Permission denied find: /var/run/sudo: Permission denied find: /var/spool/at: Permission denied find: /var/spool/clientmqueue: Permission denied find: /var/spool/mqueue: Permission denied find: /var/spool/cron: Permission denied find: /var/spool/postfix/active: Permission denied find: /var/spool/postfix/bounce: Permission denied find: /var/spool/postfix/corrupt: Permission denied find: /var/spool/postfix/defer: Permission denied find: /var/spool/postfix/deferred: Permission denied find: /var/spool/postfix/flush: Permission denied find: /var/spool/postfix/incoming: Permission denied find: /var/spool/postfix/maildrop: Permission denied find: /var/spool/postfix/private: Permission denied find: /var/spool/postfix/public: Permission denied find: /var/spool/postfix/saved: Permission denied find: /var/empty/sshd: Permission denied find: /var/gdm: Permission denied find: /tmp/orbit-root: Permission denied find: /etc/default: Permission denied find: /root: Permission denied I switched into root and tried it and got this message: find: /proc/4903/fd: No such file or directory Does this mean I don't have it installed or that it didn't work? I'm really confused. |
|
#6
|
||||
|
||||
|
Sorry, that should be X.h in your command (capital X). I switched into RH 8.0 and found the X11 includes in this directory:
/usr/X11R6/include/X11/ Try looking there. If you don't find it there, rerun the corrected find command. As for the file not found error, don't worry about it. /proc contains a series of diagnostic files. Directory 4903 referred to process 4903 while it was running. When process 4903 exited (after find started, but before find searched that directory), the directory vanished, and find got a little confused when it got there. |
|
#7
|
|||
|
|||
|
Jestah, you have to login as "root" for all system configuration issues!
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
|
#8
|
|||
|
|||
|
Well, reading the 'Installation Instructions' from the website I found this:
Optional Features ================= Some packages pay attention to `--enable-FEATURE' options to `configure', where FEATURE indicates an optional part of the package. They may also pay attention to `--with-PACKAGE' options, where PACKAGE is something like `gnu-as' or `x' (for the X Window System). The `README' should mention any `--enable-' and `--with-' options that the package recognizes. For packages that use the X Window System, `configure' can usually find the X include and library files automatically, but if it doesn't, you can use the `configure' options `--x-includes=DIR' and `--x-libraries=DIR' to specify their locations. ------------------------------------------------------------------ Does that mean I should type this for step 3: ./configure --prefix=/opt/kde3 --includedir=/opt/kde3/include --with-qt-includes=/usr/lib/qt-3.0.5/include/ --with-qt-libraries=/usr/lib/qt-3.0.5/lib --with-extra-includes=/opt/kde3/include --x-includes=DIR whereas DIR is where X.h is located? |
|
#9
|
||||
|
||||
|
You got it, cheif! (btw... don't be afraid to just try and run things with configure scripts. If it's something little, and you mess it up, you can always just rerun the configure script with new options).
M. Hirsch - LOL: Ok... I figured he had noticed that already, but I guess it can't hurt to reinforce the lesson ![]() |
|
#10
|
|||
|
|||
|
sorry, didn´t read the post thoroughly enough. he told that he "switched to root" already in his third post...
greetings, M. |
|
#11
|
|||
|
|||
|
Thanks for all your help guys! Typically I wouldn't have asked if that would have worked, I would have tried it but I'm somewhat nervous doing things that I really don't understand in root. I would rather get the ok from more experienced users first
![]() Thanks again. I'll let you guys know how it turns out. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > Problems installing KDE Decoration |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|