LinuxQuestions.org
Help answer threads with 0 replies.
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 05-31-2009, 07:07 PM   #1
bg3075
Member
 
Registered: Apr 2009
Posts: 37

Rep: Reputation: 15
Config error


I am trying to config Ushare, and then apply the patch. I get an error when trying to configure it, "endian test failed" (see the thread http://www.geexbox.org/forum/viewtop...p=64510#p64510 for more information). It appears to be looking for a directory called "altivec.h". I will attempt to attach the config.log.
Attached Files
File Type: txt config.log.txt (5.5 KB, 3 views)
 
Old 05-31-2009, 07:33 PM   #2
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
You should have altivec.h as part of the GCC tree, if I remember correctly. Do you have up to date linux-headers and build-essential package?
 
Old 05-31-2009, 07:42 PM   #3
bg3075
Member
 
Registered: Apr 2009
Posts: 37

Original Poster
Rep: Reputation: 15
I doubt it...I did install kernel headers in the past, but that kernel bugged out, and I had reverted back to the older kernel. I just tried to install kernel headers again (below).
Code:
[root@HOME ~]# yum install kernel-devel kernel-headers
Loaded plugins: protectbase, refresh-packagekit
Excluding Packages in global exclude list
Finished
2 packages excluded due to repository protections
Setting up Install Process
Parsing package install arguments
Package kernel-devel-2.6.27.21-170.2.56.fc10.i686 installed and not available
No package kernel-headers available.
Nothing to do
Can you help show me how to install the build-essential package?

Also, do you know where is a good onlind guide to Linux, that covers the basics of issues such as these?

Last edited by bg3075; 05-31-2009 at 07:44 PM. Reason: change
 
Old 05-31-2009, 07:46 PM   #4
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Sorry, idiot me wrongly assumed some debian derivative, though why I decided that, I'll never know

Okay:
Code:
yum -y install make gcc gcc-c++ kernel-devel
Should do it, if I remember correctly
 
Old 05-31-2009, 08:29 PM   #5
bg3075
Member
 
Registered: Apr 2009
Posts: 37

Original Poster
Rep: Reputation: 15
This is what it returned:
Code:
Package 1:make-3.81-14.fc10.i386 already installed and latest version
Package gcc-4.3.2-7.i386 already installed and latest version
Package gcc-c++-4.3.2-7.i386 already installed and latest version
Package kernel-devel-2.6.27.21-170.2.56.fc10.i686 installed and not available
Nothing to do
What about the build-essential package, is that a simple process to build?
 
Old 05-31-2009, 08:35 PM   #6
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
build-essential is a debian specific, those packages listed there are the ones you'd need- don't worry about build-essential.

Okay, next step, lets manually search for it, see what happens:
Code:
sudo find / -iname "*altivec*"
See what comes up
 
Old 05-31-2009, 08:39 PM   #7
bg3075
Member
 
Registered: Apr 2009
Posts: 37

Original Poster
Rep: Reputation: 15
Nothing was returned at all

Thanks for your help...you did give me a couple more lines of commands to add to my notes.

Last edited by bg3075; 05-31-2009 at 08:49 PM.
 
Old 05-31-2009, 08:50 PM   #8
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Right hang on, because altivec.h is a platform specific header. What exactly are you trying to do? What distro are you using? You realise GeeXboX is a live cd environment, right?
 
Old 05-31-2009, 09:34 PM   #9
bg3075
Member
 
Registered: Apr 2009
Posts: 37

Original Poster
Rep: Reputation: 15
Sorry, this is my first post here...just edited my signature (below). I am running Fedora 10. I am only installing Ushare, not GeexBox. Ushare is all needed to share media from the pc to Xbox 360. GeexBox appears to be a media center bootloader.
 
Old 06-01-2009, 05:00 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Fedora 10 :
'uShare' depends on 'libupnp-devel' , 'libdlna-devel' .
http://ushare.geexbox.org/
You may need the rpm.fusion repo, if you want the dlna support
http://rpmfusion.org/Configuration

# yum -y install libupnp-devel libdlna-devel

cd ushare-1.1a-NeToU/
./configure ( or ./configure --enable-dlna )
And configure ( and make ) runs with no errors.
.....

'altivec.h' is 'ppc architecure' only ?, and
'altivec.h' is not present on x86 Linux, AFAIK.
.....
_____________________________
( i386 Fedora 10, pentium 4.)
.....

Last edited by knudfl; 06-01-2009 at 05:21 AM.
 
Old 06-01-2009, 07:48 PM   #11
bg3075
Member
 
Registered: Apr 2009
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by knudfl View Post
Fedora 10 :
'uShare' depends on 'libupnp-devel' , 'libdlna-devel' .
http://ushare.geexbox.org/
You may need the rpm.fusion repo, if you want the dlna support
http://rpmfusion.org/Configuration

# yum -y install libupnp-devel libdlna-devel

cd ushare-1.1a-NeToU/
./configure ( or ./configure --enable-dlna )
And configure ( and make ) runs with no errors.
.....

'altivec.h' is 'ppc architecure' only ?, and
'altivec.h' is not present on x86 Linux, AFAIK.
.....
_____________________________
( i386 Fedora 10, pentium 4.)
.....
Thanks for the help, but unfortunately I am still getting an error on configure:

"endian test failed"

Could there be something wrong with my kernel?
 
Old 06-01-2009, 10:37 PM   #12
bg3075
Member
 
Registered: Apr 2009
Posts: 37

Original Poster
Rep: Reputation: 15
For continuation, please see my last post here: http://www.geexbox.org/forum/viewtop...p=64588#p64588
 
Old 06-02-2009, 09:07 AM   #13
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Ref. your post in this forum ....
http://www.geexbox.org/forum/viewtop...p=64588#p64588
Quote:
configure: error: C preprocessor "/lib/cpp" fails sanity check
May be missing 'glibc-devel' ??
# yum -y install glibc-devel
... will install or update glibc-devel .

About pkgconfig :
# yum search pkg
# yum -y install pkgconfig
... which will provide /usr/bin/pkg-config .
And please do not build pkgconfig yourself.
.....
All the above may cure your errors / problems generally.
.....
 
Old 06-02-2009, 07:01 PM   #14
bg3075
Member
 
Registered: Apr 2009
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by knudfl View Post
Ref. your post in this forum ....
http://www.geexbox.org/forum/viewtop...p=64588#p64588

May be missing 'glibc-devel' ??
# yum -y install glibc-devel
... will install or update glibc-devel .

About pkgconfig :
# yum search pkg
# yum -y install pkgconfig
... which will provide /usr/bin/pkg-config .
And please do not build pkgconfig yourself.
.....
All the above may cure your errors / problems generally.
.....
Thanks...followed your advice, returned both packages are installed and latest version.
 
Old 06-04-2009, 02:21 PM   #15
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Ref. post # 3 :
Quote:
2 packages excluded due to repository protections
Please have a look in /etc/yum.conf
( 'cat /etc/yum.conf' )
to se what's excluded. If you have a line saying
exclude=kernel-headers glibc-headers
then please edit the text to allow :

# yum -y install kernel-headers glibc-headers
( Either uncomment the exclude line with a hash mark ( # ) or delete it.)
... The 2 packages are on the install DVD too.

Then I guess, the problems are solved ... the "endian test failed"
error origins from a missing package 'glibc-headers' .

... And probably also the error
" configure: error: C preprocessor "/lib/cpp" fails sanity check "
.....

Last edited by knudfl; 06-04-2009 at 02:43 PM.
 
  


Reply

Tags
ushare, yumconf


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
oss audio output error: cannot open audio device (/dev/dsp)? Bug? Config error? brianpbarnes Linux - Software 1 04-25-2009 05:18 AM
config error wertaylors Linux - Software 1 06-04-2007 10:51 AM
Config Error: Error accessing config file: /etc/yum.conf dr_zayus69 Linux - Software 2 01-17-2006 06:20 PM
./config error: no sdl-config? Beomoss Linux - Newbie 4 11-24-2004 02:26 AM
Mandrake 9.0 error in config romcgill Linux - Newbie 5 02-21-2003 04:15 AM


All times are GMT -5. The time now is 12:08 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