CrossOver Support

Bottle creation fails with "Files.pm" Message


This bug was resolved in Crossover Mac 13.x


If you attempt to create a bottle in Crossover and it fails with an error message something like this:

Bottle creation failed
Can't locate Mac/Files.pm in @INC (@INC contains: /Applications/CrossOver.app/Contents/SharedSupport/CrossOver/lib/perl /Library/Perl/Updates/5.10.0 /System/Library/Perl/5.10.0/darwin-thread-multi-2level /System/Library/Perl/5.10.0 /Library/Perl/5.10.0/darwin-thread-multi-2level /Library/Perl/5.10.0 /Network/Library/Perl/5.10.0/darwin-thread-multi-2level /Network/Library/Perl/5.10.0 /Network/Library/Perl .) at /Applications/CrossOver.app/Contents/SharedSupport/CrossOver/lib/perl/CXBottle.pm line 59.

This indicates that your system is missing some key files in the Perl libraries.

This can usually be solved by creating a new, empty plain text* file, and entering in the first line:

/System/Library/Perl/Extras/5.10.0

Note that "5.10.0" is the version referenced in the error message above - depending on your OS X version, this number could be different. Enter the version number of the Perl library version referenced in the error.

Save this file as "AppendToPath" and then insert it in

/Library/Perl/5.10.0 (you'll need to use admin privs to do so)

To get to "/Library/Perl/5.10.0", use Finder's "Go>Go to Folder" tool, and enter the destination as "/Library/Perl". You'll find the 5.10 folder, within.

Crossover should now successfully create bottles.




* Text Edit won't save files as Plain Text by default. You can set Text Edit to use Plain Text via these instructions. You can also use the "vi" text editor in a Terminal, if you are familiar with this tool.
Last modified on 2016-04-25 09:13:48 by Andrew Balfour
Are you sure you want to delete this page?
Note: Any nested pages that are under this one will be moved up one level. Any attachments tied to this page will be deleted.
Move / Rename Page
Unknown Error, unable to move!
That page exists already!
One or more of the parent pages specified in new path do not exist!
/support/wiki/ /support/wiki/mac/faq/bottlefailperl
Please Wait...
eyJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNTA5MDI4MzM5fQ==