Forum How do I...?

prince static tar

epanagio
Is there a a 7.1 tar.gz version of prince? I searched and found one, prince-8.0-linux-amd64-static.tar.gz, but it is for the 8.0 version and I am not sure if I qualify for the 8.0 version.

Thanks,

Evan
mikeday
There are statically linked 32-bit and 64-bit binaries available for Prince 7.1:
prince-7.1-ubuntu904-static.tar.gz
prince-7.1-ubuntu904-amd64-static.tar.gz
These were originally compiled for Ubuntu 9.04, but will work on other Linux distributions using a compatible libc.
epanagio
I downloaded prince-7.1-ubuntu904-amd64-static.tar.gz, unpacked it, executed ./install.sh and I enter path /usr/local/bin (because that was the path that was used in the previous and we wouldn't have to edit all calls to prince):
root@malamo [/home/handsfre/tmp/prince-7.1-ubuntu904-amd64-static]# ./install.sh
Prince 7.1

Install directory
This is the directory in which Prince 7.1 will be installed.
Press Enter to accept the default directory or enter an alternative.
[/usr/local]: /usr/local/bin

Installing Prince 7.1...
Creating directories...
Installing files...

Installation complete.
Thank you for choosing Prince 7.1, we hope you find it useful.
Please visit http://www.princexml.com for updates and development news.

Then if I list the contents of the installation directory:

root@malamo [/home/handsfre/tmp/prince-7.1-ubuntu904-amd64-static]# ll
total 36
drwxr-xr-x 3 1001 1001 4096 Jun 3 09:33 ./
drwxr-xr-x 8 handsfre handsfre 4096 Jun 3 09:05 ../
-rwxrwxrwx 1 1001 1001 1771 Feb 25 2010 install.sh*
drwxr-xr-x 3 1001 1001 4096 Feb 25 2010 lib/
-rw-r--r-- 1 1001 1001 9262 Feb 25 2010 LICENSE
-rw-r--r-- 1 root root 96 Jun 3 09:33 prince
-rw-r--r-- 1 1001 1001 865 Feb 25 2010 README

but there is a

root@malamo [/home/handsfre/tmp/prince-7.1-ubuntu904-amd64-static]# ll /usr/local/bin/lib/prince/
total 36
drwxr-xr-x 9 root root 4096 Jun 3 09:26 ./
drwxr-xr-x 3 root root 4096 Jun 3 09:26 ../
drwxr-xr-x 2 root root 4096 Jun 3 09:33 bin/
drwxr-xr-x 12 root root 4096 Jun 3 09:33 dtd/
drwxr-xr-x 2 root root 4096 Jun 3 09:33 etc/
drwxr-xr-x 2 root root 4096 Jun 3 09:33 hyph/
drwxr-xr-x 2 root root 4096 Jun 3 09:26 license/
drwxr-xr-x 2 root root 4096 Jun 3 09:33 math/
drwxr-xr-x 2 root root 4096 Jun 3 09:33 style/

Somehow prince gets installed in the directory where the installation takes place and it's only 96 bytes?

Help!
mikeday
The installation should create a shell script at /usr/local/bin/prince, and the main binary should be installed at /usr/local/lib/prince/bin/prince.