Hello,

(Mac 10.5.5, Xcode 3.1.2 on my MacBook Pro)

I updated my system to 10.5.5 and I now have X11 2.1.5.   
Unfortunately, when I try and update-all I get the following message.   
It seems that there's a problem finding usr/X11/lib/libfontconfig.la   
I checked the directory and all I have is

/usr/X11/lib/libfontconfig.1.1.0.dylib  /usr/X11/lib/libfontconfig. 
1.3.0.dylib     /usr/X11/lib/libfontconfig.1.dylib      /usr/X11/lib/ 
libfontconfig.dylib

I noticed there were other -emails about fontconfig.  Are these issues  
related maybe?

Cheers,
Francis

Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-fontconfig2- 
dev-2.4.1-104 /sw/src/fink.build
dpkg-deb: building package `fink-buildlock-fontconfig2-dev-2.4.1-104'  
in `/sw/src/fink.build/fink-buildlock-fontconfig2- 
dev-2.4.1-104_2008.11.29-09.42.44_darwin-i386.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock-fontconfig2- 
dev-2.4.1-104_2008.11.29-09.42.44_darwin-i386.deb
Selecting previously deselected package fink-buildlock-fontconfig2- 
dev-2.4.1-104.
(Reading database ... 21895 files and directories currently installed.)
Unpacking fink-buildlock-fontconfig2-dev-2.4.1-104 (from .../fink- 
buildlock-fontconfig2-dev-2.4.1-104_2008.11.29-09.42.44_darwin- 
i386.deb) ...
Setting up fink-buildlock-fontconfig2-dev-2.4.1-104  
(2008.11.29-09.42.44) ...
echo "no compilation necessary"
no compilation necessary
/bin/rm -rf /sw/src/fink.build/root-fontconfig2-dev-2.4.1-104
/bin/mkdir -p /sw/src/fink.build/root-fontconfig2-dev-2.4.1-104/sw
/bin/mkdir -p /sw/src/fink.build/root-fontconfig2-dev-2.4.1-104/DEBIAN
/usr/sbin/chown -R root:admin /sw/src/fink.build/root-fontconfig2- 
dev-2.4.1-104
/var/tmp/tmp.1.GOXHMh
#!/bin/sh -ev

        FC_ROOT="/sw/src/fink.build/root-fontconfig2-dev-2.4.1-104/sw/lib/ 
fontconfig2"
        FC_LIB="/sw/lib/fontconfig2/lib"
        FT_LIB="/sw/lib/freetype219/lib"
        X11_ROOT="/usr/X11"

        declare -a bad_files

        bad_file() {
                bad_files[${#bad_files[*]}]="$1"
        }

        install -d -m 755 $FC_ROOT/{bin,include,lib,lib/pkgconfig}

        for file in \
                fcfreetype.h \
                fcprivate.h \
                fontconfig.h \
        ; do
                [ -e "$X11_ROOT/include/fontconfig/$file" ] || bad_file 
"$X11_ROOT/ 
include/fontconfig/$file"
        done

        for file in \
                include/fontconfig \
                lib/libfontconfig.1.dylib \
                lib/libfontconfig.dylib \
                bin/fc-cache \
                bin/fc-cat \
                bin/fc-list \
                bin/fc-match \
        ; do
                [ -e "$X11_ROOT/$file" ] || bad_file "$X11_ROOT/$file"
                /bin/ln -sfh "$X11_ROOT/$file" "$FC_ROOT/$file"
        done

        # Use fink's freetype219 and expat1
        sed -e "s|-L$X11_ROOT/lib||g" \
            -e "s|$X11_ROOT/lib/libfreetype.la|-L$FT_LIB $FT_LIB/ 
libfreetype.la|" \
            -e "s|/usr/lib/libexpat.la|-L/sw/lib /sw/lib/libexpat.la|" \
            -e "s|libdir=$X11_ROOT/lib|libdir=$FC_LIB|" \
        "$X11_ROOT/lib/libfontconfig.la" > "$FC_ROOT/lib/libfontconfig.fink.la"
sed: can't read /usr/X11/lib/libfontconfig.la: No such file or directory
### execution of /var/tmp/tmp.1.GOXHMh failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-fontconfig2-dev-2.4.1-104
(Reading database ... 21896 files and directories currently installed.)
Removing fink-buildlock-fontconfig2-dev-2.4.1-104 ...
Failed: phase installing: fontconfig2-dev-2.4.1-104 failed

On 28-Nov-08, at 4:57 PM, Alexander Hansen wrote:

>
> On Nov 28, 2008, at 12:11 PM, Francis Poulin wrote:
>
>> Hello,
>>
>> I am running OS 10.5 on my MacBook Pro with XCode 3.1.2.
>>
>> I recently had to install everything from scratch because of a dead
>> hard drive.  When I try running gnuplot I get the following errors.
>> This also comes up when I try any plotting with octave.  Any
>> suggestions?
>>
>> Thanks,
>> Francis
>>
>> dyld: Library not loaded: /usr/X11/lib/libpng12.0.dylib
>> Referenced from: /sw/lib/libgd.2.dylib
>> Reason: Incompatible library version: libgd.2.dylib requires version
>> 25.0.0 or later, but libpng12.0.dylib provides version 1.0.0
>> /sw/bin/gnuplot: line 6: 26403 Trace/BPT trap          /sw/bin/
>> gnuplotx "$@"
>>
>>
>
> There are two problems here.  The first is that libgd really needs  
> to ensure that it links to fink's libpng3.  The other is that it  
> looks like your X11 stuff is older than what your gd2 was built with  
> (if you got it from the binary distribution this would be the  
> case).  The X11 update from 10.5.2 should suffice.
>
> Also:  I don't think we're quite ready to support Xcode 3.1.2--you  
> may encounter difficulties in building packages.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to