Re: [GARNOME] Building garnome-2.16.1.1 on OS X Tiger 10.4.8



Robert,

Edit LDFLAGS in gar.conf.mk and remove the linker directive as shown
below:

        LDFLAGS +=  -L$(libdir)

-Joseph

==========================================================================

On Fri, 2006-11-17 at 19:41 +0900, Robert Smith wrote:
> Attempting to build garnome-2.16.1.1 on OS X 10.4.8 (Intel Mac) produces
> the following error:
> 
> The problem is obviously with the "/usr/bin/ld: unknown flag:
> --export-dynamic" line in the config.log. It appears that /usr/bin/ld
> does not understand the argument --export-dynamic.
> 
> 
> What can be done to fix this, so that us poor OS X users can enjoy and
> nice fresh bleeding edge installation of Garnome?
> 
> ---snip---
> gamer tightanime:/usr/src/garnome-2.16.1.1/bootstrap/libtool$ make install
> [===== NOW BUILDING:    libtool-1.5.22  =====]
>         [fetch] complete for libtool.
>         [checksum] complete for libtool.
>         [extract] complete for libtool.
>         [patch] complete for libtool.
>         [fixup] complete for libtool.
>  ==> Running configure in work/main.d/libtool-1.5.22
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... no
> checking for mawk... no
> checking for nawk... no
> checking for awk... awk
> checking whether make sets $(MAKE)... yes
> checking for gcc... cc
> checking for C compiler default output file name... configure: error: C
> compiler cannot create executables
> See `config.log' for more details.
> make: *** [configure-work/main.d/libtool-1.5.22/configure] Error 77
> gamer tightanime:/usr/src/garnome-2.16.1.1/bootstrap/libtool$
> ---unsnip---
> 
> Relevant information from config.log:
> 
> ---snip---
> configure:2729: $? = 0
> configure:2731: cc -v >&5
> Using built-in specs.
> Target: i686-apple-darwin8
> Configured with: /private/var/tmp/gcc/gcc-5367.obj~1/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=powerpc-apple-darwin8 --with-arch=nocona --with-tune=generic
> --program-prefix= --host=i686-apple-darwin8 --target=i686-apple-darwin8
> Thread model: posix
> gcc version 4.0.1 (Apple Computer, Inc. build 5367)
> configure:2734: $? = 0
> configure:2736: cc -V >&5
> cc: argument to `-V' is missing
> configure:2739: $? = 1
> configure:2762: checking for C compiler default output file name
> configure:2784: cc -I/opt/garnome/include -L/opt/garnome/lib -O2 -pipe
> -I/opt/garnome/include -Wl,--export-dynamic -L/opt/garnome/lib
> conftest.c  >&5
> /usr/bin/ld: unknown flag: --export-dynamic
> collect2: ld returned 1 exit status
> configure:2787: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | #define PACKAGE_NAME "libtool"
> | #define PACKAGE_TARNAME "libtool"
> | #define PACKAGE_VERSION "1.5.22"
> | #define PACKAGE_STRING "libtool 1.5.22"
> | #define PACKAGE_BUGREPORT "bug-libtool gnu org"
> | #define PACKAGE "libtool"
> | #define VERSION "1.5.22"
> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
> configure:2818: error: C compiler cannot create executables
> See `config.log' for more details.
> ---unsnip---
> 
> 
> 
> Cheers,
> 
> Robert Smith
-- 
joseph_sacco [at] comcast [dot] net




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]