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

Edward Martin <[email protected]>
Newsgroups gmane.comp.gnome.garnome
Message-ID <[email protected]>
you may find this useful

http://lists.freedesktop.org/archives/fontconfig/2006-October/002501.html

someone had a similiar problem, and it seems to have been fixed by just adding a few extra linker flags to freetype
 
On Friday, November 17, 2006, at 10:50PM, "Robert Smith" <[email protected]> wrote:
>I'll be happy to do that, I just ran into another issue however, and
>this one doesn't look quite as easy to fix.
>
>---snip---
>/usr/lib/X11/fonts/100dpi: dyld: lazy symbol binding failed: Symbol not
>found: _FSPathMakeRef
>  Referenced from: /opt/garnome/lib/libfreetype.6.dylib
>  Expected in: flat namespace
>
>dyld: Symbol not found: _FSPathMakeRef
>  Referenced from: /opt/garnome/lib/libfreetype.6.dylib
>  Expected in: flat namespace
>---/snip---
>
>Anyone run into this issue?
>
>Relevant output below:
>
>/usr/src/garnome-2.16.1.1/freedesktop/fontconfig/work/main.d/fontconfig-2.4.1/install-sh
>-d /opt/garnome/etc/fonts /opt/garnome/var/cache/fontconfig
>if [ -f /opt/garnome/etc/fonts/fonts.conf ]; then \
>  echo "backing up existing /opt/garnome/etc/fonts/fonts.conf"; \
>  mv /opt/garnome/etc/fonts/fonts.conf
>/opt/garnome/etc/fonts/fonts.conf.bak; \
>fi
>if [ -f ./fonts.conf ]; then \
>  echo " /usr/bin/install -c -m 644 ./fonts.conf
>/opt/garnome/etc/fonts/fonts.conf"; \
>  /usr/bin/install -c -m 644 ./fonts.conf
>/opt/garnome/etc/fonts/fonts.conf; \
>else if [ -f fonts.conf ]; then \
>  echo " /usr/bin/install -c -m 644 fonts.conf
>/opt/garnome/etc/fonts/fonts.conf"; \
>  /usr/bin/install -c -m 644 fonts.conf /opt/garnome/etc/fonts/fonts.conf; \
>fi; fi
> /usr/bin/install -c -m 644 ./fonts.conf /opt/garnome/etc/fonts/fonts.conf
> fc-cache/fc-cache -s -f -v
>/usr/share/fonts: skipping, no such directory
>/opt/garnome/share/fonts/truetype: skipping, no such directory
>/usr/lib/X11/fonts: caching, 0 fonts, 11 dirs
>/usr/lib/X11/fonts/100dpi: dyld: lazy symbol binding failed: Symbol not
>found: _FSPathMakeRef
>  Referenced from: /opt/garnome/lib/libfreetype.6.dylib
>  Expected in: flat namespace
>
>dyld: Symbol not found: _FSPathMakeRef
>  Referenced from: /opt/garnome/lib/libfreetype.6.dylib
>  Expected in: flat namespace
>
>make[11]: *** [install-data-local] Error 133
>make[10]: *** [install-am] Error 2
>make[9]: *** [install-recursive] Error 1
>make[8]: *** [install-work/main.d/fontconfig-2.4.1/Makefile] Error 2
>make[7]: *** [../../freedesktop/fontconfig/cookies/main.d/install] Error 2
>make[6]: *** [../../freedesktop/cairo/cookies/main.d/install] Error 2
>make[5]: *** [../../platform/pango/cookies/main.d/install] Error 2
>make[4]: *** [../../desktop/libgnomeprint/cookies/main.d/install] Error 2
>make[3]: *** [../../desktop/libgnomeprintui/cookies/main.d/install] Error 2
>make[2]: *** [../../bindings/gnome-python/cookies/main.d/install] Error 2
>make[1]: *** [paranoid-install] Error 2
>make: *** [paranoid-install] Error 2
>gamer@tightanime:/usr/src/garnome-2.16.1.1$ du -sh /opt/garnome/
> 53M    /opt/garnome/
>gamer@tightanime:/usr/src/garnome-2.16.1.1$ cd ..
>gamer@tightanime:/usr/src$ du -sh garnome-2.16.1.1
>291M    garnome-2.16.1.1
>gamer@tightanime:/usr/src$
>
>
>Cheers,
>
>-Robert
>
>Joseph E. Sacco, Ph.D. wrote:
>> Robert,
>>
>> Kindly keep detailed notes on what you needed to do to build GARNOME
>> under MAC OS X. When you are finished you can put together a "howto"
>> which will be useful for others to follow.
>>
>> -Joseph
>>
>> ==========================================================================
>>
>>
>> On Sat, 2006-11-18 at 11:47 +0900, Robert Smith wrote:
>>   
>>> Right on! Worked like a charm.
>>>
>>> -Robert
>>>
>>> Joseph E. Sacco, Ph.D. wrote:
>>>     
>>>> 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 "[email protected]"
>>>>> | #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
>>>>>     
>>>>>         
>
>-- 
>garnome-list mailing list
>[email protected]
>http://mail.gnome.org/mailman/listinfo/garnome-list
>
>
-- 
garnome-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/garnome-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.