Jean Perriault (GM TAF)
2014-Dec-08 21:45 UTC
[Nut-upsdev] building NUT on Mac OS X Yosemite (website/documentation)
hello, below the result of ./configure + full make output (do you need more?) I've installed python modules, but it didn't help Configuration summary: =====================build serial drivers: yes build USB drivers: yes build SNMP drivers: yes build neon based XML driver: yes enable Avahi support: no build Powerman PDU client driver: no build IPMI driver: no build Mac OS X meta-driver: yes build i2c based drivers: no enable SSL support: yes (OpenSSL) enable libwrap (tcp-wrappers) support: no enable libltdl (Libtool dlopen abstraction) support: no build nut-scanner: no build CGI programs: no build and install documentation: no build and install the development files: no> makeMaking all in protocols make[1]: Nothing to be done for `all'. make[1]: Nothing to be done for `all-am'. cd nut/docs; /Applications/Xcode.app/Contents/Developer/usr/bin/make html-chunked pdf make[1]: Nothing to be done for `html-chunked'. make[1]: Nothing to be done for `pdf'. cd nut/docs/man; /Applications/Xcode.app/Contents/Developer/usr/bin/make html-man make[1]: Nothing to be done for `html-man'. make: *** No rule to make target `-eindex.html', needed by `ups-html.txt'. Stop.> Le 5 d?c. 2014 ? 04:22, hyouko at gmail.com a ?crit : > > 2014-12-05 3:33 GMT+01:00 hyouko at gmail.com <hyouko at gmail.com>: >> 2014-12-04 8:06 GMT+01:00 Jean Perriault (GM TAF) <jpweb.taf at gmail.com>: >>> same issue with gmake (expect that command output and errors are now in >>> French..;) >>> gmake: *** Aucune r?gle pour fabriquer la cible ? -eindex.html ?, >>> n?cessaire pour ? ups-html.txt ?. Arr?t. >> >> tools/nut-hclinfo.py is failing: you need python modules >> json/simplejson and lxml > > ah ops, sorry, I was too quick - I'm half asleep. > Although what I said about nut-hclinfo.py dependencies in my last mail > is true, I'm not so sure this is the problem here: can you post the > whole output?-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20141208/239136cf/attachment.html>
hyouko at gmail.com
2014-Dec-28 21:38 UTC
[Nut-upsdev] building NUT on Mac OS X Yosemite (website/documentation)
Sorry for the delay.>> make > Making all in protocols > make[1]: Nothing to be done for `all'. > make[1]: Nothing to be done for `all-am'. > cd nut/docs; /Applications/Xcode.app/Contents/Developer/usr/bin/make > html-chunked pdf > make[1]: Nothing to be done for `html-chunked'. > make[1]: Nothing to be done for `pdf'. > cd nut/docs/man; /Applications/Xcode.app/Contents/Developer/usr/bin/make > html-man > make[1]: Nothing to be done for `html-man'. > make: *** No rule to make target `-eindex.html', needed by `ups-html.txt'. > Stop.I think the problem is echo (as used in building the MANUFACTURERS var and then some prerequisites) and I am the one to blame: probably your (shell) version of echo doesn't support/need the 'e' option - I didn't think of this when I first wrote the makefile.. shame on me! So, I think this can be solved replacing all the occurrences (3) of 'echo -e' with 'printf' in Makefile.am, see: https://github.com/zykh/nut-website/tree/issue7 Does it solve the problem? Are there other hiccups?
Jean Perriault
2014-Dec-28 22:34 UTC
[Nut-upsdev] building NUT on Mac OS X Yosemite (website/documentation)
Hi Dan, printf did the trick; I can now build nut-website on mac os x, thanks for your time and help> Le 28 d?c. 2014 ? 22:38, hyouko at gmail.com a ?crit : > > Sorry for the delay. > >>> make >> Making all in protocols >> make[1]: Nothing to be done for `all'. >> make[1]: Nothing to be done for `all-am'. >> cd nut/docs; /Applications/Xcode.app/Contents/Developer/usr/bin/make >> html-chunked pdf >> make[1]: Nothing to be done for `html-chunked'. >> make[1]: Nothing to be done for `pdf'. >> cd nut/docs/man; /Applications/Xcode.app/Contents/Developer/usr/bin/make >> html-man >> make[1]: Nothing to be done for `html-man'. >> make: *** No rule to make target `-eindex.html', needed by `ups-html.txt'. >> Stop. > > I think the problem is echo (as used in building the MANUFACTURERS var > and then some prerequisites) and I am the one to blame: probably your > (shell) version of echo doesn't support/need the 'e' option - I didn't > think of this when I first wrote the makefile.. shame on me! > So, I think this can be solved replacing all the occurrences (3) of > 'echo -e' with 'printf' in Makefile.am, see: > https://github.com/zykh/nut-website/tree/issue7 > Does it solve the problem? Are there other hiccups?
Charles Lepple
2014-Dec-29 01:29 UTC
[Nut-upsdev] building NUT on Mac OS X Yosemite (website/documentation)
On Dec 28, 2014, at 4:38 PM, hyouko at gmail.com wrote:> So, I think this can be solved replacing all the occurrences (3) of > 'echo -e' with 'printf' in Makefile.am, see: > https://github.com/zykh/nut-website/tree/issue7 > Does it solve the problem? Are there other hiccups?As expected, printf works for me on OS X 10.9 (Mavericks) as well. The only thing we need to watch out for is when the parameters to printf have '%' embedded in them. Probably not a problem for the DDL, since '%' has special meaning in URLs, but using 'printf %s' should avoid problems down the road. Thanks, - Charles Lepple