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

Notices


Reply
  Search this Thread
Old 08-09-2006, 03:47 AM   #1
airyfxn
LQ Newbie
 
Registered: Aug 2006
Posts: 4

Rep: Reputation: 0
Mesa3d compile problem on FC4 64bit


Help please. I am trying to run a molecular simulation software on a FC4-64bit machine. Since, the software is windows-native (Facio 10.3.1, the manual states that it would run on linux with WINE and Mesa3d. The Facio manual explicitly outlines the steps in downloading and compiling WINE and Mesa3d. However, when i compile the extracted archives that I downloaded from Mesa3d.org (using "make linux-x86 or make linux-x86-64), the compilation is never successful.

Here is an excerpt of the compile log..

tnl/t_vb_arbprogram.c: In function ‘init_vertex_program’:
tnl/t_vb_arbprogram.c:1435: error: ‘FAST_X86_FPU’ undeclared (first use in this function)
tnl/t_vb_arbprogram.c:1435: error: (Each undeclared identifier is reported only once
tnl/t_vb_arbprogram.c:1435: error: for each function it appears in.)
make[4]: *** [tnl/t_vb_arbprogram.o] Error 1
make[4]: Leaving directory `/usr/local/Mesa/Mesa-6.4.2/src/mesa'
make[3]: *** [default] Error 2
make[3]: Leaving directory `/usr/local/Mesa/Mesa-6.4.2/src/mesa'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/local/Mesa/Mesa-6.4.2/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/usr/local/Mesa/Mesa-6.4.2'
make: *** [linux-x86] Error 2


Please help. I am a scientist and not really an expert in tackling these intricate linux-related issues. Thank you very much!
 
Old 08-10-2006, 12:04 PM   #2
verdeboy2k
Member
 
Registered: Jan 2004
Location: /dev/random
Distribution: Gentoo amd64, CrunchBang amd64
Posts: 350

Rep: Reputation: 32
have you tried installing the RPM package for Mesa3d instead of compiling it yourself?

There should be one for Fedora Core.
 
Old 08-12-2006, 04:54 PM   #3
airyfxn
LQ Newbie
 
Registered: Aug 2006
Posts: 4

Original Poster
Rep: Reputation: 0
I will try this as soon as possible. Thank you for your suggestion. An RPM package is the core file, Isnt it?
 
Old 08-17-2006, 08:32 PM   #4
verdeboy2k
Member
 
Registered: Jan 2004
Location: /dev/random
Distribution: Gentoo amd64, CrunchBang amd64
Posts: 350

Rep: Reputation: 32
Dunno, I've never used Fedora personally, but it should have a package manager of some sort, use it to install Mesa.
 
Old 08-17-2006, 11:33 PM   #5
airyfxn
LQ Newbie
 
Registered: Aug 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks. It seems that the program will work (but not perfectly) with just Wine installed. It's working somehow, right now but there are a few glitches. I've been reading some linux-related stuff to familiarize myself. I did this:
1. To see if I have installed Mesa components,
#rpm -qa | grep Mesa
xorg-x11-Mesa-libGLU-6.8.2-31
xorg-x11-Mesa-libGL-6.8.2-31

So Im pretty sure that I already have Mesa. The problem is, the pull-down menu items in the windows program do not display correctly. According to the progam manual troubleshooting:

Troubleshooting:
Q. Facio is running, but the background of the main window is something wrong. >> taenang english yan!
A.Please check whether LD_LIBRARY_PATH is properly set. If the environment variable is set then check the permission of the each directory in LD_LIBRARY_PATH. If there is a directory which does not have "executable
permission", LD_LIBRARY_PATH does not work even if the variable is set.

Then it shows how to set the environment variable:

Setting the environment variable, LD_LIBRARY_PATH [ Very Important! ]
1. Open .bashrc in the user's home directory and add the following line.
2. export LD_LIBRARY_PATH=/usr/local/Mesa/Mesa-6.4.2/lib
3. The value of the variable may change depending on where you installed Mesa.
4. Save the .bashrc and execute the following command # source .bashrc

I am pretty sure that the environment variable thing in the .bashrc is the solution here. However, since I did not install Mesa myself? I do not know where the Mesalib files are and I have no idea how to link them. Can you help me please?

You have been a huge help here..and you guys also inspired me to try and study Linux as a complete newbie.
 
  


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
Can't compile lufs on 64bit 144419855310001 Linux - Software 4 07-12-2006 09:24 AM
xmms 1.2.10-18 not working under FC4 64bit borchen Fedora 13 12-31-2005 04:18 AM
Replace 64bit X with 32bit X on FC4 x86_64 rosholm Fedora 1 10-20-2005 07:01 PM
ndiswrapper compile problem FC4 totenengel Fedora 1 06-27-2005 07:38 AM
How can I compile 64bit with g++, Enterprise 3, AMD64 ?? philblou Programming 1 08-04-2004 05:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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