What about checking LD_LIBRARY_PATH, if it's not set, setting it to
'/lib:/usr/lib', and then in either case searching LD_LIBRARY_PATH for
it?  This is a bit more work, but also more general - it's no longer
Linux-specific, and it can be used for other things that may exist
elsewhere.  In fact, the code probably exists already somewhere.

This is more a request for comment than request for code, as I can get
the code if there's agreement that it's a good idea (not that I have it
on hand, if someone else wished to produce it, they should feel free.)

Ed

On Thu, 14 Mar 2002, Wim Kerkhoff wrote:

> Currently Embperl 2.0 Beta 6 requires xalan to be compiled from sources.
> xalan is not only a big download, but also takes a long time to compile.
> 
> I've modified driver/epxalan.MAKEPL, so that it will check to see if
> xalan is already installed in /usr. On my Debian 3.0 system, after
> running 'apt-get install libxalan1.2-dev', the library is at
> /usr/lib/libxalan-c.so.1.2 and the headers are in /usr/include/xalan.
> These are the standard locations.
> 
> With this patch, Embperl with XALAN support compiles, tests, and
> installs fine for me. Wether it works or not, I have no idea; I'm just
> beginning to expirement with Embperl2 + XML.
> 
> Theortically this should work on any Linux like system. 
> 
> -- 
> 
> Regards,
> 
> Wim Kerkhoff, Software Engineer
> Merilus, Inc.  -|- http://www.merilus.com
> Email: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to