LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Mesa3d compile problem on FC4 64bit (https://www.linuxquestions.org/questions/fedora-35/mesa3d-compile-problem-on-fc4-64bit-472229/)

airyfxn 08-09-2006 03:47 AM

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!

verdeboy2k 08-10-2006 12:04 PM

have you tried installing the RPM package for Mesa3d instead of compiling it yourself?

There should be one for Fedora Core.

airyfxn 08-12-2006 04:54 PM

I will try this as soon as possible. Thank you for your suggestion. An RPM package is the core file, Isnt it?

verdeboy2k 08-17-2006 08:32 PM

Dunno, I've never used Fedora personally, but it should have a package manager of some sort, use it to install Mesa.

airyfxn 08-17-2006 11:33 PM

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.


All times are GMT -5. The time now is 04:38 AM.