Hello,

I'm quite new to making Fink packages and I tried to create a package for my favourite Emulator, Mednafen (see http://mednafen.sf.net for details). It went pretty well, the package is almost ready, except for one dependency: libsndfile, which isn't included in Fink, so I decided to make a package for it, too.

The build process went pretty well, too (I left out the Flac dependency, because that would make Fink build a myriad of other things I don't need), however, the building process gets stuck at installing some documentation files. I'll post the errors, next:

--------------------------------
test -z "/sw/share/doc/libsndfile1-dev/html" || /sw/src/fink.build/ libsndfile-1.0.17-1/libsndfile-1.0.17/install-sh -d "/sw/share/doc/ libsndfile1-dev/html" /usr/bin/install -c -m 644 'index.html' '/sw/share/doc/libsndfile1- dev/html/index.html' install: /sw/share/doc/libsndfile1-dev/html/index.html: Permission denied /usr/bin/install -c -m 644 'libsndfile.jpg' '/sw/share/doc/ libsndfile1-dev/html/libsndfile.jpg' install: /sw/share/doc/libsndfile1-dev/html/libsndfile.jpg: Permission denied /usr/bin/install -c -m 644 'libsndfile.css' '/sw/share/doc/ libsndfile1-dev/html/libsndfile.css' install: /sw/share/doc/libsndfile1-dev/html/libsndfile.css: Permission denied /usr/bin/install -c -m 644 'api.html' '/sw/share/doc/libsndfile1-dev/ html/api.html'
install: /sw/share/doc/libsndfile1-dev/html/api.html: Permission denied
/usr/bin/install -c -m 644 'command.html' '/sw/share/doc/libsndfile1- dev/html/command.html' install: /sw/share/doc/libsndfile1-dev/html/command.html: Permission denied /usr/bin/install -c -m 644 'bugs.html' '/sw/share/doc/libsndfile1- dev/html/bugs.html'
install: /sw/share/doc/libsndfile1-dev/html/bugs.html: Permission denied
/usr/bin/install -c -m 644 'sndfile_info.html' '/sw/share/doc/ libsndfile1-dev/html/sndfile_info.html' install: /sw/share/doc/libsndfile1-dev/html/sndfile_info.html: Permission denied /usr/bin/install -c -m 644 'new_file_type.HOWTO' '/sw/share/doc/ libsndfile1-dev/html/new_file_type.HOWTO' install: /sw/share/doc/libsndfile1-dev/html/new_file_type.HOWTO: Permission denied /usr/bin/install -c -m 644 'pkgconfig.html' '/sw/share/doc/ libsndfile1-dev/html/pkgconfig.html' install: /sw/share/doc/libsndfile1-dev/html/pkgconfig.html: Permission denied /usr/bin/install -c -m 644 'win32.html' '/sw/share/doc/libsndfile1- dev/html/win32.html' install: /sw/share/doc/libsndfile1-dev/html/win32.html: Permission denied /usr/bin/install -c -m 644 'FAQ.html' '/sw/share/doc/libsndfile1-dev/ html/FAQ.html'
install: /sw/share/doc/libsndfile1-dev/html/FAQ.html: Permission denied
/usr/bin/install -c -m 644 'lists.html' '/sw/share/doc/libsndfile1- dev/html/lists.html' install: /sw/share/doc/libsndfile1-dev/html/lists.html: Permission denied /usr/bin/install -c -m 644 'embedded_files.html' '/sw/share/doc/ libsndfile1-dev/html/embedded_files.html' install: /sw/share/doc/libsndfile1-dev/html/embedded_files.html: Permission denied /usr/bin/install -c -m 644 'octave.html' '/sw/share/doc/libsndfile1- dev/html/octave.html' install: /sw/share/doc/libsndfile1-dev/html/octave.html: Permission denied /usr/bin/install -c -m 644 'dither.html' '/sw/share/doc/libsndfile1- dev/html/dither.html' install: /sw/share/doc/libsndfile1-dev/html/dither.html: Permission denied
make[2]: *** [install-htmlDATA] Error 71
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1
### execution of make failed, exit code 2
### execution of /var/tmp/tmp.3.wFkEzQ failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-libsndfile-1.0.17-1
(Lese Datenbank ... 4486 Dateien und Verzeichnisse sind derzeit installiert.)
Entferne fink-buildlock-libsndfile-1.0.17-1 ...
Failed: phase installing: libsndfile-1.0.17-1 failed

----------------------------

As you can see, I get a lot of "Permission denied" errors which I cannot explain.

My package looks like this:

----------------------------

Package: libsndfile
Version: 1.0.17
Revision: 1
Source: http://www.mega-nerd.com/%n/%n-%v.tar.gz
Maintainer: Florian Fahr <[EMAIL PROTECTED]>
HomePage: http://www.launchpad.net/~florian-fahr
License: LGPL
Description: Library for reading/writing audio files
Source-MD5: 2d126c35448503f6dbe33934d9581f6b
BuildDepends: libogg

-----------------------------

Can anyone explain this error to me? It builds flawlessly without using Fink.

I'm using Mac OS X 10.5.1 and have the latest version of Fink installed.

Thanks in advance
Florian

Attachment: PGP.sig
Description: This is a digitally signed message part

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to