On Tue, May 08, 2007 at 12:18:41PM +0200, Michal Hocko wrote:
> On Tue, May 08, 2007 at 11:34:46AM +0200, Rainer Lay wrote:
> > Sorry for that.
> >
> > LANG=en INSTALL_ROOT=/var/tmp/pdfedit-0.3.1-buildroot/ make install
> > cd doc && ( gmake doc_dist|| make doc_dist )
> > gmake[1]: Entering directory `/usr/src/packages/BUILD/pdfedit-0.3.1/doc'
> >
> > ...
> >
> > cd src && make install
> > make[1]: Entering directory `/usr/src/packages/BUILD/pdfedit-0.3.1/src'
> > cd gui && make install
> > make[2]: Entering directory `/usr/src/packages/BUILD/pdfedit-0.3.1/src/gui'
> > mkdir: cannot create directory
> > `/var/tmp/pdfedit-0.3.1-buildroot/../../../../../../share': Permission
> > denied
>
> Seems that problem is in your Makefile, because share directory is out
> of INSTALL_ROOT...
>
> I have tried similar
> INSTALL_ROOT=~/tmp/pdfedit make install
> and everything worked fine.
>
> Can you send Makefiles generated by your qmake?
> [tar -cf Makefiles.tar `find -name "Makefile"`]
> Though src/gui/Makefile should be enough.
> Maybe there is problem in Makefiles generation on your platform.
> On Tue, May 08, 2007 at 01:04:13PM +0200, Rainer Lay wrote:
> here they come ...
Here is a part of your src/gui/Makefile:
[...]
INCPATH = -I/usr/lib/qt3/mkspecs/default -I. -I.. -I../utils -I../xpdf
-I../xpdf/xpdf -I../xpdf/goo -I../kernel -I../kpdf-kde-3.3.2
-I../xpdf/splash -I../qsa/src/qsa -I../../../../../../include
-I$(QTDIR)/include -I.ui/ -I.moc/
[...]
Makefile: pdfedit.pro /usr/lib/qt3/mkspecs/default/qmake.conf ../../config.pro
\
../xpdf/config_xpdf_variables \
../kernel/kernel-obj.pro \
../../../../../../lib/qt3/lib/libqt-mt.prl
$(QMAKE) -o Makefile pdfedit.pro
[...]
install_data: all
@$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)../../../../../../share/pdfedit/" ||
$(MKDIR) "$(INSTALL_ROOT)../../../../../../share/pdfedit/"
-$(INSTALL_FILE) "pdfeditrc"
"$(INSTALL_ROOT)../../../../../../share/pdfedit/"
-$(INSTALL_FILE) "mode.conf"
"$(INSTALL_ROOT)../../../../../../share/pdfedit/"
[...]
As you can see there is ../../../../../../ path used for both header
files and installation target.
Have you used any special parameters during configuration?
What is in your config.pro (in the root of pdfedit)?
--
Michal Hocko
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Pdfedit-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdfedit-support