pczanik at fang.fa.gau.hu
Wed Jan 14 23:22:31 PST 2009
Peter Czanik írta:
> Peter Czanik írta:
>> Recently graphics/png can't be packaged:
>> libpng passes test
>> ===> Installing for png-1.2.34
>> ===> Generating temporary packing list
>> install -o root -g wheel -m 555 libpng-config /usr/local/bin
>> ln -sf libpng-config /usr/local/bin/libpng12-config
>> install -C -o root -g wheel -m 444 libpng.a /usr/local/lib
>> install -s -o root -g wheel -m 444 libpng.so.5 /usr/local/lib
>> ln -fs libpng.so.5 /usr/local/lib/libpng.so
>> /usr/local/include/libpng/../png.h -> libpng/png.h
>> /usr/local/include/libpng/../pngconf.h -> libpng/pngconf.h
>> /usr/bin/sed -e 's|@PREFIX@|/usr/local|'
>> install -o root -g wheel -m 444
>> /bin/ln -sf libpng12.pc /usr/local/libdata/pkgconfig/libpng.pc
>> ===> Running ldconfig
>> /sbin/ldconfig -m /usr/local/lib
>> ===> Registering installation for png-1.2.34
>> ===> Building package for png-1.2.34
>> tar: man/man3/libpng.3.gz: Cannot stat: No such file or directory
>> tar: man/man3/libpngpf.3.gz: Cannot stat: No such file or directory
>> tar: man/man5/png.5.gz: Cannot stat: No such file or directory
>> tar: include/libpng/png.h: Cannot stat: No such file or directory
>> tar: include/libpng/pngconf.h: Cannot stat: No such file or directory
>> tar: Error exit delayed from previous errors.
>> pkg_create: make_dist: tar command failed with code 256
>> Creating package /usr/packages/All/png-1.2.34.tbz
>> Registering depends:.
>> Creating bzip'd tar ball in '/usr/packages/All/png-1.2.34.tbz'
>> *** Error code 1
>> Stop in /usr/ports/graphics/png.
>> *** Error code 1
>> The following ugly hack serves me now as a workaround, but I'm quite
>> sure, that it is not a proper one :)
> Well, it is really not the proper patch, as packages depending on png
> still can't be compiled. The basic problem seems to be, that header
> files (png.h & Co.) are not installed (this failure is after an
> unmodified png install):
> checking for jpeg_read_header in -ljpeg... yes
> configure: error: png.h not found.
> ===> Script "configure" failed unexpectedly.
OK. Source of problem is found:
If "WITHOUT_TOOLCHAIN= true" is set in /etc/rc.conf, then includes
are not installed. The strange thing is, that other packages don't seem
to be affected. A hundred other packages seem to compile fine...
More information about the freebsd-ports