New issue 6 by ryan.pavlik: Normal user build with root-only prefix fails
at Python Tweek IDL-generated code
http://code.google.com/p/vrjuggler/issues/detail?id=6
I've attached a full build log, but here's the basics:
configured with ./configure.pl --prefix=/usr
DESTDIR=/somewhere/user/writable ....
building with:
DESTDIR=$(DEB_DESTDIR) make opt-dso DESTDIR=/somewhere/user/writable
Failure: looks like an install is being invoked but going right to the
prefix, rather than to instlinks or (at least) respecting DESTDIR.
------------------------------------------------
Installing the Tweek extensions
------------------------------------------------
/usr/bin/perl
/home/rpavlik/src/third-party/ubuntu/vrjuggler-2.2-gitsvn/release/scripts/mtree.pl
-Ude -f
/home/rpavlik/src/third-party/ubuntu/vrjuggler-2.2-gitsvn/debian/build/modules/tweek/mtree/TWEEK.java.dist
-p
/home/rpavlik/src/third-party/ubuntu/vrjuggler-2.2-gitsvn/debian/build/instlinks/share/tweek-1.2
for jar in wizard.jar ui.jar ; \
do \
/usr/bin/perl
/home/rpavlik/src/third-party/ubuntu/vrjuggler-2.2-gitsvn/dpp/scripts/bsd-install.pl
-l -m 0644 \
/home/rpavlik/src/third-party/ubuntu/vrjuggler-2.2-gitsvn/debian/build/modules/tweek/extensions/java/$jar
\
/home/rpavlik/src/third-party/ubuntu/vrjuggler-2.2-gitsvn/debian/build/instlinks/share/tweek-1.2/java ;
\
done
------------------------------------------------
Installing the IDL-generated Python code
------------------------------------------------
/home/rpavlik/src/third-party/ubuntu/vrjuggler-2.2-gitsvn/release/scripts/mkinstalldirs
/usr/lib/python2.6/site-packages/tweek
mkdir /usr/lib/python2.6/site-packages
mkdir: cannot create directory `/usr/lib/python2.6/site-packages':
Permission denied
mkdir /usr/lib/python2.6/site-packages/tweek
mkdir: cannot create directory `/usr/lib/python2.6/site-packages/tweek': No
such file or directory
make[12]: *** [tweek-idl-install] Error 1
make[11]: *** [install-tweek-gui] Error 2
make[10]: *** [post-install] Error 2
make[9]: *** [do-post-install] Error 2
make[8]: *** [install-optim] Error 2
make[7]: *** [links-opt] Error 2
make[6]: *** [links] Error 2
make[5]: *** [afterbuild] Error 2
make[4]: *** [opt-dso] Error 2
make[3]: *** [opt-dso] Error 2
make[2]: *** [recursive] Error 1
make[1]: *** [opt-dso] Error 2
make[1]: Leaving directory
`/home/rpavlik/src/third-party/ubuntu/vrjuggler-2.2-gitsvn/debian/build'
make: *** [debian/stamp-makefile-build] Error 2
Attachments:
vrjuggler-2.2_2.2.2.21324-1~rp1~jaunty1_i386.build 199 KB
Comment #1 on issue 6 by patrick.hartling: Normal user build with root-only
prefix fails at Python Tweek IDL-generated code
http://code.google.com/p/vrjuggler/issues/detail?id=6
What is the variable DESTDIR supposed to be? The build doesn't use that
variable anywhere. Perhaps what you want is prefix? Take a look at how the
RPM spec files are written. The basic procedure is this:
configure.pl --prefix=/usr
make prefix=<distroot>/usr release