Following up:  I get an identical error.  (10.5.2/PowerPC with X11-2.2.1). 

I'm not sure about the next step.  Probably arb needs to be modified 
either to use mesa or freeglut.

Alexander Hansen wrote:
> The /vart/tmp/tmp.2.stuff are just temporary scripts, so their names 
> are supposed to be different every time.
> The files that you added back are also installed through mesa-libglw 
> and mesa-libglw-shlibs (albeit in a different location), so evidently 
> the problem wasn't the same as in the prior post.
>
> I've got X11 2.2.1, and that seems to be the latest stable macosforge 
> release.  I'm in the middle of trying a build right now, and I'll post 
> back when I'm done.
>
> Also as a point of reference, I got the following
>
> $ ls -l /usr/X11/include/GL/glut.h
> -r--r--r-- 1 root wheel 29938 Aug  1  2007 /usr/X11/include/GL/glut.h
>
> Christopher Omelon wrote:
>> I installed mesa-libglw and mesa-libglw-shlibs, ran selfupdate and
>> update-all, then tried installing arb again but noticed that even 
>> though the
>> initial error started at the same point, there was a slight 
>> difference in
>> the last execution, which was originally
>>
>> ### execution of /var/tmp/tmp.2.pknQvM failed, exit code 2
>>
>> and is now
>>
>> ### execution of /var/tmp/tmp.2.mexd64 failed, exit code 2
>>
>> Don't know if this makes any difference, but any help is greatly
>> appreciated. 
>> -Chris
>>
>>
>> Alexander Hansen-2 wrote:
>>  
>>> Christopher Omelon wrote:
>>>    
>>>> I'm running Mac OS 10.5.2 and fink 0.28.1.  Fink has installed fine 
>>>> and
>>>> both
>>>> selfupdate-cvs and rsync work well.  However, installing arb with: 
>>>> "fink
>>>> install arb" results in the following output leading up to the
>>>> installation
>>>> quitting.
>>>>
>>>> --------------------------------------------------------------------------------
>>>>  
>>>>
>>>> Make everything in RNA3D
>>>> g++ -DDARWIN -DNO_REGEXPR  -no-cpp-precomp -DHAVE_BOOL -O4 -DNDEBUG 
>>>> -DARB_OPENGL -DFAKE_VTAB_PTR=char -D_ARB_RNA3D -c -o RNA3D_Main.o
>>>> RNA3D_Main.cxx  -I. -I/sw/src/fink.build/arb-20071207-1005/./INCLUDE
>>>> -I/usr/X11R6/include -I/sw/include/
>>>> /usr/X11R6/include/GL/glut.h:538: error: expected initializer before
>>>> 'glutInit'
>>>>
>>>> ***this continues for what look like hundreds of similar errors 
>>>> related
>>>> to
>>>> glut.h, ending with***
>>>>
>>>> /usr/X11R6/include/GL/glut.h:748: error: expected initializer before
>>>> 'glutGameModeGet'
>>>> make[1]: *** [RNA3D_Main.o] Error 1
>>>> make: *** [RNA3D/RNA3D.dummy] Error 2
>>>> ### execution of /var/tmp/tmp.2.pknQvM failed, exit code 2
>>>> Removing runtime build-lock...
>>>> Removing build-lock package...
>>>> /sw/bin/dpkg-lockwait -r fink-buildlock-arb-20071207-1005
>>>> (Reading database ... 11759 files and directories currently 
>>>> installed.)
>>>> Removing fink-buildlock-arb-20071207-1005 ...
>>>> Failed: phase compiling: arb-20071207-1005 failed
>>>>
>>>> This compiling failure appears similar to a previous post examining 
>>>> the
>>>> same
>>>> problem.  Further reading led to me to install the following files 
>>>> that
>>>> were
>>>> removed by the 10.5.2 update:
>>>>
>>>> /usr/X11/lib/libGLw.1.dylib
>>>> /usr/X11/lib/libGLw.dylib
>>>> /usr/X11/include/GL/GLwDrawA.h
>>>> /usr/X11/include/GL/GLwDrawAP.h
>>>> /usr/X11/include/GL/GLwMDrawA.h
>>>> /usr/X11/include/GL/GLwMDrawAP.h
>>>>
>>>> and after reinstalling XCodeTools.pkg I noticed that, while the above
>>>> files
>>>> are still there, the following ones are not:
>>>>
>>>> /usr/X11/X11.app
>>>> /usr/X11/bin/dumpkeymap
>>>> /usr/X11/lib/X11/man/man1
>>>>
>>>> even though
>>>>
>>>> /usr/X11/include/xorg
>>>>
>>>> does exist.  And running "fink install arb" produces the same outcome.
>>>>
>>>> I think I have the most recent version of X11 on my computer 
>>>> (2.2.1) but
>>>> I
>>>> have also read that I should get the latest "fixed" version available
>>>> from
>>>> Mac OS Forge.  Does anyone think this might be the problem?
>>>>
>>>> Thanks - Chris
>>>>         
>>> Try installing mesa-libglw and mesa-libglw-shlibs , which was my 
>>> prior recommendation to someon having problems with arb.  And let me 
>>> know if it works--I had thought that the package got updated to use 
>>> them, but apparently not.
>>>
>>>     
>


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to