Hi,

>> > > My bet is that something is trynig to use AWT for image
manipulation... This
>> is obviously bad, because
>> > > you need an X11 on your Linux box, remote X Server to connect, or
build the
>> docs on a Windoze machine.
...
>> It's the image-rendering code in Stylebook. Basically, any tag like
>>     <create source="{$source}" target="graphics/{$id}-header.jpg"
>> producer="parser" printer="image">
>> (in book2project.xsl) is using AWT calls to generate JPGs dynamically.
These
>> calls require a GDI context, which is always available under Windows.
AFAIK,
>> that's just the way Stylebook works. :-(
>
>Okay, who wants to volunteer to fix it?

The standard way to solve this problem is not to reinvent all of the Java/AWT,
but to simply provide a virtual X server.

"Xvfb" is the "X virtual frame buffer".  It is an X-server for running
on server machines that have no display hardware, and it is useful in just
these sort of situations.

   http://www.xfree86.org/4.0/Xvfb.1.html

I installed this on my RedHat Linux server with the following command (as
root).

   rpm -Uvh
ftp://rpmfind.net/linux/redhat/redhat-5.2/i386/RedHat/RPMS/XFree86-Xvfb-3.3.
2.3-25.i386.rpm

Stephen

P.S. In case you are lacking X11 altogether, on my Linux box, I found a
suitable
FTP server and installed a bunch of X packages like so.
(However, these FTP servers get reorganized periodically, so they may not
still work perfectly as shown.)

rpm -Uvh
ftp://ftp.rackspace.com/pub/Linux/redhat-6.0/i386/RedHat/RPMS/XFree86-libs-3
.3.3.1-49.i386.rpm

rpm -Uvh
ftp://ftp.rackspace.com/pub/Linux/redhat-6.0/i386/RedHat/RPMS/XFree86-xfs-3.
3.3.1-49.i386.rpm

rpm -Uvh
ftp://ftp.rackspace.com/pub/Linux/redhat-6.0/i386/RedHat/RPMS/XFree86-3.3.3.
1-49.i386.rpm

rpm -Uvh
ftp://ftp.valinux.com/pub/mirrors/redhat/redhat/old-releases/redhat-6.0/i386
/RedHat/RPMS/XFree86-doc-3.3.3.1-49.i386.rpm

rpm -Uvh
ftp://ftp.valinux.com/pub/mirrors/redhat/redhat/old-releases/redhat-6.0/i386
/RedHat/RPMS/XFree86-VGA16-3.3.3.1-49.i386.rpm

rpm -Uvh
ftp://ftp.valinux.com/pub/mirrors/redhat/redhat/old-releases/redhat-6.0/i386
/RedHat/RPMS/XFree86-SVGA-3.3.3.1-49.i386.rpm

rpm -Uvh
ftp://ftp.valinux.com/pub/mirrors/redhat/redhat/old-releases/redhat-6.0/i386
/RedHat/RPMS/chkfontpath-1.4.1-1.i386.rpm

rpm -Uvh
ftp://ftp.valinux.com/pub/mirrors/redhat/redhat/old-releases/redhat-6.0/i386
/RedHat/RPMS/XFree86-100dpi-fonts-3.3.3.1-49.i386.rpm

rpm -Uvh
ftp://ftp.valinux.com/pub/mirrors/redhat/redhat/old-releases/redhat-6.0/i386
/RedHat/RPMS/XFree86-75dpi-fonts-3.3.3.1-49.i386.rpm



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to