[SWLUG] can anyone help? Installing avi-xmms

Peter Prior swlug at nermal.org
Wed Feb 16 18:03:44 UTC 2005


Yeah you will need glib, and probably lots more too

if you're compiling stuff you need rpms with the -dev or -devel suffix, 
so you probably need glib-dev or glib-devel.

There should be an rpm somewhere or use yum to install it

Pete

dan wrote:
> Peter Prior wrote:
> 
>> dan at localhost ~]$ file /usr/bin/gcc
>> /usr/bin/gcc: ELF 32-bit LSB executable, Hitachi SH, version 1 (SYSV), 
>> for GNU/Linux 2.2.15, dynamically linked (uses shared libs), stripped
>> [dan at localhost ~]$
>>
>> That would be your problem.. somehow you've installed GCC for the 
>> Hitachi SH processor which according to Gareth Bowker is the processor 
>> used in the dreamcast.
>> Firstly,  bravo :)
>> Secondly, you may want to check you install i386 / i586 rpms as I 
>> presume you're running on an intel / amd platform.
>>
>> Once you have, rerunning file /usr/bin/gcc should give you something 
>> like:
>>
>> pprior at gentoo ~ $ file /usr/bin/gcc
>> /usr/bin/gcc: ELF 32-bit LSB executable, Intel 80386, version 1 
>> (SYSV), for GNU/Linux 2.4.1, dynamically linked (uses shared libs), 
>> stripped
>> pprior at gentoo ~ $
>>
>> Note the Intel 80386 bit :)
>>
>> Pete
>>
>> dan wrote:
>>
>>> Peter Prior wrote:
>>>
>>>> What does file /usr/bin/gcc give you?
>>>> Try running gcc on its own and see what that gives you.  it should 
>>>> be something like "no input files".
>>>>
>>>> Pete
>>>>
>>>> dan wrote:
>>>>
>>>>> Peter Prior wrote:
>>>>>
>>>>>> Do you have gcc installed ?
>>>>>>
>>>>>> you can check by doing: rpm -qa |grep gcc
>>>>>>
>>>>>> If you haven't - install it.  If it is installed, run: file 
>>>>>> /usr/bin/gcc and see what it gives you.
>>>>>>
>>>>>> The only time I've seen that before is where the binary file 
>>>>>> (program) has been compiled for the wrong architecture / os, but I 
>>>>>> could be wrong.
>>>>>>
>>>>>> Pete
>>>>>>
>>>>>> dan wrote:
>>>>>>
>>>>>>> Hi all
>>>>>>>
>>>>>>> can anyone answer this one for me please? as i have spent a whole 
>>>>>>> day trying to work this out sorry i am a bit of a noob
>>>>>>>
>>>>>>> [dan at localhost avi-xmms-1.2.3]$ ./configure && make && make install
>>>>>>> loading cache ./config.cache
>>>>>>> checking for a BSD compatible install... /usr/bin/install -c
>>>>>>> checking whether build environment is sane... yes
>>>>>>> checking whether make sets ${MAKE}... yes
>>>>>>> checking for working aclocal... found
>>>>>>> checking for working autoconf... found
>>>>>>> checking for working automake... found
>>>>>>> checking for working autoheader... found
>>>>>>> checking for working makeinfo... missing
>>>>>>> checking for gcc... gcc
>>>>>>> checking whether the C compiler (gcc  ) works... no
>>>>>>> configure: error: installation or configuration problem: C 
>>>>>>> compiler cannot create executables.
>>>>>>> [dan at localhost avi-xmms-1.2.3]$
>>>>>>>
>>>>>>> and the config.log shows:-
>>>>>>>
>>>>>>> This file contains any messages produced by compilers while
>>>>>>> running configure, to aid debugging if configure makes a mistake.
>>>>>>>
>>>>>>> configure:752: checking for a BSD compatible install
>>>>>>> configure:805: checking whether build environment is sane
>>>>>>> configure:862: checking whether make sets ${MAKE}
>>>>>>> configure:908: checking for working aclocal
>>>>>>> configure:921: checking for working autoconf
>>>>>>> configure:934: checking for working automake
>>>>>>> configure:947: checking for working autoheader
>>>>>>> configure:960: checking for working makeinfo
>>>>>>> configure:1026: checking for gcc
>>>>>>> configure:1139: checking whether the C compiler (gcc  ) works
>>>>>>> configure:1155: gcc -o conftest    conftest.c  1>&5
>>>>>>> ./configure: line 1154: /usr/bin/gcc: cannot execute binary file
>>>>>>> configure: failed program was:
>>>>>>>
>>>>>>> #line 1150 "configure"
>>>>>>> #include "confdefs.h"
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> Dan
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> SWLUG Discussion List - Discuss at swlug.org.uk
>>>>>>> http://list.swlug.org.uk/mailman/listinfo/discuss
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> yeha i think so
>>>>>
>>>>> [dan at localhost ~]$ rpm -qa |grep gcc
>>>>> gcc-3.0.4-3
>>>>> libgcc-3.4.3-4
>>>>> [dan at localhost ~]$
>>>>>
>>>>
>>>>
>>> it gives me
>>>
>>> [dan at localhost ~]$ file /usr/bin/gcc
>>> /usr/bin/gcc: ELF 32-bit LSB executable, Hitachi SH, version 1 
>>> (SYSV), for GNU/Linux 2.2.15, dynamically linked (uses shared libs), 
>>> stripped
>>> [dan at localhost ~]$
>>>
>>
>>
> hey cool i am getting there slowly
> 
> got it installed it tells me i need glib??
> 
> [root at blackstar avi-xmms-1.2.3]# ./configure && make && make install
> loading cache ./config.cache
> checking for a BSD compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... yes
> checking for working aclocal... found
> checking for working autoconf... found
> checking for working automake... found
> checking for working autoheader... found
> checking for working makeinfo... missing
> checking for gcc... gcc
> checking whether the C compiler (gcc  ) works... yes
> checking whether the C compiler (gcc  ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking for c++... c++
> checking whether the C++ compiler (c++  ) works... yes
> checking whether the C++ compiler (c++  ) is a cross-compiler... no
> checking whether we are using GNU C++... yes
> checking whether c++ accepts -g... yes
> checking how to run the C preprocessor... gcc -E
> checking for a BSD compatible install... /usr/bin/install -c
> checking for Cygwin environment... no
> checking for mingw32 environment... no
> checking host system type... i686-pc-linux-gnu
> checking build system type... i686-pc-linux-gnu
> 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 whether ln -s works... yes
> checking how to recognise dependant libraries... pass_all
> checking for object suffix... o
> checking for executable suffix... no
> checking command to parse /usr/bin/nm -B output... ok
> 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 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 
> ***
> [root at blackstar avi-xmms-1.2.3]#
> 
> what do you think????
> 
> 




More information about the Swlug mailing list