Re: Building Kannel Docs on Mac OSX Leopard
"Alejandro Guerrieri" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Andreas, Thanks for the follow-up. I've solved the .dsl problem by patching configure.in to look into /opt/local and running autoconf again. I'm still having problems with jade, which is not available as a MacPort and doesn't seem to build on Leopard when compiled from source. I'm looking into it right now (I'm not sure if it can be completely replaced with jadetex or any other solution), will post a complete solution if I find one. Regards, Alejandro On Thu, Sep 18, 2008 at 3:35 AM, Andreas Fink <[email protected]> wrote: > Hi Alejandro, > > You probably should simply indicate the "alternative" location of docbook > under /opt instead of /usr/share or /usr/local/share as the Linux and Unix > world would expect. "Ports" and "Fink" put the stuff elsewhere. And those > types of problems are exactly the reason why I don't use them and rather go > and compile the stuff for /usr/local. I also sometimes had issues if you > compile comerical software that you out of a sudden end up with dependencies > you don't want (like linking libz to /opt even there's one coming with the > system). > > docbook is not my preferred tool, so I have never installed that one from > source and I never build kannel's doc but leave the buildboot do it. Or have > a virtual machine under Linux do it... > > > > On 18.09.2008, at 08:21, Alejandro Guerrieri wrote: > > Hi, >> >> In order to preview what I'm writing for the meta-data patch, I've tried >> compiling Kannel with --enable-docs, but can't get ./configure to detect the >> .dsl files. >> >> I've installed all relevant packages I've found on MacPorts (including >> openjade, docbook-dsssl, and all docbook* and tex* I could find), but Kannel >> it's still missing the .dsl files. >> >> Here's the ./configure output: >> >> Configuring DocBook support ... >> checking for jade... no >> checking for jadetex... jadetex >> checking for pdfjadetex... pdfjadetex >> checking for dvips... dvips >> checking for fig2dev... fig2dev >> checking for convert... /opt/local/bin/convert >> checking for >> /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl... no >> checking for /usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl... >> no >> checking for >> /usr/share/sgml/docbook/dsssl-stylesheets-1.*/html/docbook.dsl... no >> checking for /usr/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl... >> no >> checking for >> /usr/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl... no >> checking for /usr/share/sgml/docbook/dsssl/modular/html/docbook.dsl... no >> checking for >> /usr/local/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl... no >> checking for >> /usr/local/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl... no >> checking for >> /usr/local/share/sgml/docbook/dsssl-stylesheets-1.*/html/docbook.dsl... no >> checking for >> /usr/local/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl... no >> checking for >> /usr/local/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl... >> no >> checking for >> /usr/local/share/sgml/docbook/dsssl/modular/html/docbook.dsl... no >> checking for >> /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl... no >> checking for /usr/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl... >> no >> checking for >> /usr/share/sgml/docbook/dsssl-stylesheets-1.*/print/docbook.dsl... no >> checking for >> /usr/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl... no >> checking for >> /usr/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl... no >> checking for /usr/share/sgml/docbook/dsssl/modular/print/docbook.dsl... no >> checking for >> /usr/local/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl... no >> checking for >> /usr/local/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl... no >> checking for >> /usr/local/share/sgml/docbook/dsssl-stylesheets-1.*/print/docbook.dsl... no >> checking for >> /usr/local/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl... no >> checking for >> /usr/local/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl... >> no >> checking for >> /usr/local/share/sgml/docbook/dsssl/modular/print/docbook.dsl... no >> Not building documentation. >> >> I'm completely clueless about where to get all those files (or I only need >> to provide one of them?). >> >> I've found docbook.dsl on this two places: >> >> /opt/local/share/dsssl/docbook-dsssl/html/docbook.dsl >> /opt/local/share/dsssl/docbook-dsssl/print/docbook.dsl >> >> Maybe I should make a symlink to one of the serched places, or change the >> ./configure script to look into /opt/local as well? >> >> I have Leopard and MacPorts both updated to the latest version available. >> >> Any leads would be more than welcome :) >> >> Alejandro >> >> >