Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
xgawk
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
steph  
View profile  
 More options Mar 7 2012, 3:48 pm
Newsgroups: comp.lang.awk
From: steph <st...@home.fr>
Date: Wed, 07 Mar 2012 21:48:22 +0100
Local: Wed, Mar 7 2012 3:48 pm
Subject: xgawk
Hi there,

I tried out to use xgawk to process some xml files but failed on quite
explicit, but not easy to solve,error:

$ xgawk -l xml s.awk f.xml
xgawk: fatal: extension: cannot find dynamic library `xml'

I browsed the web a bit. Sometime it is said to use xml2 lib, sometime
to use expat.
I've tried to rebuild xgawk with those library (one after the other).
Both are in my /usr/lib folder. But it does not change anything.

Does someone has an howto use xgawk, from scratch ?

Thanks a lot


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eric Pement  
View profile  
 More options Mar 7 2012, 11:05 pm
Newsgroups: comp.lang.awk
From: Eric Pement <eric.pem...@gmail.com>
Date: Wed, 7 Mar 2012 20:05:00 -0800 (PST)
Subject: Re: xgawk
On Mar 7, 2:48 pm, steph <st...@home.fr> wrote:

> Hi there,

> I tried out to use xgawk to process some xml files but failed on quite
> explicit, but not easy to solve,error:

> $ xgawk -l xml s.awk f.xml
> xgawk: fatal: extension: cannot find dynamic library `xml'

This page (http://www.wim-blit.nl/xmlgawk/XMLgawk%20for
%20Windows.html) says:

   "* xml.dll needs to be in the current directory or in a directory
which is in AWKLIBPATH or in a directory defined in deflibpath. On my
system it is in c:\Programs\MinGW\lib\awk."

As I read this document, it means if the environment variable
AWKLIBPATH does not exist, create it manually. Point it to a
directory, and put xml.dll in that directory. Environment variables
can be created in Control Panel > System > Advanced > Environment
Variables, or they can be defined in a batch file which runs an
instance of CMD.EXE. HTH.

Eric


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hermann Peifer  
View profile  
 More options Mar 8 2012, 5:22 am
Newsgroups: comp.lang.awk
From: Hermann Peifer <pei...@gmx.eu>
Date: Thu, 08 Mar 2012 11:22:23 +0100
Local: Thurs, Mar 8 2012 5:22 am
Subject: Re: xgawk
On 07/03/2012 21:48, steph wrote:

> I browsed the web a bit. Sometime it is said to use xml2 lib, sometime
> to use expat.
> I've tried to rebuild xgawk with those library (one after the other).
> Both are in my /usr/lib folder. But it does not change anything.

> Does someone has an howto use xgawk, from scratch ?

I assume that while browsing the web a bit, you found [1] ?

In my installation, xgawk -l xml does this:
access("/home/peifer/local/lib/xgawk/3.1.6/xml.so", R_OK) = 0

Please note that with xgawk, you are back to gawk 3.1.6. I would also
say that there isn't an enormous xgawk user community out there, which
could help you, in case of questions. You could perhaps use [2] as some
indication for the size of the xgawk user community.

Hermann

[1] http://home.vrweb.de/~juergen.kahrs/gawk/XML/

[2] http://sourceforge.net/mailarchive/forum.php?forum_name=xmlgawk-users


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
steph  
View profile  
 More options Mar 8 2012, 2:18 pm
Newsgroups: comp.lang.awk
From: steph <st...@home.fr>
Date: Thu, 08 Mar 2012 20:18:55 +0100
Local: Thurs, Mar 8 2012 2:18 pm
Subject: Re: xgawk
On 08/03/2012 05:05, Eric Pement wrote:

I'm under Linux.
Anyway, I tried to set AWKLIBPATH to my libs folder, where libxml2 resides.
But it does not change anything.
Thanks for you help.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
steph  
View profile  
 More options Mar 8 2012, 2:23 pm
Newsgroups: comp.lang.awk
From: steph <st...@home.fr>
Date: Thu, 08 Mar 2012 20:23:00 +0100
Subject: Re: xgawk
On 08/03/2012 11:22, Hermann Peifer wrote:

I'm trying to use xml2 library, as stated in some forum.
I may be wrong.
Where do I find the xml library required by xgawk ?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hermann Peifer  
View profile  
 More options Mar 8 2012, 3:17 pm
Newsgroups: comp.lang.awk
From: Hermann Peifer <pei...@gmx.eu>
Date: Thu, 08 Mar 2012 21:17:07 +0100
Local: Thurs, Mar 8 2012 3:17 pm
Subject: Re: xgawk
On 08/03/2012 20:23, steph wrote:

> Where do I find the xml library required by xgawk ?

I can't remember any details, but don't think that at the time, I did
much more than downloading the source code from [1], then run:
./configure && make && make install

Hermann

[1] http://sourceforge.net/projects/xmlgawk/files/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Radoulov, Dimitre  
View profile  
 More options Mar 9 2012, 6:34 pm
Newsgroups: comp.lang.awk
From: "Radoulov, Dimitre" <cichomit...@gmail.com>
Date: Sat, 10 Mar 2012 00:34:23 +0100
Local: Fri, Mar 9 2012 6:34 pm
Subject: Re: xgawk
On 07/03/2012 21:48, steph wrote:

> Hi there,

> I tried out to use xgawk to process some xml files but failed on quite
> explicit, but not easy to solve,error:

> $ xgawk -l xml s.awk f.xml
> xgawk: fatal: extension: cannot find dynamic library `xml'

> I browsed the web a bit. Sometime it is said to use xml2 lib, sometime
> to use expat.
> I've tried to rebuild xgawk with those library (one after the other).
> Both are in my /usr/lib folder. But it does not change anything.

> Does someone has an howto use xgawk, from scratch ?

This one worked for me:

./configure --disable-shared --enable-static-extensions
...

Best regards
Dimitre


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aharon Robbins  
View profile  
 More options Mar 14 2012, 3:06 am
Newsgroups: comp.lang.awk
From: arn...@skeeve.com (Aharon Robbins)
Date: Wed, 14 Mar 2012 07:06:48 +0000 (UTC)
Local: Wed, Mar 14 2012 3:06 am
Subject: Re: xgawk
In article <jja190$v1...@news.albasani.net>,
Hermann Peifer  <pei...@gmx.eu> wrote:

>On 07/03/2012 21:48, steph wrote:
>Please note that with xgawk, you are back to gawk 3.1.6.

The gawk developers would love to have someone help out with merging
xgawk features into the gawk mainline code. While two of the original
xgawk developers are involved already, they're both busy and have not
had a lot of time to actively work on this.

Thanks,

Arnold
--
Aharon (Arnold) Robbins                         arnold AT skeeve DOT com
P.O. Box 354            Home Phone: +972  8 979-0381
Nof Ayalon              Cell Phone: +972 50 729-7545
D.N. Shimshon 99785     ISRAEL


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »