1. fmpfilms 17.03.2007 05:27 3 years ago
|
After some time fiddling around with Mono, X11 and the Terminal, I made this thing run. Pretty cool eh?
Click here for a complete tutorial
I'd love to make this a little more simple than having to type code into X11 every time you want to run the thing, but sadly, I actually know nothing about programming. If anyone wants to help out, go right ahead and give some suggestions.
-Chris
|
2. cubamark 25.03.2007 07:36 3 years ago
|
Hi Chris, thanks for putting this together. Unfortunately, the step-by-step doesn't have enough steps for me :) I have managed to patch the files indicated, but the "make" command returns an error: "-bash: make: command not found" Running OS X 10.4.9 on an Intel MacBook.
Any suggestions?
TIA
M
|
3. fmpfilms 28.03.2007 20:41 3 years ago
|
Have you made sure to install Apple's X11 and Developer tools?
|
4. arjay26 28.04.2007 20:41 3 years ago
|
Having the exact same problem as cubamark -- same os, as well. Installed x11 and mono as described, same error. I know nothing about this stuff tho.
|
5. BurningSnowman 28.04.2007 21:07 3 years ago
|
I presume you're both ignoring the part of this tutorial where it says that if you ignore those errors it works anyway?
|
6. arjay26 28.04.2007 21:59 3 years ago
|
Nooooooo, but thanks for playing. We were stuck on the step BEFORE that. I realized I WAS ignoring the answer that said "...install Apple's X11 and Developer tools?" Developer tools being the operative words. Once I got those installed the "make" command was sucessful. All other steps successful (including the mentioned 2 errors) until I actually ran the program. now I get an error that says "Gtk not found (missing LD_LIBRARY_PATH to libgtk-x11-2.0.so.0?), using built-in colorscheme." Program works, but colors in output are wonky. Any more ideas?
|
7. themattercollective 28.04.2007 22:09 3 years ago
|
I keep getting an error that says "no such file directory" when trying to install the patch. I've tried everything I can think of to make it work, but nothing. I even tried renaming the folders and using those names to install the patch with the same results.
any ideas?
|
8. arjay26 28.04.2007 22:27 3 years ago
|
Yeah -- that took me a while. mac osx puts a hidden .txt on the end of the patch file. you have to make absolutely sure that there is no extra .txt after the .diff. make absolutely sure that is is not saved as a text file.
|
9. themattercollective 28.04.2007 23:56 3 years ago
|
Ok, now I fixed the hidden text extension and I am getting the same command not found error as above when I try to install the patch. I have X11 and the Developer Tools installed, but it still is not working. Can anyone help me with what I do now?
|
10. fmpfilms 13.05.2007 05:28 3 years ago
|
While MacOS X has its own GUI toolkit (Aqua/Cocoa), it also includes support for X11 (Quartz accelerated). Gtk# ( http://mono-project.com/GtkSharp), Mono's cross platform graphical toolkit runs on MacOS X but packages are not yet available for it or its dependencies (which are numerous).
Today, if you want to run or develop Gtk# applications, Fink ( http://fink.sourceforge.net) is the best way to install all necessary dependencies (gnome-desktop and all others). Installing GTK# on MacOS is still a little effort intensive (instructions from Geoff Norton):
* Install the latest Mono.framework
* Install Fink ( http://fink.sourceforge.net)
* Update fink to CVS (fink selfupdate-cvs)
* Update fink to unstable
* Update all fink core packages (fink update-all)
* Install Apple X11
* Install gnome and gtkhtml3 from fink (fink install bundle-gnome gtkhtml3 gtkhtml3-dev gtkhtml3-shlibs)
* Have a coffee / nap / go for a walk while fink installs Gnome.
* Install Gtk# from source to the prefix /Library/Frameworks/Mono.framework/Versions/Current (You will need to set the following environment variables: PKG_CONFIG_PATH=/sw/lib/pkgconfig:/usr/X11R6/lib/pkgconfig:/Library/
Frameworks/Mono.framework/Versions/Current/lib/pkgconfig)
NOTE: To run Gtk# apps you need to export the following environment variable:
export DYLD_LIBRARY_PATH=/sw/lib:/Library/Frameworks/Mono.framework/Versions/Current/lib/
|
11. MX5Bob 25.05.2007 21:05 3 years ago
|
Well, everything worked up until the MAKE command. So, install all the developer tools and now MAKE comes back with
make: *** No targets specified and no makefile found. Stop.
Backing up a step to the patch -i command now gives this error, which it didn't before installing the dev tools:
patch: **** Can't open patch file Rasterbator.buildfix1.diff : No such file or directory
Because the link to the patch opens a web page with the code, I C&P'd it into a BBEdit file. No .txt suffix visible, but there's no way to not save this as a text file.
Anybody have any ideas?
|
12. MX5Bob 25.05.2007 21:08 3 years ago
|
DOH! I forgot to run CD! [not enuf coffee yet]
|
13. MX5Bob 25.05.2007 21:22 3 years ago
|
OK, now that all the work in Terminal is done, I switch to X11 and I get this:
Cannot open assembly rasterbator.exe.
|
14. MX5Bob 25.05.2007 22:18 3 years ago
|
Edit takes too bloody long, so another reply instead. OK, getting the command right, I get this:
$ mono /Applications/Rasterbator/Rasterbator.exe
Stacktrace:
at (wrapper managed-to-native) System.Drawing.GDIPlus.GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at (wrapper managed-to-native) System.Drawing.GDIPlus.GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor ()
at (wrapper runtime-invoke) System.Object.runtime_invoke_void (object,intptr,intptr,intptr)
at System.Drawing.Image.InitFromStream (System.IO.Stream)
at System.Drawing.Image.InitFromStream (System.IO.Stream)
at System.Drawing.Image.InitFromStream (System.IO.Stream)
at System.Drawing.Image..ctor (System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
at System.Drawing.Bitmap..ctor (System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
at (wrapper runtime-invoke) System.Object.runtime_invoke_void_SerializationInfo_StreamingContext (object,intptr,intptr,intptr)
at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke (object,object[])
at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke (object,object[])
at System.Reflection.MonoCMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
at System.Reflection.MethodBase.Invoke (object,object[])
at System.Runtime.Serialization.ObjectRecord.LoadData (System.Runtime.Serialization.ObjectManager,System.Runtime.Serialization.ISurrogateSelector,System.Runtime.Serialization.StreamingContext)
at System.Runtime.Serialization.ObjectManager.DoFixups ()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadNextObject (System.IO.BinaryReader)
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectGraph (System.IO.BinaryReader,bool,object&,System.Runtime.Remoting.Messaging.Header[]&)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserialize (System.IO.Stream,System.Runtime.Remoting.Messaging.HeaderHandler)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream)
at System.Resources.ResourceReader.ReadNonPredefinedValue (System.Type)
at System.Resources.ResourceReader.ReadValueVer1 (System.Type)
at System.Resources.ResourceReader.ResourceValue (int)
at ResourceEnumerator.get_Value ()
at System.Resources.ResourceSet.ReadResources ()
at System.Resources.ResourceSet.GetObject (string,bool)
at System.Resources.ResourceManager.GetObject (string,System.Globalization.CultureInfo)
at System.Resources.ResourceManager.GetObject (string)
at System.Windows.Forms.Locale.GetResource (string)
at System.Windows.Forms.Form..cctor ()
at (wrapper runtime-invoke) System.Object.runtime_invoke_void (object,intptr,intptr,intptr)
at Rasterbator.MainForm..ctor ()
at Rasterbator.MainForm..ctor ()
at Rasterbator.MainForm..ctor ()
at (wrapper remoting-invoke-with-check) Rasterbator.MainForm..ctor ()
at Rasterbator.MainForm.Main (string[])
at (wrapper runtime-invoke) System.Object.runtime_invoke_void_string[] (object,intptr,intptr,intptr)
Abort trap
|
15. maujabur 05.06.2007 19:49 3 years ago
|
I'm a new mac user, I run osx 10.3.9 and couldn't find the developer tools in any of the 3 installation CDs nor at apple's website.
Help! How do I install the developer tools?
>edit
I will try o install xcode tools 1.5 available at connect.apple.com.
>edit 2
After a Huge download, Rasterbator is working!
It warns about GTK color, but it works!
Message edited by maujabur at 06.06.2007 02:31
|
16. andro000 20.03.2008 18:50 2 years ago
|
Thank You All!
I have successfully installed Rasterbator, and running.
Can I distribute the modified Rasterbator files? I think this will reduce the requirements by not needing XTools.
fmpfilms If you want, you can setup a command item in the Applications menu under X11.
|
17. phyber_optyx 29.03.2008 22:05 2 years ago
|
i am using this in X11 to launch the rasterbator:
mono /Applications/Rasterbator\ Standalone/Rasterbator.exe
and mono opens, but i get an error that says:
Cannot find file itextsharp.dll - make sure it is in the installation (Applications\Rasterbator Standalone\) Cannot continue, sorry.
then i take a look in that folder and the itextsharp.dll file is there. any thoughts on what is confusing mono?
cheers,
t
|
18. jonnyberlin 06.05.2008 16:47 2 years ago
|
can somebody please help me?
i'm a little stuck on step 3, actually very stuck. is anybody able to break it down REALLY simply for me? i'm not computer savvy, i just want to use rasterbator.
thanks!
|
19. nun66 06.10.2008 23:51 1 year ago
|
What do you to do make it run
|
20. the.monorail 11.10.2008 00:31 1 year ago
|
i don't know what the source code folder is or where to find it. i have everything up to that and i am pretty sure i can do everything after. i just need help here.
|
21. azngtr 06.01.2009 03:44 1 year ago
|
when i click on the patch website it says im forbidden to access it please helppp
|
22. hellosoto 18.07.2009 17:30 1 year ago
|
After running the patch command I'm getting the following message:
patching file MainForm.cs
Hunk #2 FAILED at 1713.
1 out of 2 hunks FAILED -- saving rejects to file MainForm.cs.rej
patching file Makefile
Any suggestions on how what to do next?
Thanks in advance
|
23. dndjohnson 03.10.2009 02:03 11 months ago
|
Having the problem as Phyber...
All goes well until I try to execute the program in X11 and I get this message...
Cannot find file itextsharp.dll - make sure it is in the installation (Applications\Rasterbator Standalone\)
The problem is that it is in that folder.
Please help. i am desperate.
|
24. tashfranz19 05.02.2010 12:58 7 months ago
|
Do somebody know how to rasterbate a big poster size without a dotz?Thanx!
|