Date: Sun, 5 Sep 2010 06:36:37 GMT From: Yanhui Shen <syh.daemon@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/150297: [/usr/ports/audio/mac] the head files in pkg-plist is not complete Message-ID: <201009050636.o856abCI075257@www.freebsd.org> Resent-Message-ID: <201009050640.o856e5UE073406@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 150297 >Category: ports >Synopsis: [/usr/ports/audio/mac] the head files in pkg-plist is not complete >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Sep 05 06:40:04 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Yanhui Shen >Release: FreeBSD 8.1-STABLE >Organization: China >Environment: FreeBSD FreeBSD 8.1-STABLE FreeBSD 8.1-STABLE #21: Thu Sep 2 11:19:49 CST 2010 syh@FreeBSD:/usr/obj/usr/src/sys/thinkpad i386 >Description: I found the head files in /usr/local/include/mac is not complete. The APEDecompress.h in that directory need "Prepare.h" and "UnBitArrayBase.h", but they're not present. Finally, I "make extract" in /usr/ports/audio/mac, and cp those files(and all they depends) to the include directory, then the my program compiles fine(also plays fine). So, I think the head files listed in pkg-plist which shall be installed into system is not complete, cound you check the problem again and update the ports (maybe). Thank you so much~ >How-To-Repeat: 1.vim /usr/ports/audio/mac/pkg-plist or ls /usr/local/include/mac to see the head files. 2.use the head file "APEDecompress.h" in your program. 3.use gcc to compile your program. 4.you will see the compile error:missing head files. >Fix: 1.cd /usr/ports/audio/mac && make extract 2.cp work/mac-3.99-u4-b5/src/MACLib/Prepare.* /usr/local/include/mac/ 3.cp work/mac-3.99-u4-b5/src/MACLib/UnBitArray* /usr/local/include/mac/ 4.your program will compiles file. My suggestion, those files should present in pkg-plist and the install script. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009050636.o856abCI075257>