LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing XMMS without yum (https://www.linuxquestions.org/questions/linux-newbie-8/installing-xmms-without-yum-530748/)

kennb 02-20-2007 10:25 AM

installing XMMS without yum
 
Hi, I am new to Linux, I am using Fedora Core 5. I would like to play mp3 files. The computer that I have linux on is not connected to the internet (I am currently writing this at work as I do not have internet at home). How do I install XMMS or mplayer or something to play videos and music? Please be detailed as I am new to this. Thank you very much in advance.

weibullguy 02-20-2007 11:09 AM

Download this file at work and put it on your thumb drive, http://www.xmms.org/files/1.2.x/xmms-1.2.10.tar.bz2. When you get home move it from your thumb drive to your hard disk; your home directory is fine. Unpack the tarball and move into the top of the source tree
Code:

tar xjf xmms-1.2.10.tar.bz2 && cd xmms-1.2.10
Configure and compile
Code:

./configure --prefix=/usr && make
To install in /usr, you need to be the privileged user (root). Since you haven't told us what distribution you are using, I don't know whether su or sudo is appropriate.
Code:

su -c 'make install'
or if your distro uses sudo
Code:

sudo make install

bbx 02-22-2007 01:36 AM

Quote:

Originally Posted by Arow
Download this file at work and put it on your thumb drive, http://www.xmms.org/files/1.2.x/xmms-1.2.10.tar.bz2. When you get home move it from your thumb drive to your hard disk; your home directory is fine. Unpack the tarball and move into the top of the source tree
Code:

tar xjf xmms-1.2.10.tar.bz2 && cd xmms-1.2.10
Configure and compile
Code:

./configure --prefix=/usr && make
To install in /usr, you need to be the privileged user (root). Since you haven't told us what distribution you are using, I don't know whether su or sudo is appropriate.
Code:

su -c 'make install'
or if your distro uses sudo
Code:

sudo make install

I installed as your instruction, then i got:
Quote:

[Tin@Chanhtin ~]$ tar xjf xmms-1.2.10.tar.bz2 && cd xmms-1.2.10

[Tin@Chanhtin xmms-1.2.10]$ ./configure --prefix=/usr && make
checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

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 gcc... 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 gcc accepts -g... yes

checking for gcc option to accept ANSI C... none needed

checking for style of include used by make... GNU

checking dependency style of gcc... gcc3

checking for strerror in -lcposix... no

checking whether byte ordering is bigendian... no

checking for inline... inline

checking for an ANSI C-conforming const... yes

checking for a BSD-compatible install... /usr/bin/install -c

checking whether ln -s works... yes

checking whether make sets $(MAKE)... (cached) yes

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 for a sed that does not truncate output... /bin/sed

checking how to recognise dependent libraries... pass_all

checking command to parse /usr/bin/nm -B output... ok

checking how to run the C preprocessor... gcc -E

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 dlfcn.h usability... yes

checking dlfcn.h presence... yes

checking for dlfcn.h... yes

checking for ranlib... ranlib

checking for strip... strip

checking for objdir... .libs

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 if gcc supports -c -o file.lo... yes

checking if gcc supports -fno-rtti -fno-exceptions... yes

checking whether the linker (/usr/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 pthread.h usability... yes
checking pthread.h presence... yes

checking for pthread.h... yes

checking for glib-config... no

checking for GLIB - version >= 1.2.2... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was

installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path

to glib-config.

configure: error: *** GLIB >= 1.2.2 not installed - please install first ***

[Tin@Chanhtin xmms-1.2.10]$ su -c 'make install'

Password:

make: *** No rule to make target `install'. Stop.

[Tin@Chanhtin xmms-1.2.10]$
:newbie: Should you please to help me...

krishnakumar85 02-22-2007 03:31 AM

Quote:

checking for glib-config... no

checking for GLIB - version >= 1.2.2... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was

installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path

to glib-config.

configure: error: *** GLIB >= 1.2.2 not installed - please install first ***
you need to install GLIB before you install xmms.
Until you install and ur ./configure script goes well without errors Makefile would not be generated and hence u wud not be able to run make command.

fooks 02-22-2007 03:55 AM

hi,
why don`t install .rpm package instead of compiling it from sources?

Go to
http://rpm.pbone.net/index.php3/stat/2/simple/2

check Fedora5, and type 'xmms' in search field:

you `ll need at least 3 packages to install:

xmms
xmms-libs

For example, pick one from the list:

http://rpm.pbone.net/index.php3/stat....i386.rpm.html

, you`ll see the list of servers where you can download it from,
and list of libs required.


For mp3 playback you have to install additionally:
xmms-mp3

henrysukumar 02-22-2007 10:22 AM

xmms installation
 
xmms installation alone will not play mp3. you have install xmms-mp3-version.rpm alone with xmms-libs. refer below link for more information.

http://linuxgalore.com/tutorials/linux_music.php


All times are GMT -5. The time now is 06:23 PM.