Problems with installing Xine
Hi i'm running a linux mandrake 9..2 version and I downloaded the latest version of Xine.
when I had unpacked the tar.gz file, I would run ./configure.... see what happens --------------code------------------------------- [root@localhost xine-lib-1-rc3b]# ./configure checking build system type... i686-pc-linux-gnuoldld checking host system type... i686-pc-linux-gnuoldld checking target system type... i686-pc-linux-gnuoldld 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 for style of include used by make... GNU checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. [root@localhost xine-lib-1-rc3b]# make make: *** No targets specified and no makefile found. Stop. [root@localhost xine-lib-1-rc3b]# make install make: *** No rule to make target `install'. Stop. --------------code------------------------------- P.S. I'm a newbie Thx |
Re: Problems with installing Xine
Quote:
|
and on which CD and how do I find that installer???
thx |
the package manager will most likely KNOW what CD the gcc installer is on and ask you to put that particular CD in the drive during installation. Or you can explore your CDs one by one. I did that. It's actually interesting AND educational. You might even end up <GASP!, SHUDDER> learning something!
|
Use the Mandrake Control Centre, go to "Software Management", then "Install Software Packages". Search for gcc and it should find it and resolve any dependancies it may require. And it will tell you what CD to insert.
Baldrick |
A quick way to install it is to su to root in the console and type:
urpmi gcc It will tell you which disk to insert. |
thx dudes, ./configure works now but now there has been accured a new errorrr...
[root@localhost alsa]# ./configure 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 ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /home/killah/Desktop/alsa checking cross compile... checking for directory with kernel source... /usr/src/linux ----here is the fault I think-------- checking for kernel version... The file /usr/src/linux/include/linux/version.h does not exist. Please, install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /usr/src/linux). -------------------------------------- [root@localhost alsa]# make install rm -f /snd*.*o /persist.o /isapnp.o make[1]: Entering directory `/home/killah/Desktop/alsa/acore' Makefile:6: ../Makefile.conf: No such file or directory make[1]: *** No rule to make target `../Makefile.conf'. Stop. make[1]: Leaving directory `/home/killah/Desktop/alsa/acore' make: *** [install-modules] Error 1 [root@localhost alsa]# |
Hmmm ... it sounds like you don't have the kernel source installed. No probs, just use the Software Manager or urpmi as jschiwal suggested. The filename should be kernel-source-2.4.21-0.13mdk. Just replace the 2.4.21-0.13 bit with the kernel version you are using. You can find this out by typing uname -r in a console.
Baldrick |
I'm sorry but can you explain it a little bit more because I don't have much knowledge of Linux.
I know the software manager but he does'nt work ..... thx Killah |
hi I'm download the kernel source right now. hope it helps, I let you now in about 50 minutes...
(kernel-source-2.4.22-10mdk) |
damm still that problem.
when i do ./configure in the xine directory: same fault --this is the last piece only--- checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... none checking how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for more details. |
It sounds like you have not installed a C compiler. Look for packages that say gcc and try again.
Baldrick |
All times are GMT -5. The time now is 11:27 PM. |