On Friday 03 August 2007 09:41, Brian Paul wrote:
> Alexander Neundorf wrote:
> > On Friday 03 August 2007 09:22, Brian Paul wrote:
> > ...
> >
> >> Sure, any kind of patch is OK.  I'll check in the fix.
> >>
> >> -Brian
> >
> > One more thing, libOSMesa.a was created in lib/ but not installed on
> > "make install", only libGLU.a was installed.
>
> The shell code at line 158 of src/mesa/Makefile should have done that:
>
>       @if [ -e $(TOP)/$(LIB_DIR)/$(OSMESA_LIB_NAME) ]; then \
>               $(INSTALL) $(TOP)/$(LIB_DIR)/libOSMesa* 
> $(INSTALL_DIR)/$(LIB_DIR); \
>       fi
>
> Maybe remove the '@' and/or add some debug info to see what's up.
> Otherwise, I'll look into it later.

I had to set OSMESA_LIB_NAME, now it works.

Alex
commit eeb0100088f2de210ed5f8b91f945e19ccb8d328
Author: Berk Geveci <[EMAIL PROTECTED]>
Date:   Fri Aug 3 09:52:00 2007 -0400

    the name of the osmesa lib is libOSMesa.a when built as static lib

    Alex

diff --git a/configs/bluegene-osmesa b/configs/bluegene-osmesa
index 8e5a54b..c954367 100644
--- a/configs/bluegene-osmesa
+++ b/configs/bluegene-osmesa
@@ -14,6 +14,7 @@ CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE
 CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURC

 MKLIB_OPTIONS = -static
+OSMESA_LIB_NAME = libOSMesa.a

# Directories
 SRC_DIRS = mesa glu
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to