Hi,
I originally posted this to the GnuCash list, but it was suggested that I
might get some more luck from this list. Would appreciate it if you could
reply to this address, as I'm not a subscriber. Thanks.
I just moved to one of the new MacBooks and spent the afternoon trying to
get Gnucash working on this machine. After lots of downloading and
compiling, I eventually get to the following error:
Reading Package Lists...
Building Dependency Tree...
Failed: phase installing: fontconfig2-dev-2.4.1-104 failed
Before reporting any errors, please run "fink selfupdate" and
try again. If you continue to have issues, please check to see if the
FAQ on fink's website solves the problem.
I tried the tip on running selfupdate, but after running the install again,
I ran into the same error. I'm not really sure what this indicates, so any
tips would be a great help. If it's any use, I've posted a bigger chunk of
the output from the install below.
Thanks in advance.
Ben
#!/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: /usr/X11/lib/libfontconfig.la: No such file or directory
### execution of /var/tmp/tmp.5.TGwAo1 failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-fontconfig2-dev-2.4.1-104
(Reading database ... 4874 files and directories currently installed.)
Removing fink-buildlock-fontconfig2-dev-2.4.1-104 ...
Updating the list of locally available binary packages.
Scanning dists/unstable/crypto/binary-darwin-i386
New package:
dists/unstable/crypto/binary-darwin-i386/db44-aes-bin_4.4.20-1003_darwin-i386.deb
New package:
dists/unstable/crypto/binary-darwin-i386/db44-aes-doc_4.4.20-1003_darwin-i386.deb
New package:
dists/unstable/crypto/binary-darwin-i386/db44-aes-shlibs_4.4.20-1003_darwin-i386.deb
New package:
dists/unstable/crypto/binary-darwin-i386/db44-aes_4.4.20-1003_darwin-i386.deb
New package:
dists/unstable/crypto/binary-darwin-i386/db47-aes-bin_4.7.25-1_darwin-i386.deb
New package:
dists/unstable/crypto/binary-darwin-i386/db47-aes-doc_4.7.25-1_darwin-i386.deb
New package:
dists/unstable/crypto/binary-darwin-i386/db47-aes-shlibs_4.7.25-1_darwin-i386.deb
New package:
dists/unstable/crypto/binary-darwin-i386/db47-aes_4.7.25-1_darwin-i386.deb
Scanning dists/unstable/main/binary-darwin-i386
New package:
dists/unstable/main/binary-darwin-i386/base/expat1-shlibs_2.0.1-1_darwin-i386.deb
New package:
dists/unstable/main/binary-darwin-i386/base/expat1_2.0.1-1_darwin-i386.deb
New package:
dists/unstable/main/binary-darwin-i386/libs/audiofile-bin_0.2.6-11_darwin-i386.deb
New package:
dists/unstable/main/binary-darwin-i386/libs/audiofile-shlibs_0.2.6-11_darwin-i386.deb
New package:
dists/unstable/main/binary-darwin-i386/libs/audiofile_0.2.6-11_darwin-i386.deb
Downloading the indexes of available packages in the binary distribution.
/sw/bin/apt-get-lockwait -q update
Hit http://bindist.finkmirrors.net 10.5/release/main Packages
Hit http://bindist.finkmirrors.net 10.5/release/main Release
Hit http://bindist.finkmirrors.net 10.5/release/crypto Packages
Hit http://bindist.finkmirrors.net 10.5/release/crypto Release
Hit http://bindist.finkmirrors.net 10.5/current/main Packages
Hit http://bindist.finkmirrors.net 10.5/current/main Release
Hit http://bindist.finkmirrors.net 10.5/current/crypto Packages
Hit http://bindist.finkmirrors.net 10.5/current/crypto Release
Reading Package Lists...
Building Dependency Tree...
Failed: phase installing: fontconfig2-dev-2.4.1-104 failed
Before reporting any errors, please run "fink selfupdate" and
try again. If you continue to have issues, please check to see if the
FAQ on fink's website solves the problem. If not, ask on the fink-users
or fink-beginners mailing lists, with a carbon copy to the maintainer:
Benjamin Reed <[email protected]>
Note that this is preferable to emailing the maintainer directly, since
most fink package maintainers do not have access to all possible
hardware and software configurations.
------------------------------------------------------------------------------
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users