Export to GitHub

evoluspencil - issue #116

Can't Build on Mac OS


Posted on Oct 9, 2009 by Happy Wombat

What steps will reproduce the problem? 1. Checkout svn on Mac OSX 2. Enter Build folder 3. run ./build.sh

What is the expected output? What do you see instead? Expected to see the command successfully running, but I see:

Building Linux GTK+ version... cp: ./Linux/xulrunner/*: No such file or directory usage: cp [-R [-H | -L | -P]] [-fi | -n] [-pvX] source_file target_file cp [-R [-H | -L | -P]] [-fi | -n] [-pvX] source_file ... target_directory Processing ./Outputs/Linux/chrome/pencil@evolus.vn/UI/Window.xul... ./replacer.sh: line 4: ./Outputs/Linux/chrome/pencil@evolus.vn/UI/Window.xul: No such file or directory mv: rename temp to ./Outputs/Linux/chrome/pencil@evolus.vn/UI/Window.xul: No such file or directory Processing ./Outputs/Linux/chrome/pencil@evolus.vn/Common/Pencil.js... ./replacer.sh: line 4: ./Outputs/Linux/chrome/pencil@evolus.vn/Common/Pencil.js: No such file or directory mv: rename temp to ./Outputs/Linux/chrome/pencil@evolus.vn/Common/Pencil.js: No such file or directory Processing ./Outputs/Linux/application.ini... ./replacer.sh: line 4: ./Outputs/Linux/application.ini: No such file or directory mv: rename temp to ./Outputs/Linux/application.ini: No such file or directory Compressing... tar: *: Cannot stat: No such file or directory

tar: Error exit delayed from previous errors

Building Win32 version... cp: ./Win32/xulrunner/*: No such file or directory usage: cp [-R [-H | -L | -P]] [-fi | -n] [-pvX] source_file target_file cp [-R [-H | -L | -P]] [-fi | -n] [-pvX] source_file ... target_directory Processing ./Outputs/Win32/chrome/pencil@evolus.vn/UI/Window.xul... ./replacer.sh: line 4: ./Outputs/Win32/chrome/pencil@evolus.vn/UI/Window.xul: No such file or directory mv: rename temp to ./Outputs/Win32/chrome/pencil@evolus.vn/UI/Window.xul: No such file or directory Processing ./Outputs/Win32/chrome/pencil@evolus.vn/Common/Pencil.js... ./replacer.sh: line 4: ./Outputs/Win32/chrome/pencil@evolus.vn/Common/Pencil.js: No such file or directory mv: rename temp to ./Outputs/Win32/chrome/pencil@evolus.vn/Common/Pencil.js: No such file or directory Processing ./Outputs/Win32/application.ini... ./replacer.sh: line 4: ./Outputs/Win32/application.ini: No such file or directory mv: rename temp to ./Outputs/Win32/application.ini: No such file or directory Compressing... zip warning: name not matched: *

zip error: Nothing to do! (try: zip -r ../Pencil-1.0-5-win32.zip . -i *)

What version of the product are you using? On what operating system? trunk , mac osx 10.5 (leopard)

Please provide any additional information below. I'm willing to contribute a mac standalone app, so I wanted to understand the build proccess.

Comment #1

Posted on Dec 16, 2009 by Swift Lion

I would really like to see a standalone mac application. I found this documentation which should be useful. https://developer.mozilla.org/En/XULRunner/Build_Instructions

I think the issue is that there is currently no build script for mac / osx

Comment #2

Posted on Sep 23, 2010 by Quick Wombat

I have created a patch that will create a native OS X application. Right now, it has a dependency on the XULRunner being installed but, well, that's fine if you ask me. I'm awaiting user group access so I can bring this up.

Comment #3

Posted on Sep 24, 2010 by Swift Lion

I recently tried doing this again. I found the mozilla docs helpful in regards to running as an app with firefox (standalone, not plugin). Still couldn't figure out how to build a standalone app bundle though.

To replicate, I just grabbed the linux tarball, unzipped, and then pointed to the relevant application.ini file using the directions here - https://developer.mozilla.org/en/XULRunner_tips#Using_Firefox_3_to_run_XULRunner_applications

Comment #4

Posted on Sep 24, 2010 by Quick Wombat

For those of you monitoring this, check this out: http://code.google.com/p/evoluspencil/issues/detail?id=215

I have uploaded the necessary patches/files to build a standalone Pencil.app. It includes icons for .ep/.epz files in Finder as well. It even works in ways that the other standalone versions don't, like letting you double-click a file in Finder and have it opened/loaded in Pencil.app. Let me know what you think.

Comment #5

Posted on Sep 24, 2010 by Quick Wombat

I went ahead and attached a pre-built Pencil.app that should work. If it does not, you can install the XULRunner for OS X and it will work. (If it doesn't work, update 215 and I'll fix it as I have a minor concern that I might have to include the whole XUL.framework in the .app.)

Status: New

Labels:
Type-Defect Priority-Medium