[Zope3-dev] hardcoding make install prefix

germ germish at gmail.com
Mon Nov 28 19:51:20 EST 2005


I have created a SlackBuild (slackware package builder script) for
Zope 3.1.  After the package is created and run, all files are sent to
the correct locations and work properly.  The problem I'm receiving,
which is more of an annoyance than a problem, is that upon receiving
an error in one of my python files, it will trace the call sequence to
a file that doesn't exist:  File
"/tmp/package-zope/usr/lib/python/zope/app/server/main.py".  It is a
file that was created with make install prefix=/tmp/package-zope/usr
but later packaged up and installed to /usr; thus,
/usr/lib/python/app/server/main.py exists, but not
/tmp/package-zope/usr/lib/python/zope/app/server/main.py.  Is make
install hardcoding the prefix somewhere?

In summary, the script does a ./configure --prefix=/usr --force &&
make && make install prefix=/tmp/package-zope/usr.  The script is then
packaged with makepkg.

I hope this is the appropriate place discuss this problem.

Regards,

Bryan G


More information about the Zope3-dev mailing list