This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#6919 - Manual does not build on ubuntu
Attached to Project:
Rockbox
Opened by Martin Arver (tucoz) - Wednesday, 28 March 2007, 11:01 GMT+2
Last edited by Dominik Riebeling (bluebrother) - Thursday, 21 June 2007, 17:36 GMT+2
Opened by Martin Arver (tucoz) - Wednesday, 28 March 2007, 11:01 GMT+2
Last edited by Dominik Riebeling (bluebrother) - Thursday, 21 June 2007, 17:36 GMT+2
|
DetailsThe manual does not build on Ubuntu, due to the fact that a standard ubuntu install points /bin/sh to /bin/dash as opposed to /bin/bash. The Makefile expects bash's echo which is different than dash's echo.
A possibly solution suggested by linuxstb is to use perl instead of echo, and by that not depend on what shell you use. |
This task depends upon
Closed by Dominik Riebeling (bluebrother)
Thursday, 21 June 2007, 17:36 GMT+2
Reason for closing: Fixed
Additional comments about closing: thanks for pointing me to printf :)
Thursday, 21 June 2007, 17:36 GMT+2
Reason for closing: Fixed
Additional comments about closing: thanks for pointing me to printf :)
Quick fix by using perl. It's a bit hackish because perl gets called three times.
Here's an alternative patch - using printf instead of Perl. printf is built into bash, and can optionally be built into dash. Otherwise the external command will be used (which seems to be present everywhere).