Unpacks and compiles fine. When it comes time to install, src_install runs "make install-headers", from the Makefile this entails,

install-headers: jconfig.h
       $(INSTALL_DATA) jconfig.h $(includedir)/jconfig.h
       $(INSTALL_DATA) $(srcdir)/jpeglib.h $(includedir)/jpeglib.h
       $(INSTALL_DATA) $(srcdir)/jmorecfg.h $(includedir)/jmorecfg.h
       $(INSTALL_DATA) $(srcdir)/jerror.h $(includedir)/jerror.h
       $(INSTALL_DATA) $(srcdir)/jinclude.h $(includedir)/jinclude.h

where includedir = /usr/include/jpeg-mmx

However, as root, I run emerge and i get this:

/bin/install -c -m 644 jconfig.h /usr/include/jpeg-mmx/jconfig.h
ACCESS DENIED  open_wr:   /usr/include/jpeg-mmx/jconfig.h
/bin/install: cannot create regular file `/usr/include/jpeg-mmx/jconfig.h': Permission denied

However, as root I can certainly copy all the files manually to where they need to be.

/usr
drwxr-xr-x  179 root root  12816 Aug 21 08:09 include

/var/tmp/portage/jpeg-mmx-0.1.6-r1/work/jpeg-mmx
-rw-r--r--  1 root root      1258 Aug 21 08:21 jconfig.h

--
[EMAIL PROTECTED] mailing list

Reply via email to