Re: Using AAP for dependency checking (and possibly resolution) on a non-complied program
Bram Moolenaar <[email protected]> Wed, 08 Mar 2006 12:15:22 +0100
| Newsgroups | gmane.comp.tools.aap.user |
|---|---|
| Message-ID | <[email protected]> |
Gareth Anderson wrote: > I'm wishing to use AAP or a similar system to assist me in configuring > a complex shell script(s). >=20 > I've looked at autoconf and it looked very confusing, so I started > looking into AAP and it seems better than some of the other similar > systems for what I want to do (I think). If anyone has other > recommendations for what I am trying to do please tell me. >=20 > My main quesion would be, is there an easy way to check that particular > libraries/programs are installed and of particular versions? >=20 > If you look here: http://karakas-online.de/mySGML/ you will see what I > am referring to. There's more files than listed there and some of them > require particular verisons. >=20 > Simplifying the program cannot be done, its not a program in itself > but a bunch of scripts written by Chris Karakas that tie together > various systems that go from Docbook SGML to PDF/TXT/RTF/HTML output > at the press of a button (well thats the idea :)). The problem is the > complexity is making everything work together nicely and getting the > scripts setup and installed (which is what I'm working on). >=20 > I noticed that the Vi example recipe mentioned a depends: > http://www.a-a-p.org/examples.html > "DEPENDS =3D gtk>=3D1.2<2.0 | motif>=3D1.2 # GTK 2.0 doesn't work yet" If you are willing to write Python and improve this part of Aap then=20 it will be a good starting point. Otherwise I would recommend not using the "port recipe". I implemented this once when I was looking into using this for BSD, but have not worked on it since then. There are a few parts that are not implemented. Some parts may not work properly, there has hardly been any serious testing. --=20 Ed's Radiator Shop: The Best Place in Town to Take a Leak. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \= \\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ = \\\ \\\ download, build and distribute -- http://www.A-A-P.org = /// \\\ help me help AIDS victims -- http://www.ICCF.nl /= // ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting langua= ge that extends applications into web and mobile media. Attend the live webc= ast and join the prime developer group breaking into this new coding territor= y! http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=3D= 121642