Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | installation program hardcoded to use /tmp | ||
---|---|---|---|
Product: | Installation | Reporter: | Unknown <non-migrated> |
Component: | ui | Assignee: | bettina.haberer |
Status: | CLOSED WONT_FIX | QA Contact: | issues@installation <issues> |
Severity: | Trivial | ||
Priority: | P4 | CC: | flibby05, issues, khendricks |
Version: | OOo 1.1 Beta | Keywords: | rfe_eval_ok |
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux, all | ||
Issue Type: | ENHANCEMENT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
Unknown
2003-03-31 17:00:04 UTC
On my Mandrake box OOo 1.1 writes its temp files to /<user_home>/tmp when I start ./setup. So the setup script is looking for the system settings. Kevin, Can you give a hint what's to do or should the community be asked? Hi, I have no idea here. The "install" script only uses /tmp to create a very small response file and it could be changed to use an environment variable but those 20 or so bytes are not what is causing his problem. I believe that the setup binary (which is invoked by the "install" script) would have to be changed to use some other /tmp directory location since it is the thing that unpacks the files to run the full installer. But I am not sure how that is done. You would have to ask the installation project people to be sure how the /tmp directory is determined. The temporary solution is to use symlinks to move /tmp to some volume with more space on it until setup2 is modified to handle TEMPDIR in some way. Changing assignment back to issues@installation Here is the snippet of the "install script" that makes use of /tmp but like I said, those 20 or so bytes are not the issue. Thanks, Kevin TMPFILE=`mktemp -q /tmp/$0.XXXXXX` if [ $? -ne 0 ]; then echo "$0: Can't create temp file, exiting..." exit 1 fi cat << EOF >> ${TMPFILE} [ENVIRONMENT] INSTALLATIONMODE=$installtype INSTALLATIONTYPE=STANDARD DESTINATIONPATH=$prefix/$oo_home OUTERPATH= LOGFILE= LANGUAGELIST=<LANGUAGE> [JAVA] JavaSupport=preinstalled_or_none EOF You are absolutely right. I had tried hardcoding the script to use /var/tmp and that did not fix the problem that I was having. The app itself is hardcoded to use /tmp which is a bit annoying at the least. Should I report this bug elsewhere for the installation team to take a look at it ? Regards, Shri Hi Shriram, OOo is not hardcoded to /tmp, OOo uses what is defined in the systemsettings. In your case it is /tmp. There is no setup switch to use another tmp directory. Please try the workaround with the symlink. I forward this as 'wish to enhance'. BTW: Kevin, The comment that you've written here misses some linebreaks. Only when I switch to resolution 3072 X 1024 I can read the lines without scrolling :-)) I changed the issue type to enhancement. Starting with OpenOffice 2.0 the installation will use the systems "native" package mechanism (i.e. currently Linux RPM, Solaris PKG, and Windows MSI). Wether these installer provide support for changing the tmp directory is not controlled by OpenOffice.org in any way. There is no need and no way to fix this issue in OpenOffice.org ok, we have 2.0 rc3 now, closing this issue as obsolete . |