help wanted - make install options in dvbcut - cant get it to use the proper rpm paths

David Timms dtimms at iinet.net.au
Thu Mar 3 13:19:22 CET 2011


Hi,

I'm unable to get my package dvbcut to build it's RPM under F14. The 
compile succeeds (and the executable runs OK, but the make install 
stumbles when it tries to write directly to my /usr/... directory:

==== rpmbuild -ba dvbcut.spec:
...
make[1]: Leaving directory `/home/davidt/rpmbuild/BUILD/dvbcut-svn170/src'
make install-local
make[1]: Entering directory `/home/davidt/rpmbuild/BUILD/dvbcut-svn170'
/bin/sh ./mkinstalldirs 
/home/davidt/rpmbuild/BUILDROOT/dvbcut-0.6.0-11.svn170.fc14.x86_64/usr/share/man/man1
mkdir 
/home/davidt/rpmbuild/BUILDROOT/dvbcut-0.6.0-11.svn170.fc14.x86_64/usr/share/man
mkdir 
/home/davidt/rpmbuild/BUILDROOT/dvbcut-0.6.0-11.svn170.fc14.x86_64/usr/share/man/man1
/bin/sh ./mkinstalldirs /usr/share/dvbcut/icons
mkdir /usr/share/dvbcut
mkdir: cannot create directory `/usr/share/dvbcut': Permission denied
mkdir /usr/share/dvbcut/icons
mkdir: cannot create directory `/usr/share/dvbcut/icons': No such file 
or directory
make[1]: *** [/usr/share/dvbcut/icons] Error 1
make[1]: Leaving directory `/home/davidt/rpmbuild/BUILD/dvbcut-svn170'
make: *** [install] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.Ayn61h (%install)
=====

One thing that has changed recently is addition of .desktop and icon 
files into the upstream svn repo. It seems that now it tries to install 
these, it shows up a bug in the original configure/make setup:
===== back further at the ./configure:
...
checking for main in -lqt-mt... yes
configure: creating ./config.status
config.status: creating makefile
config.status: WARNING:  'makefile.in' seems to ignore the --datarootdir 
setting
config.status: creating src/Makefile
config.status: WARNING:  'src/Makefile.in' seems to ignore the 
--datarootdir setting
config.status: creating dvbcut.desktop
configure: WARNING: unrecognized options: --disable-dependency-tracking
+ make
make -C src all
====

I did get further/ less (im not sure by altering the configure/make options:
mkdir 
/home/davidt/rpmbuild/BUILDROOT/dvbcut-0.6.0-11.svn170.fc14.x86_64/usr/share/dvbcut/icons
/usr/bin/install -c -m 644 dvbcut.1 
/home/davidt/rpmbuild/BUILDROOT/dvbcut-0.6.0-11.svn170.fc14.x86_64/usr/share/man/man1/dvbcut.1
/usr/bin/install -c -m 644 dvbcut.desktop /usr/share/applications
/usr/bin/install: cannot create regular file 
`/usr/share/applications/dvbcut.desktop': Permission denied
make[1]: *** [install-local] Error 1
make[1]: Leaving directory `/home/davidt/rpmbuild/BUILD/dvbcut-svn170'
make: *** [install] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.5tV1Zz (%install)
====
, but essentially the same issue is occurring.

The web interface to svn repo is:
http://dvbcut.svn.sourceforge.net/viewvc/dvbcut/trunk/?pathrev=155

I don't understand the multi-layered configure/make process, so any tips 
(or even clear online info pointers) would be good.

David.


More information about the rpmfusion-developers mailing list