Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 2009 08:22:14 +0100
From:      Peter Czanik <pczanik@fang.fa.gau.hu>
To:        ports@freebsd.org
Cc:        ache@FreeBSD.org
Subject:   Re: graphics/png
Message-ID:  <496EE426.9040700@fang.fa.gau.hu>
In-Reply-To: <496C5575.6090607@fang.fa.gau.hu>
References:  <496B0834.5000704@fang.fa.gau.hu> <496C5575.6090607@fang.fa.gau.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

Peter Czanik írta:
> Peter Czanik írta:
>   
>> Hello,
>> 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|'
>> /usr/tmp/usr/ports/graphics/png/work/libpng-1.2.34/scripts/libpng.pc.in 
>>   
>>     
>>> /usr/tmp/usr/ports/graphics/png/work/libpng-1.2.34/scripts/libpng.pc
>>>     
>>>       
>> install  -o root -g wheel -m 444
>> /usr/tmp/usr/ports/graphics/png/work/libpng-1.2.34/scripts/libpng.pc 
>> /usr/local/libdata/pkgconfig/libpng12.pc
>> /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...
Bye,
CzP



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?496EE426.9040700>