[cw-discuss] cxmessage: not found error when trying to install CX 6.2

Francois Gouget fgouget at codeweavers.com
Wed Oct 10 16:35:36 CDT 2007


Hi Brian,

Brian C wrote:
> 
> I am trying to install the trial of CX 6.2.  I already had CX 6.1 
> installed. I always do a clean install instead of an upgrade.  So I 
> deleted the ~/.cxoffice and /opt/cxoffice folders,

This is the wrong way to uninstall CrossOver Office. When you did the 
above, you left the ~/.loki directory so that CrossOver now thinks it is 
already installed. You also left all the systen-wide menus, associations 
and plugins behind.

The proper way to uninstall CrossOver is to use 
/opt/cxoffice/bin/cxuninstall or the corresponding menu, which will 
automatically do the right thing depending on how you installed 
CrossOver (Loki installer, Debian package, or RPM). If you used a Debian 
package or an RPM, then going through the corresponding manager works 
too of course.


 > and then ran the
> install script.  The installation fails with the message " 
> setup.data/preinstall.sh: 190: /opt/cxoffice/bin/cxmessage: not found"

Because CrossOver has not been completely uninstalled, it is now trying 
to warn you that you are trying to overwrite your regular CrossOver 
installation with a trial version that comes with a tine limitation. 
That said the code should not assume that it can use the cxmessage of 
the existing installation. I will fix that for the next release.


> I then tried to run the script as root but got a message saying "The 
> '/home/user1' directory does not belong to you.
> Point $HOME to your home directory and try again."

Yes, this is because the Loki installer uses the $HOME/.loki directory, 
which is no good if $HOME points not to root's home directory, but to a 
poor innocent user's. Usually the solution is to either log in directly 
as root, or use 'su -' or 'sudo -H'. I modified our error messages to 
include the above suggestions but apparently I missed this one. I will 
also update it for the next release.

Thanks for your reports. I hope this will help,

Regards,

-- 
Francois Gouget
fgouget at codeweavers.com




More information about the discuss mailing list