-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 germ wrote: > 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.
You need to arrange to get the ".pyc" files recompileds *after* the py files are in their correct paths. There is a script, 'compilezpy.py', which can be run from the installed location to do this. Tres. - -- =================================================================== Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDi8VC+gerLs4ltQ4RAkDUAKCaMbNHKp5iqOkgQ3SexfeLXnSOvACfROoQ Mo3F0Dm8xvhI1BppISx5XUQ= =hNrJ -----END PGP SIGNATURE----- _______________________________________________ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com