LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problems with installing Xine (https://www.linuxquestions.org/questions/linux-newbie-8/problems-with-installing-xine-163877/)

Killah 03-29-2004 03:12 PM

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

Genesee 03-29-2004 03:47 PM

Re: Problems with installing Xine
 
Quote:

Originally posted by Killah

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.

apparently you don't have a compiler installed -- gcc should be on your install CDs, run the package manager (or program add/remove, or whatever mdk calls it...) and install gcc. it may be grouped under a "development tools" section or something similar.

Killah 03-29-2004 11:40 PM

and on which CD and how do I find that installer???
thx

zaharia 03-30-2004 01:04 AM

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!

Baldrick65 03-30-2004 07:36 AM

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

jschiwal 03-30-2004 07:44 AM

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.

Killah 03-30-2004 10:30 AM

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]#

Baldrick65 03-31-2004 06:53 AM

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

Killah 03-31-2004 07:19 AM

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

Killah 03-31-2004 09:06 AM

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)

Killah 03-31-2004 09:26 AM

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.

Baldrick65 04-03-2004 04:00 AM

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.