LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Need Antlr 2.x or higher (http://www.linuxquestions.org/questions/slackware-14/need-antlr-2-x-or-higher-4175444640/)

marbangens 01-08-2013 08:06 AM

Need Antlr 2.x or higher
 
I am building kwave and kwave need po2xml.
The po2xml tool should be in the kdesdk but its not there.
I have kde 4.9.5 from ktown (http://alien.slackbook.org/ktown/source/4.9.5/).
when I run "cmake" on top of the kdesdk sorce tree I get
Code:

cmake .
(In the end) ↓
Code:

-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
  * Antlr (2.x or higher)  <http://www.antlr2.org/>
    Language tool for constructing recognizers, compilers, etc
    Used for the po2xml and swappo tools.

and can't find a slackbuild for antlr.
Antlr seem to a advance software so I'm taking it easy. I mean don' feel like experiment on my own. I also wonder why there is no slackbuild. Tried google. I need help...

knudfl 01-09-2013 06:18 AM

'po2xml' tends not to be included in kdesdk packages.
Suggest : Plug out a 'po2xml' from a random version of a "poxml package".
Example that works with kdesdk-4.9.x http://packages.debian.org/wheezy/poxml
> amd64 or i386 : Unpack, and # cp po2xml /usr/bin/
*** Works OK with 'kwave-0.8.9'.

Note 1 : antlr.Slackbuild is the first hit with Google : antlr.Slackbuild
http://ftp.cc.uoc.gr/mirrors/linux/v...tlr.SlackBuild
Depends http://www.stabellini.net/requiredbuilder.html
A usable source http://ftp.de.debian.org/debian/pool....7.orig.tar.gz
> antlr_2.7.7.orig.tar.gz
Ref. http://packages.debian.org/squeeze/antlr

Note 2 : Running 'cmake .' in the top directory is not correct.
Default is : cd kwave-0.8.9/ && mkdir build && cd build/ && cmake .. && make


-


All times are GMT -5. The time now is 11:09 AM.