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.
by mistake i installed an older version of xproto now the following error in being shown how do i remove the older version
root [ /sources/libX11-1.4.4 ]# case $(basename "$PWD") in libXfont-[0-9]* ) ./configure $XORG_CONFIG --disable-devel-docs; ;; libXt-[0-9]* ) ./configure $XORG_CONFIG --with-appdefaultdir=/etc/X11/app-defaults; ;; * ) ./configure $XORG_CONFIG; ;; esac && make
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
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
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/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 if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc option to accept ISO C99... -std=gnu99
checking whether __clang__ is declared... no
checking whether __INTEL_COMPILER is declared... no
checking whether __SUNPRO_C is declared... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking if gcc -std=gnu99 supports -Werror=attributes... no
checking whether to build functional specifications... yes
checking for xmlto... no
configure: WARNING: xmlto not found - documentation targets will be skipped
checking for xsltproc... /usr/bin/xsltproc
checking for X.Org SGML entities >= 1.8... no
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... /usr/bin/perl
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking return type of signal handlers... void
checking if Xtrans should support UNIX socket connections... yes
checking if Xtrans should support TCP socket connections... yes
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for getaddrinfo... yes
checking if IPv6 support should be built... yes
checking for struct sockaddr_in.sin_len... no
checking for socklen_t... yes
checking if Xtrans should support os-specific local connections... no
checking for authdes_seccreate... no
checking for authdes_create... no
checking if Secure RPC authentication ("SUN-DES-1") should be supported... no
checking what order to try transports in for local connections... LOCAL_TRANS,UNIX_TRANS,TCP_TRANS
checking if run-time linking is supported... checking for library containing dlopen... -ldl
checking for dlfcn.h... (cached) yes
yes
checking if loadable i18n module support should be enabled... no
checking if loadable Xcursor library support should be enabled... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for strtol... yes
checking for issetugid... no
checking for getresuid... yes
checking for shmat... yes
checking for launchd... no
checking for getpwuid_r in -lc... yes
checking for pthread_self in -lc... yes
checking for poll... yes
checking keysym definitions... /usr/local/include/X11/keysymdef.h /usr/local/include/X11/XF86keysym.h /usr/local/include/X11/Sunkeysym.h /usr/local/include/X11/DECkeysym.h /usr/local/include/X11/HPkeysym.h
checking if XLOCALEDIR support should be enabled... yes
checking for BIGFONT... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for nl_langinfo... yes
checking for X11... configure: error: Package requirements (xproto >= 7.0.17 xextproto xtrans xcb >= 1.1.92 kbproto inputproto) were not met:
Requested 'xproto >= 7.0.17' but version of Xproto is 7.0.10
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables X11_CFLAGS
and X11_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
xproto is part of the Xorg Protocol Headers chapter and version 7.0.22 is installed, so the correct one should be present. What does /usr/lib/pkgconfig/xproto.pc say?
Did you redo all of the Xorg Libraries chapter (remove all and start again with that chapter) after redoing Xorg Proto?
Running the ldconfig command might also be needed.
BTW: You do need to redo all the packages that depend on xproto (libXdmcp-1.1.0 / libXau / makedepend).
Have you checked if your X environment is set correctly and if the packages are installed in the correct place?
It does depend on what you have chosen to use as XORG_PREFIX, but if you used /usr the xproto related packages should be installed in:
- /usr/include/X11/
- /usr/include/GL/
- /usr/lib/pkgconfig/
Check all the installed versions mentioned in the error line:
Code:
grep Version /usr/lib/pkgconfig/{xproto.pc,xextproto.pc,xtrans.pc,kbproto.pc,inputproto.pc}
Just to make sure: You did fully remove the build directories before reinstalling/retrying?
Last edited by druuna; 04-29-2012 at 02:38 PM.
Reason: fixed weird sentence
initially i was doing with individual packages but the i switched with wget still the same eroor is coming and after executing ldconfig for xtrans the following error comes
root [ /sources/lib/xtrans-1.2.6 ]# ldconfig
ldconfig: /usr/lib/libstdc++.so.6.0.16-gdb.py is not an ELF file - it has the wrong magic bytes at the start.
initially i was doing with individual packages but the i switched with wget still the same eroor is coming
It is obvious you made a mistake somewhere, but putting my finger on it seems to be harder then I thought.
I am curious about something: I took another hard look at the versions installed and you mention this:
Quote:
/usr/lib/pkgconfig/xproto.pc:Version: 7.0.23
23? Shouldn't that be 7.0.22? Which BLFS book are you following? It looks like you are not following this one (Version 2012-04-28), which uses xproto 7.0.22 (and maybe other versions then you are using).
Quote:
... after executing ldconfig for xtrans the following error comes
root [ /sources/lib/xtrans-1.2.6 ]# ldconfig
ldconfig: /usr/lib/libstdc++.so.6.0.16-gdb.py is not an ELF file - it has the wrong magic bytes at the start.
The only advise I can give at the moment:
- start over with chapter 24,
- make sure you use the correct version of the book,
- use the user notes wherever possible,
- make sure you use the correct package versions.
Out of curiosity: Can you post/attach the 2 created logfiles:
- Xorg Protocol Headers -> proto-7.6-2-compile.log
- Xorg Libraries -> lib-7.6-2-compile.log
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.