arb install fails compile error

View: New views
4 Messages — Rating Filter:   Alert me  

arb install fails compile error

by Daniel Rogers-4 :: Rate this Message:

| View Threaded | Show Only this Message

I'm running Mac OS 10.5.2 and fink 0.28.0.  Fink has installed fine and
selfupdate-cvs works as well.  However, installing arb with: fink
install arb results in an error.  I installed arb successfully on other
10.5 macs and I'm at a loss as to what the problem  may be.  The install
ends as follows.

--------------------------------------------------------------------------------
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/
In file included from RNA3D_Main.cxx:1:
RNA3D_GlobalHeader.hxx:46:26: error: GL/GLwMDrawA.h: No such file or
directory
make[1]: *** [RNA3D_Main.o] Error 1
make: *** [RNA3D/RNA3D.dummy] Error 2
### execution of /var/tmp/tmp.2.w8x9Ih failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-arb-20071207-1005
(Reading database ... 11623 files and directories currently installed.)
Removing fink-buildlock-arb-20071207-1005 ...
Failed: phase compiling: arb-20071207-1005 failed

Before reporting any errors, please run "fink selfupdate" and
try again.  If you continue to have issues, please check to see if the
FAQ on fink's website solves the problem.  If not, ask on the fink-users
or fink-beginners mailing lists, with a carbon copy to the maintainer:

    Ben Hines <bhines@...>

Note that this is preferable to emailing the maintainer directly, since
most fink package maintainers do not have access to all possible
hardware and software configurations.

--
Daniel Rogers
MIT/WHOI Joint Program in Chemical Oceanography
Department of Marine Chemistry and Geochemistry
Woods Hole Oceanographic Institution
266 Woods Hole Rd. MS#52
Woods Hole, MA 02543


-------------------------------------------------------------------------
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
Fink-users@...
https://lists.sourceforge.net/lists/listinfo/fink-users

Re: arb install fails compile error

by Martin Costabel :: Rate this Message:

| View Threaded | Show Only this Message

Daniel Rogers wrote:

> I'm running Mac OS 10.5.2 and fink 0.28.0.  Fink has installed fine and
> selfupdate-cvs works as well.  However, installing arb with: fink
> install arb results in an error.  I installed arb successfully on other
> 10.5 macs and I'm at a loss as to what the problem  may be.  The install
> ends as follows.
>
> --------------------------------------------------------------------------------
> 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/
> In file included from RNA3D_Main.cxx:1:
> RNA3D_GlobalHeader.hxx:46:26: error: GL/GLwMDrawA.h: No such file or
> directory

There is something strange going on with this file. It is installed (in
/usr/X11/include) by the X11SDK package, and on both machines I looked
at it, it was absent. One of the machines I have TimeMachine running,
and I could see how the file was present on February 12 and absent the
following day. On the same day, two SoftwareUpdate packages were
installed, among them my main suspect, QuickTime741_Leopard.pkg.

Do you know on which of your 10.5 machines the QuickTime update is
installed and if this has something to do with the arb failure?

I'll investigate some more, too.

--
Martin



-------------------------------------------------------------------------
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
Fink-users@...
https://lists.sourceforge.net/lists/listinfo/fink-users

Re: arb install fails compile error

by Martin Costabel :: Rate this Message:

| View Threaded | Show Only this Message

Martin Costabel wrote:

> Daniel Rogers wrote:
>
>>I'm running Mac OS 10.5.2 and fink 0.28.0.  Fink has installed fine and
>>selfupdate-cvs works as well.  However, installing arb with: fink
>>install arb results in an error.  I installed arb successfully on other
>>10.5 macs and I'm at a loss as to what the problem  may be.  The install
>>ends as follows.
>>
>>--------------------------------------------------------------------------------
>>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/
>>In file included from RNA3D_Main.cxx:1:
>>RNA3D_GlobalHeader.hxx:46:26: error: GL/GLwMDrawA.h: No such file or
>>directory
>
>
> There is something strange going on with this file. It is installed (in
> /usr/X11/include) by the X11SDK package, and on both machines I looked
> at it, it was absent. One of the machines I have TimeMachine running,
> and I could see how the file was present on February 12 and absent the
> following day. On the same day, two SoftwareUpdate packages were
> installed, among them my main suspect, QuickTime741_Leopard.pkg.

After re-reading my installer logs more carefully, I found that I had
also updated OSX to 10.5.2 the same day, and this is indeed the culprit:
The 10.5.2 updater.

I don't know what the story behind this is, but the MacOSX-10.5.2
updater package runs a script named "removeOldPreLeopardX11" which has
the following lines:

rm -rf "$3/usr/X11/X11.app"
rm -rf "$3/usr/X11/bin/dumpkeymap"
rm -rf "$3/usr/X11/include/xorg"
rm -rf "$3/usr/X11/lib/X11/man/man1"
rm -rf "$3/usr/X11/lib/libGLw.1.dylib"
rm -rf "$3/usr/X11/lib/libGLw.dylib"
rm -rf "$3/usr/X11/include/GL/GLwDrawA.h"
rm -rf "$3/usr/X11/include/GL/GLwDrawAP.h"
rm -rf "$3/usr/X11/include/GL/GLwMDrawA.h"
rm -rf "$3/usr/X11/include/GL/GLwMDrawAP.h"

Now I know nothing about this GLw stuff, but the dynamic libGLw was
observed to be new in Leopard, Tiger having only a static libGLw.a. This
has caused problems for other packages like molmol. It seems that these
packages cannot be built with Apple's X11 any more, unless there is some
other source for libGLw.

--
Martin






-------------------------------------------------------------------------
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
Fink-users@...
https://lists.sourceforge.net/lists/listinfo/fink-users


Parent Message unknown Re: arb install fails compile error

by Mike Dyall-Smith-2 :: Rate this Message:

| View Threaded | Show Only this Message

Thanks for tracking this issue down. I found this file had been lost when I tried to run a compiled version of ARB. The main window starts up but you can't run the EDIT window. I thought I had done something myself, and had to grab libGLw.1.dylib from an old install and move it to its wanted position. Once I had done that, everything seems to work. 

Another ARB user had this advice:

I figured out that xcode's installer didn't actually install /usr/X11/lib/libGLw.dylib! I had to pkgutil --forget and re-install, as per http://www.uoregon.edu/~noeckel/LeopardIntelSetup.html 

Hope this helps. 
- Mike Dyall-Smith



Date: Sun, 24 Feb 2008 16:22:37 +0100
From: Martin Costabel <costabel@...>
Subject: Re: [Fink-users] arb install fails compile error
To: Martin Costabel <costabel@...>
Cc: fink-users@..., Daniel Rogers <drogers@...>
Message-ID: <47C18BBD.4050009@...>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Martin Costabel wrote:
Daniel Rogers wrote:

I'm running Mac OS 10.5.2 and fink 0.28.0.  Fink has installed fine and 
selfupdate-cvs works as well.  However, installing arb with: fink 
install arb results in an error.  I installed arb successfully on other 
10.5 macs and I'm at a loss as to what the problem  may be.  The install 
ends as follows.

-------------------------------------------------------------------------------- 
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/
In file included from RNA3D_Main.cxx:1:
RNA3D_GlobalHeader.hxx:46:26: error: GL/GLwMDrawA.h: No such file or 
directory


There is something strange going on with this file. It is installed (in 
/usr/X11/include) by the X11SDK package, and on both machines I looked 
at it, it was absent. One of the machines I have TimeMachine running, 
and I could see how the file was present on February 12 and absent the 
following day. On the same day, two SoftwareUpdate packages were 
installed, among them my main suspect, QuickTime741_Leopard.pkg.

After re-reading my installer logs more carefully, I found that I had 
also updated OSX to 10.5.2 the same day, and this is indeed the culprit: 
The 10.5.2 updater.

I don't know what the story behind this is, but the MacOSX-10.5.2 
updater package runs a script named "removeOldPreLeopardX11" which has 
the following lines:

rm -rf "$3/usr/X11/X11.app"
rm -rf "$3/usr/X11/bin/dumpkeymap"
rm -rf "$3/usr/X11/include/xorg"
rm -rf "$3/usr/X11/lib/X11/man/man1"
rm -rf "$3/usr/X11/lib/libGLw.1.dylib"
rm -rf "$3/usr/X11/lib/libGLw.dylib"
rm -rf "$3/usr/X11/include/GL/GLwDrawA.h"
rm -rf "$3/usr/X11/include/GL/GLwDrawAP.h"
rm -rf "$3/usr/X11/include/GL/GLwMDrawA.h"
rm -rf "$3/usr/X11/include/GL/GLwMDrawAP.h"

Now I know nothing about this GLw stuff, but the dynamic libGLw was 
observed to be new in Leopard, Tiger having only a static libGLw.a. This 
has caused problems for other packages like molmol. It seems that these 
packages cannot be built with Apple's X11 any more, unless there is some 
other source for libGLw.

-- 
Martin

____________________________
Mike Dyall-Smith
Dept. Microbiology and Immunology
University of Melbourne
Ph: +61 3 8344 5693
Fx: +61 3 9347 1540
____________________________




-------------------------------------------------------------------------
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
Fink-users@...
https://lists.sourceforge.net/lists/listinfo/fink-users