LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-29-2004, 04:12 PM   #1
Killah
Member
 
Registered: Sep 2003
Location: Belgium, Alosta²
Distribution: Linux Mandrake 9.2
Posts: 66

Rep: Reputation: 15
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
 
Old 03-29-2004, 04:47 PM   #2
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
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.
 
Old 03-30-2004, 12:40 AM   #3
Killah
Member
 
Registered: Sep 2003
Location: Belgium, Alosta²
Distribution: Linux Mandrake 9.2
Posts: 66

Original Poster
Rep: Reputation: 15
Arrow

and on which CD and how do I find that installer???
thx
 
Old 03-30-2004, 02:04 AM   #4
zaharia
Member
 
Registered: Mar 2004
Posts: 71

Rep: Reputation: 15
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!
 
Old 03-30-2004, 08:36 AM   #5
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
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
 
Old 03-30-2004, 08:44 AM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
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.
 
Old 03-30-2004, 11:30 AM   #7
Killah
Member
 
Registered: Sep 2003
Location: Belgium, Alosta²
Distribution: Linux Mandrake 9.2
Posts: 66

Original Poster
Rep: Reputation: 15
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]#
 
Old 03-31-2004, 07:53 AM   #8
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
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
 
Old 03-31-2004, 08:19 AM   #9
Killah
Member
 
Registered: Sep 2003
Location: Belgium, Alosta²
Distribution: Linux Mandrake 9.2
Posts: 66

Original Poster
Rep: Reputation: 15
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
 
Old 03-31-2004, 10:06 AM   #10
Killah
Member
 
Registered: Sep 2003
Location: Belgium, Alosta²
Distribution: Linux Mandrake 9.2
Posts: 66

Original Poster
Rep: Reputation: 15
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)
 
Old 03-31-2004, 10:26 AM   #11
Killah
Member
 
Registered: Sep 2003
Location: Belgium, Alosta²
Distribution: Linux Mandrake 9.2
Posts: 66

Original Poster
Rep: Reputation: 15
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.
 
Old 04-03-2004, 05:00 AM   #12
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
It sounds like you have not installed a C compiler. Look for packages that say gcc and try again.

Baldrick
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Xine. Problems in the code Lurker01 Linux - Software 10 09-07-2004 09:14 PM
Installing Xine. Problems in the code Lurker01 *BSD 7 09-07-2004 02:32 PM
Link Problems?? with installing xine mickeyboa Fedora 5 08-28-2004 04:19 PM
Problems with Mplayer and help installing Xine caleb star Linux - Newbie 6 04-02-2004 01:56 PM
problems installing xine, kxine Synth218 Linux - Software 8 05-25-2003 08:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration