View previous topic :: View next topic |
Author |
Message |
danielinux Apprentice
Joined: 10 Nov 2004 Posts: 202
|
Posted: Thu Mar 24, 2005 7:27 pm Post subject: emerge mplayer: errore durante emersione unixODBC |
|
|
Allora, quando provo ad emergere mplayer, tra le dipendenze c'è anche unixODBC.
Quando arriva ad emergere unixODBC, c'è il seguente errore:
roiporto il log
Code: |
>>> emerge (3 of 12) dev-db/unixODBC-2.2.6 to /
>>> md5 src_uri ;-) unixODBC-2.2.6.tar.gz
>>> Unpacking source...
>>> Unpacking unixODBC-2.2.6.tar.gz to /var/tmp/portage/unixODBC-2.2.6/work
>>> Source unpacked.
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i586-pc-linux-gnu-strip... no
checking for strip... strip
checking for gawk... (cached) gawk
checking for bison... bison -y
checking for i586-pc-linux-gnu-gcc... i586-pc-linux-gnu-gcc
checking for C compiler default output... 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 i586-pc-linux-gnu-gcc accepts -g... yes
checking for i586-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of i586-pc-linux-gnu-gcc... gcc3
checking how to run the C preprocessor... i586-pc-linux-gnu-gcc -E
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for a BSD-compatible install... /bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for i586-pc-linux-gnu-g++... i586-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i586-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of i586-pc-linux-gnu-g++... gcc3
checking for egrep... 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 sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking Have we disabled RTDL_GROUP ... yes
checking build system type... i586-pc-linux-gnu
checking host system type... i586-pc-linux-gnu
checking for ld used by GCC... /usr/i586-pc-linux-gnu/bin/ld
checking if the linker (/usr/i586-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i586-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking how to recognise dependant libraries... pass_all
checking command to parse nm output... ok
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i586-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i586-pc-linux-gnu-strip... strip
checking for objdir... .libs
checking for i586-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if i586-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if i586-pc-linux-gnu-gcc static flag -static works... yes
checking if i586-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if i586-pc-linux-gnu-gcc supports -c -o file.lo... yes
checking if i586-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i586-pc-linux-gnu/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 if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -lc should be explicitly linked in... no
creating libtool
checking which extension is used for shared libraries... .so
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 encoding to use for CHAR representations ... auto-search
checking for encoding to use for UNICODE representations ... auto-search
checking for crypt in -lcrypt... yes
checking for pow in -lm... yes
checking for readline in -lreadlines ... no
checking for readline in -lreadline -lcurses ... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking Are we using flex ... yes
checking whether time.h and sys/time.h may both be included... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for long... yes
checking size of long... 4
checking for long long... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for vsnprintf... yes
checking for strtol... yes
checking for atoll... yes
checking for strtoll... yes
checking for endpwent... yes
checking for mutex_lock in -lthread ... no
checking for pthread_mutex_lock in -lpthread... yes
checking if compiler accepts -pthread... yes
checking for localtime_r in -lc... yes
checking for ftok... yes
checking for semget... yes
checking for shmget... yes
checking for semop... yes
checking for snprintf... yes
checking for semundo union... yes
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!
!!! ERROR: dev-db/unixODBC-2.2.6 failed.
!!! Function src_compile, Line 33, Exitcode 1
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
|
Sembra che non trovi le librerie di X che ho regolarmente emerso (quando avevo ancora il kernel 2.6.10-gentoo-r6 ).
Ora ho un kernel 2.6.11-gentoo-r4 e il mio file make.conf è questo:
Code: |
[b]make.conf[/b]
CFLAGS="-march=k6-3 -O3 -pipe -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
SYNC="rsync://rsync3.it.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/"
USE="-emboss -fortran -oss -ipv6 alsa java javascript 3dnow aac aalib apache2 bash-completion cdb directfb divx4linux fbcon iodbc libcaca mono mp3 mysql odbc php samba spl usb xine xvid md5sum nvidia"
|
Come faccio ad emergere mplayer???? .. ma soprattutto perchè questo errore???
Come posso fare a risolverlo?
Grazie![/quote] |
|
Back to top |
|
|
grentis Guru
Joined: 20 Jul 2004 Posts: 321
|
Posted: Thu Mar 24, 2005 7:30 pm Post subject: |
|
|
Prova mettendo anche X nelle use |
|
Back to top |
|
|
danielinux Apprentice
Joined: 10 Nov 2004 Posts: 202
|
Posted: Thu Mar 24, 2005 7:35 pm Post subject: |
|
|
Nel file make.defaults c'è gia la use flag x ..
make.defaults
Code: |
GRP_STAGE23_USE="ipv6 pam tcpd readline nls ssl gpm perl python berkdb ncurses"
USE="oss apm arts avi berkdb bitmap-fonts crypt cups emboss encode fortran font-server foomaticdb gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl pam pdflib perl png python qt quicktime readline sdl spell ssl svga tcpd truetype truetype-fonts type1-fonts X xml2 xmms xv zlib"
|
|
|
Back to top |
|
|
gutter Bodhisattva
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Thu Mar 24, 2005 10:14 pm Post subject: |
|
|
Ma hai installato correttamente X? _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
|
grentis Guru
Joined: 20 Jul 2004 Posts: 321
|
Posted: Thu Mar 24, 2005 10:30 pm Post subject: |
|
|
Ma queste USE sono diverse dalle prime postate...
Edit...ehm...non ho letto che erano nel make.default... sorry |
|
Back to top |
|
|
danielinux Apprentice
Joined: 10 Nov 2004 Posts: 202
|
Posted: Fri Mar 25, 2005 10:21 am Post subject: |
|
|
X funziona, anche perchè ho anche installato fluxbox e funge benissimo.. comunque mi pare che il checking di X venisse fatto anche
da altri pacchetti che ho installato precedentemente, e non mi ha mai dato problemi.
C'è solo una cosa che devo dire, e riguarda il modulo nvidia, che non viene caricato correttamente all'avvio, poichè
provando a ricompilarlo con il nuovo kernel, dava errore, ma ho sentito che è un problema di nvidia-kernel.
Fatto stà che all'avvio , dice che il modulo nvidia non è stato caricato, ma X continua a funzionare regolarmente. |
|
Back to top |
|
|
danielinux Apprentice
Joined: 10 Nov 2004 Posts: 202
|
Posted: Fri Mar 25, 2005 11:00 am Post subject: |
|
|
Bhe, sembra proprio che l'unico modo sia togliere il flag odbc dal mio make.conf ... |
|
Back to top |
|
|
AlterX l33t
Joined: 03 Apr 2004 Posts: 754 Location: rm -rf /*
|
Posted: Sat Apr 02, 2005 12:04 pm Post subject: |
|
|
E' un problema riscontrato anche qui
Sinceramente non lo hanno corretto...
devi editare il file ebuild ed inserire dove c'è --x-lbraries, --x-includes=/usr/include/X11
ciaoo
[/b] |
|
Back to top |
|
|
danielinux Apprentice
Joined: 10 Nov 2004 Posts: 202
|
|
Back to top |
|
|
|