The problem:
Code: Select all
Using read-write data directory: /home/nclarke/.spring/
Using read-only data directory: /var/abs/local/yaourtbuild/spring-svn/pkg/usr/share/spring/
Moderator: Moderators
Code: Select all
Using read-write data directory: /home/nclarke/.spring/
Using read-only data directory: /var/abs/local/yaourtbuild/spring-svn/pkg/usr/share/spring/
Its because you used a fakeroot to compile. Compile it as user (somewhere in /home or /tmp), and if you want a fakeinstall, use "make install DESTDIR=/fake/install/directory".osymandias wrote:Building Spring from source under a fakeroot, Spring appears to use the buildbath as a data directory rather than the path it's installed under. Obviously, this may be a fault of the way I'm compiling, but how in general does one set the spring read-only data dir?
The problem:
Code: Select all
Using read-write data directory: /home/nclarke/.spring/ Using read-only data directory: /var/abs/local/yaourtbuild/spring-svn/pkg/usr/share/spring/
Code: Select all
cmake -DCMAKE_INSTALL_PREFIX=/usr -DJAVA_INCLUDE_PATH=/opt/java/include -DJAVA_INCLUDE_PATH2=/opt/java/include/linux .
make || return 1
make install DESTDIR=$pkgdir