PlaneShift

Support => Linux Specific Issues => Topic started by: Leeloo on August 06, 2005, 09:40:58 am

Title: Dialog check doesn't work
Post by: Leeloo on August 06, 2005, 09:40:58 am
kfr:planeshift$ sh /home/src/download/PlaneShift_CBV0.3.011.linux.x86-UPDATE.run
Creating directory ps.cb.03.011.linux.x86.update
Verifying archive integrity... All good.
Uncompressing Update For Planeshift Crystal Blue Version 3.011..
Checking if dialog program is installed...
Dialog program, which is required to use this software, cannot be found.
Please install this program before continuing Planeshift installation.
You may obtain it from your distribution FTP or install disk.
kfr:planeshift$ dialog          

dialog version 0.62.
Display dialog boxes from shell scripts *

Usage: dialog --clear
       dialog --create-rc
       dialog [--title ] [--separate-output] [--backtitle <backtitle>] [--clear] <Box options><br /><br />Box options:<br /><br />  --yesno     <text> <height> <width><br />  --msgbox    <text> <height> <width><br />  --infobox   <text> <height> <width><br />  --inputbox  <text> <height> <width> [<init>]<br />  --textbox   <file> <height> <width><br />  --menu      <text> <height> <width> <menu height> <tag1> <item1>...<br />  --checklist <text> <height> <width> <list height> <tag1> <item1> <status1>...<br />  --radiolist <text> <height> <width> <list height> <tag1> <item1> <status1>...<br />  --gauge     <text> <height> <width> <percent><br />kfr:planeshift$<br /><br />Looking a bit at the install script, it looks like the reason is that you are checking for exit status 0, but running dialog without parameters gives 255.<br /><br />Update: removing the dialog check didn\'t help, the script tries to use parameters that dialog never heard about (--exit-label) and dialog boxes larger than the terminal.<br /><br />Update: Got the installer running by removing --exit-label, setting the size to 80x24 and changing another check for 0 to 255. And now that it\'s installed (along with a couple of weird libraries it suddenly depends on, libmng and liblcms), it just dies after radiooff and radioon, just like \"The Doctor\". </dd> <dt class="postheader"> Title: <strong></strong><br /> Post by: <strong>Platyna</strong> on <strong>August 06, 2005, 01:45:10 pm</strong> </dt> <dd class="postbody"> Hmz, good to know...anyway weird, I have tested dialog check on my machine<br />and it seemed to work. Anyway I will take a look on it today.<br />--exit-label is not listed in the manual, anyway my version: 0.9b-20031207<br />seems to underestand it well. I changed exit button label because some<br />people were bothered with that Exit button and yesno window not supports<br />scrolling throught the file...<br /><br /><br />Regards. </dd> <dt class="postheader"> Title: <strong></strong><br /> Post by: <strong>Leeloo</strong> on <strong>August 06, 2005, 03:18:31 pm</strong> </dt> <dd class="postbody"> I have version 0.62 - maybe it\'s time to upgrade, if I could just figure out their version numbering.<br /><br />But the terminal size one is stupid IMHO, the installer shouldn\'t expect anything bigger than the standard 80x24. </dd> <dt class="postheader"> Title: <strong></strong><br /> Post by: <strong>Platyna</strong> on <strong>August 06, 2005, 07:13:06 pm</strong> </dt> <dd class="postbody"> Hmz. Running dialog without arguments obviously gives exit code 0 here but<br />on a second machine it indeed gives 255...<br /><br /><br />Regards. </dd> </dl> <div id="footer" class="smalltext"> <span class="smalltext" style="display: inline; visibility: visible; font-family: Verdana, Arial, sans-serif;"><a href="https://www.hydlaaplaza.com/PlaneShift/smf/index.php?action=credits" title="Simple Machines Forum" target="_blank" class="new_win">SMF 2.0.19</a> | <a href="https://www.simplemachines.org/about/smf/license.php" title="License" target="_blank" class="new_win">SMF © 2021</a>, <a href="https://www.simplemachines.org" title="Simple Machines" target="_blank" class="new_win">Simple Machines</a> </span> </div> </body> </html>