|
Conky - kompilacja ze źródeł
ModY_WzM - 18-02-2007 12:45
Mam problem z skompilowaniem źródeł conky, mam zainstalowane wszystkie potrzebne biblioteki. Wstawiam wynik polecenia ./configure
mody@mody:~/Desktop/conky-1.4.3$ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes 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 ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E 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 dependent libraries... pass_all checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking for correct ltmain.sh version... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... 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 configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/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++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.17.2... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... ./config.rpath: ./config.rpath: No such file or directory done checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XOpenDisplay in -lX11... yes checking for XdbeQueryExtension in -lXext... yes checking for XDamageQueryExtension in -lXdamage... no configure: error: Could not find XDamageQueryExtension in -lXdamage
Pozdrawiam
Kaka' - 18-02-2007 12:52
Strzelam:
aptitude install libxdamage-dev libxdamage1 libxdamage1-dbg
PS: nie polecam tego sposobu instalacji conky. Zajrzyj tutaj: http://debian.linux.pl/viewtopic.php?p=6370#6370
ModY_WzM - 18-02-2007 16:07
Teraz pojawił się taki błąd przy kompilacji Making all in src make[1]: Entering directory `/home/mody/Desktop/conky/src' make all-am make[2]: Entering directory `/home/mody/Desktop/conky/src' /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -Wall -W -lpthread -lm -lglib-2.0 -L/usr/X11R6/lib -lSM -lICE -o conky common.o conky.o fs.o hddtemp.o linux.o top.o mail.o mixer.o mpd.o libmpdclient.o libtcp-portmon.o remotec.o remoted.o timed_thread.o x11.o -lrt -lX11 -lglib-2.0 -L/usr/X11R6/lib -lXext -lXdamage -L/usr/X11R6/lib -lXft -lfreetype -lz -lXrender -lX11 -lfontconfig gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -Wall -W -o conky common.o conky.o fs.o hddtemp.o linux.o top.o mail.o mixer.o mpd.o libmpdclient.o libtcp-portmon.o remotec.o remoted.o timed_thread.o x11.o -lpthread -lm -L/usr/X11R6/lib -lSM -lICE -lrt /usr/lib/libglib-2.0.so -lXext -lXdamage /usr/lib/libXft.so /usr/lib/libfreetype.so -lz /usr/lib/libXrender.so -lX11 -lfontconfig conky.o(.text+0x10acd): In function `main_loop': : undefined reference to `XFixesCreateRegionFromWindow' conky.o(.text+0x10aee): In function `main_loop': : undefined reference to `XFixesCreateRegionFromWindow' conky.o(.text+0x11136): In function `main_loop': : undefined reference to `XFixesSetRegion' conky.o(.text+0x11158): In function `main_loop': : undefined reference to `XFixesUnionRegion' conky.o(.text+0x111a4): In function `main_loop': : undefined reference to `XFixesSetRegion' conky.o(.text+0x11376): In function `main_loop': : undefined reference to `XFixesDestroyRegion' conky.o(.text+0x1138a): In function `main_loop': : undefined reference to `XFixesDestroyRegion' collect2: ld returned 1 exit status make[2]: *** [conky] Błąd 1 make[2]: Leaving directory `/home/mody/Desktop/conky/src' make[1]: *** [all] Błąd 2 make[1]: Leaving directory `/home/mody/Desktop/conky/src' make: *** [all-recursive] Błąd 1
zanotowane.pldoc.pisz.plpdf.pisz.plminister.pev.pl
|