Solved this one.

See
http://wiki.finkproject.org/index.php/Fink:Packaging:Preparing_for_10.5#OpenGL_Bug

So I changed the LDFLAGS in gar.conf.mk to:
LDFLAGS +=
-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
-L$(libdir)

On to the next bug....


On Mon, Mar 3, 2008 at 5:11 PM, Brad Allison <[EMAIL PROTECTED]> wrote:

> The error:
>
> /bin/sh ../../libtool --tag=CC --mode=link cc  -g
> -I/Users/jackal/garnome/include -L/Users/jackal/garnome/lib -O2 -pipe -Wall
> -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -Wnested-externs -fno-strict-aliasing
> -L/Users/jackal/garnome/lib -o libglitz-glx.la -rpath
> /Users/jackal/garnome/lib -version-info 1:0:0 -no-undefined
> glitz_glx_drawable.lo glitz_glx_format.lo glitz_glx_info.lo
> glitz_glx_extension.lo glitz_glx_context.lo glitz_glx_pbuffer.lo -L../../src
> -lglitz -L/usr/X11/lib -lX11 -lGL -lpthread
>
> cc -dynamiclib  -o .libs/libglitz-glx.1.0.0.dylib
> .libs/glitz_glx_drawable.o .libs/glitz_glx_format.o .libs/glitz_glx_info.o
> .libs/glitz_glx_extension.o .libs/glitz_glx_context.o
> .libs/glitz_glx_pbuffer.o  -L/Users/jackal/garnome/lib
> /Users/jackal/source/garnome-2.21.92/freedesktop/glitz/work/main.d/glitz-
> 0.5.6/src/.libs/libglitz.dylib -L/usr/X11/lib
> /usr/X11/lib/libX11.6.2.0.dylib /usr/X11/lib/libXau.6.0.0.dylib
> /usr/X11/lib/libXdmcp.6.0.0.dylib -lGL -lpthread  -install_name
> /Users/jackal/garnome/lib/libglitz-glx.1.dylib -Wl,-compatibility_version
> -Wl,2 -Wl,-current_version -Wl,2.0
> ld: cycle in dylib re-exports with /usr/X11/lib/libGL.dylib
> collect2: ld returned 1 exit status
> make[9]: *** [libglitz-glx.la] Error 1
> make[8]: *** [all-recursive] Error 1
> make[7]: *** [all-recursive] Error 1
> make[6]: *** [all] Error 2
> make[5]: *** [build-work/main.d/glitz-0.5.6/Makefile] Error 2
> make[4]: *** [../../freedesktop/glitz/cookies/main.d/install] Error 2
> make[3]: *** [../../freedesktop/cairo/cookies/main.d/install] Error 2
> make[2]: *** [../../platform/gtk+/cookies/main.d/install] Error 2
> make[1]: *** [../../bindings/pygtk/cookies/main.d/install] Error 2
> make: *** [paranoid-install] Error 2
>
> The error log:
>
> /Users/jackal/source/garnome-2.21.92/freedesktop/glitz/work/main.d/glitz-
> 0.5.6/config.log  (see attached)
>
> The OS:
>
> MacOSX 10.5.2
>
> MacBook-Pro:garnome-2.21.92 jackal$ uname -a
> Darwin MacBook-Pro.local 9.2.0 Darwin Kernel Version 9.2.0: Tue Feb  5
> 16:13:22 PST 2008; root:xnu-1228.3.13~1/RELEASE_I386 i386
>
> The Compiler:
>
> MacBook-Pro:garnome-2.21.92 jackal$ which gcc
> /usr/bin/gcc
>
> MacBook-Pro:garnome-2.21.92 jackal$ gcc -v
> Using built-in specs.
> Target: i686-apple-darwin9
> Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable-checking
> -enable-werror --prefix=/usr --mandir=/share/man
> --enable-languages=c,objc,c++,obj-c++
> --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
> --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
> --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic
> --host=i686-apple-darwin9 --target=i686-apple-darwin9
> Thread model: posix
> gcc version 4.0.1 (Apple Inc. build 5465)
>
> MacBook-Pro:garnome-2.21.92 jackal$ which make
> /opt/local/bin/make
>
> MacBook-Pro:garnome-2.21.92 jackal$ make -v
> GNU Make 3.81
> Copyright (C) 2006  Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
>
> This program built for i386-apple-darwin9.2.0
>
>
>  The Fix:
>
> UNKNOWN.
>
>
-- 
garnome-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/garnome-list

Reply via email to