You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Wim Kerkhoff <wi...@merilus.com> on 2002/03/15 07:54:51 UTC

Compiling Embperl-2.0b6 using Debian's xalan

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: wim@merilus.com

Re: Compiling Embperl-2.0b6 using Debian's xalan

Posted by Gerald Richter <ri...@ecos.de>.
> 
> Good. This XML/XSLT stuff is starting to make sense to me, but does
> anybody have links to good resources on it?

xml.com has a lot of resources, introductions and more advanced articles.

Gerald

-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: Compiling Embperl-2.0b6 using Debian's xalan

Posted by Wim Kerkhoff <wi...@merilus.com>.
Gerald Richter wrote:
> 
> > 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.
> >
> 
> If the tests succeed it will work :-)

Good. This XML/XSLT stuff is starting to make sense to me, but does
anybody have links to good resources on it? It sounds very powerful and
all, but I'm still a little lost. I started experimenting, using the
examples and tests, but need a little more...

-- 

Regards,

Wim Kerkhoff, Software Engineer
Merilus, Inc.  -|- http://www.merilus.com
Email: wim@merilus.com

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: Compiling Embperl-2.0b6 using Debian's xalan

Posted by Gerald Richter <ri...@ecos.de>.

> Currently Embperl 2.0 Beta 6 requires xalan to be compiled from sources.

I downloaded the binary for Linux and use it. I never have compiled it on
Linux (I have compiled it on solaris because there was no binary for the
sun-cc I had to use)

> xalan is not only a big download, but also takes a long time to compile.
>

Yes, it a big download

> 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.
>

If the tests succeed it will work :-)


Thanks for the patch. It's a good idea to check for preinstalled xalan
binaries

Gerald


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: Compiling Embperl-2.0b6 using Debian's xalan

Posted by Gerald Richter <ri...@ecos.de>.
>
> The point is for those systems that don't have the library in /usr/lib.
> For example, some system could have it under /opt/SUNWxalan/lib or some
> such.  We'd probably also want to do something with the include file,
> because in my example above, it's likely in /opt/SUNWxalan/include.
>

Yes, I totaly agree. My point was, that if I am not totaly wrong, MakeMaker
(which is used by Makefile.PL) already is able to determinate all these
location where to search for libs and include file and it would be the best
to use it's knowlegde, because this should work crossplattform

Gerald


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: Compiling Embperl-2.0b6 using Debian's xalan

Posted by Ed Grimm <ed...@asgard.rsc.raytheon.com>.
On Fri, 15 Mar 2002, Gerald Richter wrote:

>> 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.
>
> At least on my system the dynamic linker if configured via /etc/ld.so.conf
> and LD_LIBRARY_PATH contains only addtionaly directories, so the libraries
> wouldn't be found that way, but the basic idea make sense. MakeMaker somehow
> knows the library search path (and include search path) already, I guess we
> can utilize it, but I don't know how. Maybe somebody likes to explore the
> unlimited possibilities of MakeMaker for that purpose...

The point is for those systems that don't have the library in /usr/lib.
For example, some system could have it under /opt/SUNWxalan/lib or some
such.  We'd probably also want to do something with the include file,
because in my example above, it's likely in /opt/SUNWxalan/include.

Ed



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: Compiling Embperl-2.0b6 using Debian's xalan

Posted by Gerald Richter <ri...@ecos.de>.
> 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.
>

At least on my system the dynamic linker if configured via /etc/ld.so.conf
and LD_LIBRARY_PATH contains only addtionaly directories, so the libraries
wouldn't be found that way, but the basic idea make sense. MakeMaker somehow
knows the library search path (and include search path) already, I guess we
can utilize it, but I don't know how. Maybe somebody likes to explore the
unlimited possibilities of MakeMaker for that purpose...

Gerald


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: Compiling Embperl-2.0b6 using Debian's xalan

Posted by Ed Grimm <ed...@asgard.rsc.raytheon.com>.
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: wim@merilus.com



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org