LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 09-22-2008, 12:34 PM   #1
mitchell2345
Member
 
Registered: Aug 2008
Posts: 55

Rep: Reputation: 16
Glew CentOS x64bit


Hi,

I am trying to compile XBMC on my CentOS5.2 box. I think I have all the dependencies except for glew and glew-devel. I can seem to find packages for 64 bit. Dag has rpms for 32 only. I did a local install of the 32bit packages and they intalled but XBMC ./configure doesnt find it. Anyone know:

1. where i can find 64bit rpms? (google had no results)
2. How i can make the 32bit rpms work?

Thanks,
Mitchell
 
Old 09-22-2008, 12:47 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by mitchell2345 View Post
Hi,

I am trying to compile XBMC on my CentOS5.2 box. I think I have all the dependencies except for glew and glew-devel. I can seem to find packages for 64 bit. Dag has rpms for 32 only. I did a local install of the 32bit packages and they intalled but XBMC ./configure doesnt find it. Anyone know:

1. where i can find 64bit rpms? (google had no results)
2. How i can make the 32bit rpms work?

Thanks,
Mitchell
I wouldn't force 32 bit stuff to work on a 64 bit system, unless I had no choice at all. I'd download the source from their website, and build it to fit your system.

http://glew.sourceforge.net/
 
Old 09-22-2008, 04:17 PM   #3
mitchell2345
Member
 
Registered: Aug 2008
Posts: 55

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by TB0ne View Post
I wouldn't force 32 bit stuff to work on a 64 bit system, unless I had no choice at all. I'd download the source from their website, and build it to fit your system.

http://glew.sourceforge.net/
I cant figure out how to comile/install glew....inscrutions are very generic.

Help?
Thanks,
Mitchell
 
Old 09-23-2008, 08:24 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by mitchell2345 View Post
I cant figure out how to comile/install glew....inscrutions are very generic.

Help?
Thanks,
Mitchell
From their documentation page:

On Unix, typing make install will attempt to install GLEW into /usr/include/GL and /usr/lib.


Seems fairly easy. Download it, uncompress it, go into the directory, type "make install"...
 
Old 09-23-2008, 03:04 PM   #5
mitchell2345
Member
 
Registered: Aug 2008
Posts: 55

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by TB0ne View Post
From their documentation page:

On Unix, typing make install will attempt to install GLEW into /usr/include/GL and /usr/lib.


Seems fairly easy. Download it, uncompress it, go into the directory, type "make install"...
yes, thats what i thought....i downloaded the source and issued a make and get the following:
Code:
root@mythtv glew]# make
/bin/sh: config/config.guess: Permission denied
/bin/sh: config/config.guess: Permission denied
Makefile:40: *** "Platform '' not supported".  Stop.
[root@mythtv glew]#
Is 64 bit not supported and that why I cant find rpms?

Mitchell

Last edited by mitchell2345; 09-23-2008 at 03:10 PM.
 
Old 09-23-2008, 03:08 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by mitchell2345 View Post
yes, thats what i thought....i downloaded the precompiled binaries. then did the following:

I went into each dir and tried a 'make install' or 'make' and got the same thing. Not really sure how to proceed. or should i be trying this on the source code?

Thanks,
Mitchell
Uhhh....the binaries are already compiled and made. You only have to 'make' the source code. The source is what is compiled to MAKE the binary.
 
Old 09-23-2008, 03:47 PM   #7
mitchell2345
Member
 
Registered: Aug 2008
Posts: 55

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by TB0ne View Post
Uhhh....the binaries are already compiled and made. You only have to 'make' the source code. The source is what is compiled to MAKE the binary.
ok so how do i install the binaries?
 
Old 09-23-2008, 03:56 PM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by mitchell2345 View Post
ok so how do i install the binaries?
The binaries are built and installed when you type in "make install". That's it.

The 32 bit binaries that you asked about can be deleted...they're not for your system, and you're replacing them with the ones you're compiling and building.
 
Old 09-23-2008, 04:44 PM   #9
mitchell2345
Member
 
Registered: Aug 2008
Posts: 55

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by TB0ne View Post
The binaries are built and installed when you type in "make install". That's it.

The 32 bit binaries that you asked about can be deleted...they're not for your system, and you're replacing them with the ones you're compiling and building.
ok, i think were a little bit confused on what happening....

1. when trying to isntall the binaries i get no where...

2. When compiling with the source code i get:

Code:
[root@mythtv glew]# pwd
/home/myth/glew
[root@mythtv glew]# ls
auto  build  config  doc  include  LICENSE.txt  Makefile  README.txt  src
[root@mythtv glew]# make
/bin/sh: config/config.guess: /bin/sh^M: bad interpreter: No such file or directory
/bin/sh: config/config.guess: /bin/sh^M: bad interpreter: No such file or directory
Makefile:40: *** "Platform '' not supported".  Stop.
[root@mythtv glew]#
????

Thanks
 
  


Reply



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
LXer: CentOS Directory Server On CentOS 5.2 LXer Syndicated Linux News 0 08-06-2008 09:20 PM
printer setup from Centos 5 to Vista home prem. on a headless centos pc ncsuapex Red Hat 6 03-10-2008 11:40 AM
LXer: Install CentOS 5 DomU on CentOS 5 Dom0(64 bit) from NFS share LXer Syndicated Linux News 0 11-09-2007 03:41 AM
LXer: CentOS announces CentOS 5 i386 Live CD LXer Syndicated Linux News 0 07-11-2007 07:01 AM
update centos 4 rc1 to centos 4 trou yum? maxut cAos 2 03-04-2005 02:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:33 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
Open Source Consulting | Domain Registration