From: <no...@so...> - 2002-03-10 04:07:57
|
Bugs item #469572, was opened at 2001-10-09 11:43 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=109028&aid=469572&group_id=9028 Category: Linux ports >Group: Fixed v1.0 >Status: Closed Resolution: None Priority: 5 Submitted By: java designer (javadesigner) >Assigned to: Mark ODonohue (skywalker) Summary: 1.0/Beta 2: inst.script broken for Linux Initial Comment: Hi: The install scripts (install.sh, and scripts/CS*.sh) are broken. 1) The have the /opt/... path hardcoded. This directory is not part of the linux standard filesystem and many distributions (including slackware 8.0) don't create /opt. Won't it be better to simply ask the user for the install root directory - which you should be doing even if /opt existed ? 2) One of the scripts has '/usr/bin/mkpasswd' harcoded. That command is under /usr/sbin/ in linux. Why not just use 'mkpasswd', since we are installing under root, we get both /usr/bin and /usr/sbin, so you don't have to hardcode either. Numerous other script cleanups are needed. Even after fixing the above, I could not successfully install on my linux box. It craps out here: ------------------------------------- Please enter new password for SYSDBA user: masterkey operating system directive open failed No such file or directory can't format message 18:15 -- message file /opt/interbase/interbase.msg not found Install completed ----------------------------------- Note the error. There is also no way to uninstall this package. Shouldn't install.sh take a remove option ? Best regards, jav...@ya... ---------------------------------------------------------------------- >Comment By: Sean Leyne (seanleyne) Date: 2002-03-09 23:07 Message: Logged In: YES user_id=71163 Mark reports that this issue has been closed for a while now. ---------------------------------------------------------------------- Comment By: java designer (javadesigner) Date: 2001-10-09 18:43 Message: Logged In: YES user_id=345092 Hmm. Well the FBClassic1.0B2 installed fine. But then I uninstalled it manually and then tried to install FBSS1.0B2 and the install scripts are failing again, even though I have a /opt directory. This is because slackware (what I am running), uses the simpler, saner BSD type startup with all startup files in /etc/rc.d and *no* /etc/rc.d/init.d directory. However, the install scripts for super server (not classic !) try to cd to /etc/rc.d/init.d even on scripts that are for generic linux (not rpm's for redhat). Best regards, javadesigner ---------------------------------------------------------------------- Comment By: java designer (javadesigner) Date: 2001-10-09 13:30 Message: Logged In: YES user_id=345092 Thanks for the clarification. >/opt is hardcoded into the "binary files" for fb1.0. >Ask Borland why, I assume it's becuase thats how Solaris You gotta be kidding me, ;-) >The 'error' comes from the server program not the install >script. There are some environment variables you can set to >remove your error, but I'd suggest go with the flow for now >use /opt. Hmm. I was having install problems with the Borland Linux Eval version too. (although that was an rpm related bug I think). In any case, I did what you suggested (created an /opt directory) and the fb1.0b2 install process worked great. Lastly, I don't have the sh/bash depth to write an uninstall script. But I'll certainly be looking over at the JDBC driver code now and then, and make any suggestions I can think of. Best regards, javadesigner P.S: BTW, the firebird 1.0Beta2 really shines on Windows 2000, very nice installer and IBConsole. Well done! ---------------------------------------------------------------------- Comment By: Mark ODonohue (skywalker) Date: 2001-10-09 12:12 Message: Logged In: YES user_id=57768 Dear Javadesigner, A few points :-). /opt is hardcoded into the "binary files" for fb1.0. Ask Borland why, I assume it's becuase thats how Solaris does it. You can fiddle a bit and hack an alternative, but you still need /opt. So best thing is bite the bullet, and for v 1.0 install in /opt or put a link from /opt to wherever you install it. In fb2.0 the install directory is configurable basically as you are asking via /etc/firebird.conf file - so in the future you may be happier. mkpasswd is hardcoded as /usr/bin/mkpasswd and it only runs it if the file exists, since it is not installed on all linux distributions. /etc/sbin/mkpasswrd does something entirely different and running it is an error. mkpasswd (1) - generate new password, optionally apply it to a user mkpasswd (8) - Update passwd and group database files The 'error' comes from the server program not the install script. There are some environment variables you can set to remove your error, but I'd suggest go with the flow for now use /opt. Uninstall is available for the rpm packages, there is an uninstall script (see subdirectory in install) which does post uninstall, if you write one that removes all the files copied in the scripts/install.sh file I'll happily include it (it's fairly easy if you want to try). I suspect the 'numerous other script cleanups' that are needed will also be explainable. Cheers Mark ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=109028&aid=469572&group_id=9028 |