LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-20-2009, 12:37 PM   #1
RockerAsh
LQ Newbie
 
Registered: Mar 2009
Posts: 12

Rep: Reputation: 0
Question Help!!! I cannot install Mesa 3D (openGL) libraries of fedora 10........


Hey Guys, Please help me out on this.....

I need to make a project on graphics using openGL in linux for my course on linux in my college.

I downloaded the tar.gz files of MESA 7.4.1 (thats the latest version)
and then unpacked it as explained.
till this step all was going well.

I wanted to try & understand how to use OpenGL libraries and its functions using the demos given in MesaDemos directory that i downloaded.

Now here lies the problem.....
when i use make command to install the mesa3d openGl on fedora 10 using the given configs there came an unfamiliar error that i couldn't resolve on my own.

I need u guys to help me out on this asap as my project submission deadline is just two weeks from now.

I know the post is getting too long for a small question, but what to do, i have so much to ask.....

following are the error messages i got, if this could help in resolving my problem.

when I used "make linux-dri" (thats to include 3d accelaration) I got

[User@localhost Mesa-7.4.1]$ make linux-dri
(cd configs && rm -f current && ln -s linux-dri current)
make default
make[1]: Entering directory `/home/User/Documents/Mesa/Mesa-7.4.1'
make[2]: Entering directory `/home/User/Documents/Mesa/Mesa-7.4.1/src'
Making sources for linux-dri
make[3]: Entering directory `/home/User/Documents/Mesa/Mesa-7.4.1/src/glx/x11'
touch depend
makedepend -fdepend -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa -I../../../src/mesa/glapi `pkg-config --cflags libdrm` -I/usr/X11R6/include glcontextmodes.c clientattrib.c compsize.c eval.c glxcmds.c glxcurrent.c glxext.c glxextensions.c indirect.c indirect_init.c indirect_size.c indirect_window_pos.c indirect_texture_compression.c indirect_transpose_matrix.c indirect_vertex_array.c indirect_vertex_program.c pixel.c pixelstore.c render2.c renderpix.c single2.c singlepix.c vertarr.c xfont.c glx_pbuffer.c glx_query.c drisw_glx.c dri_common.c dri_glx.c XF86dri.c glxhash.c dri2_glx.c dri2.c \
../../../src/mesa/main/dispatch.c ../../../src/mesa/glapi/glapi.c ../../../src/mesa/glapi/glapi_getproc.c ../../../src/mesa/glapi/glthread.c
/bin/sh: makedepend: command not found
make[3]: *** No rule to make target `depend', needed by `default'. Stop.
make[3]: Leaving directory `/home/User/Documents/Mesa/Mesa-7.4.1/src/glx/x11'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/home/User/Documents/Mesa/Mesa-7.4.1/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/home/User/Documents/Mesa/Mesa-7.4.1'
make: *** [linux-dri] Error 2


when that didn't work i used " make linux-x86 " (thats to install only mesa libs, without 3d acc.) i got

[User@localhost Mesa-7.4.1]$ make linux-x86
(cd configs && rm -f current && ln -s linux-x86 current)
make default
make[1]: Entering directory `/home/User/Documents/Mesa/Mesa-7.4.1'
make[2]: Entering directory `/home/User/Documents/Mesa/Mesa-7.4.1/src'
Making sources for linux-x86
make[3]: Entering directory `/home/User/Documents/Mesa/Mesa-7.4.1/src/mesa'
running makedepend
make[3]: *** No rule to make target `depend', needed by `default'. Stop.
make[3]: Leaving directory `/home/User/Documents/Mesa/Mesa-7.4.1/src/mesa'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/home/User/Documents/Mesa/Mesa-7.4.1/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/home/User/Documents/Mesa/Mesa-7.4.1'
make: *** [linux-x86] Error 2


I again request all of you guys to please help me on this...
Thanx in advance.....
 
Old 04-20-2009, 01:00 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,159
Blog Entries: 1

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
Quote:
/bin/sh: makedepend: command not found
You need the makedepend command that is available by the imake package in Fedora.
Don't forget to run
Code:
make realclean
before trying to compile Mesa again.
 
Old 04-20-2009, 04:23 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
have you tried this to reinstall them
mesa is installed by default
if you installed the Nvidia.run driver YOU MUST DO THIS
Code:
 yum reinstall mesa-libGL mesa-libGLU mesa-libGL-devel mesa-libGLU-devel
or if you did not install the devel packages do this ( for building code )
Code:
yum install  mesa-libGL-devel mesa-libGLU-devel
 
Old 04-21-2009, 05:33 AM   #4
RockerAsh
LQ Newbie
 
Registered: Mar 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Question Could you please elaborate

Quote:
Originally Posted by bathory View Post
You need the makedepend command that is available by the imake package in Fedora.
Don't forget to run
Code:
make realclean
before trying to compile Mesa again.
hey guys thankyou for your replies.

by the way , bathory , i'll be very grateful if you could elaborate on your post. how am i gonna run the command makedepend.

I am really very new to linux, so please help me out and explain your post......

i am doubtful, is it that my mesa library's "make" command doesn't gets completed because my mesa folder is way too deep within the directory tree, should i place the folder right under my home directory?????

please reply asap. its urgent
thanks in advance.......
 
Old 04-21-2009, 05:49 AM   #5
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,159
Blog Entries: 1

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
Since you're new to Linux, you may consider what John VV has posted, about installing the Mesa-devel package that will let you use it to build your own app.
If for some reason you want to use the latest Mesa sources, then you need to install first the imake package that provides the missing makedepend command. I guess you have to run
Code:
yum install imake
Once imake is installed you can try to build again Mesa.
 
  


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
how to install Mesa/OpenGL: ztdep Linux - Software 4 07-22-2005 04:10 PM
How to know if I have OpenGL or Mesa ?? {usuario} Linux - Newbie 2 06-06-2005 05:45 AM
Overwrite Mesa OpenGL with ATI OpenGL Carl-Fredrik Slackware 12 10-01-2004 03:33 PM
mesa glut libraries adhara Linux - Software 6 05-08-2004 04:45 AM
Changing from MESA OpenGL to ATI OpenGL tillyoubreakit Linux - Hardware 19 10-07-2003 07:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:18 AM.

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