[fpc-pascal] building source package with fpcmake without installing
Marc Santhoff
M.Santhoff at t-online.de
Tue Jul 31 21:28:30 CEST 2007
Am Dienstag, den 31.07.2007, 09:53 +0200 schrieb Jonas Maebe:
> On 31 Jul 2007, at 00:39, Marc Santhoff wrote:
>
> > how can fpcmake be driven to only tar and gzip up the sources of it's
> > project *without* installing to the system running on first?
> >
> > Not any developer has or should have write access
> > to /usr/local/share/* ...
>
> You can install to any location you want using
>
> make install INSTALL_PREFIX=x/usr/local
>
> tar will throw away leading slashes anyway, so it doesn't matter from
> where you zip/tar everything.
That doesn't work since the prefix is set in the Makefile.fpc and the
setting in the file wins:
...
[install]
prefix=/usr/local
...
$ gmake install INSTALL_PREFIX=../x
...
/usr/local/bin/ginstall -m 755 -d /usr/local/bin
/usr/local/bin/ginstall: kann Zugriffsrechte von "/usr/local/bin" nicht ändern: Operation not permitted
gmake: *** [fpc_install] Fehler 1
Marc
More information about the fpc-pascal
mailing list