Hi, Stuart,
Thank you for support!
I work with Ubuntu 9.04. I have added by apt-get following packets:
1. libfreetype6 and libfreetype6-dev
2. libpng12-dev
see my log below
Processing: freetype
======================
Processing: fontconfig
========================
Build path taken because: directory build,
checking if sources have been updated: *no*
Processing: libpng
====================
Build path taken because: directory build, no prebuilt rpm,
scbuild/scdeploy already unpacked package
Processing: libpng
====================
Build path taken because: directory build, build key set, no prebuilt rpm,
rpmbuild --dbpath /home/dima/ltib_install_2/ltib/rootfs//var/lib/rpm
--target arm --define '_unpackaged_files_terminate_build 0' --define
'_target_cpu arm' --define '__strip strip' --define '_topdir
/home/dima/ltib_install_2/ltib/rpm' --define '_prefix /usr' --define
'_tmppath /home/dima/ltib_install_2/ltib/tmp' --define '_rpmdir
/home/dima/ltib_install_2/ltib/rpm/RPMS' --define '_mandir
/usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir
/var' -bc --short-circuit
/home/dima/ltib_install_2/ltib/dist/lfs-5.1/libpng/libpng.spec
Building target platforms: arm
Building for target arm
Executing(%build): /bin/sh -e
/home/dima/ltib_install_2/ltib/tmp/rpm-tmp.72326
+ umask 022
+ cd /home/dima/ltib_install_2/ltib/rpm/BUILD
+ cd libpng-1.2.8
+ make prefix=/usr -f scripts/makefile.linux
gcc -I../zlib -Wall -O3 -funroll-loops -c -o pngrutil.o pngrutil.c
gcc -c -I../zlib -Wall -O3 -funroll-loops -fPIC -o pngwtran.pic.o
pngwtran.c
gcc -c -I../zlib -Wall -O3 -funroll-loops -fPIC -o pngmem.pic.o pngmem.c
gcc -c -I../zlib -Wall -O3 -funroll-loops -fPIC -o pngerror.pic.o
pngerror.c
gcc -c -I../zlib -Wall -O3 -funroll-loops -fPIC -o pngpread.pic.o
pngpread.c
gcc -I../zlib -Wall -O3 -funroll-loops -c -o pngtest.o pngtest.c
cat scripts/libpng.pc.in <http://libpng.pc.in> | sed -e
address@hidden@!/usr! > libpng.pc
( cat scripts/libpng-config-head.in <http://libpng-config-head.in>; \
echo prefix=\"/usr\"; \
echo I_opts=\"-I/usr/include/libpng12\"; \
echo L_opts=\"-L/usr/lib\"; \
echo R_opts=\"-Wl,-rpath,/usr/lib\"; \
echo libs=\"-lpng12\"; \
cat scripts/libpng-config-body.in <http://libpng-config-body.in> ) >
libpng-config
chmod +x libpng-config
pngrutil.c: In function 'png_get_uint_31':
pngrutil.c:47: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [pngrutil.o] Error 1
make: *** Waiting for unfinished jobs....
error: Bad exit status from
/home/dima/ltib_install_2/ltib/tmp/rpm-tmp.72326 (%build)
RPM build errors:
Bad exit status from
/home/dima/ltib_install_2/ltib/tmp/rpm-tmp.72326 (%build)
Build time for libpng: 4 seconds
Failed building libpng
f_buildrpms() returned an error, exiting
traceback:
main:558
Started: Mon Jul 6 17:23:30 2009
Ended: Mon Jul 6 17:24:32 2009
Elapsed: 62 seconds
These packages failed to build:
libpng