Brad Fitzpatrick (brad) wrote in fotobilder,
Brad Fitzpatrick
brad
fotobilder

Windows

I never did get around to playing with FotoBilder server on Windows, but I did include Mart's work-around in the source.

If you're on Windows, put:

$FB::WINHACK_GPICAPPEND = 1;

in your etc/fbconfig.pl and let me know if it works. Looks like you'll need to make an $FB::HOME/tmp directory first that's writable by the webserver.

Mart --- what does POSIX::tmpname return on Windows? Isn't it a full path? How can you just append that to $FB::HOME/tmp without making a bunch of directories first? Can't you just do what jredburn suggested and prefix the single argument version of Write to use "jpeg:" or "gif:" to whatever POSIX::tmpname returns?

In any case, the code still works on Unix.

Unless I hear support for $WINHACK_GPICAPPEND it'll be removed. If it does work, though, then we should document it somewhere. (Somebody want to write a quick guide to running the server on Windows?)
Subscribe

  • 302: lj_dev

    In the interests of consolidating all FotoBilder development-related discussion, we're going to be closing down this community. The same…

  • Development stalled?

    Is the development of Fotobilder held? Stalled? I am asking because there is no activity on the community and there is no link to the Fotobilder…

  • (no subject)

    Does FotoBilder works with Apache2? I installed all the required modules on my debian sarge, and when I restart my apache server, it dies horribly…

  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic
  • 3 comments