Synfig Project Forum

Forums for Synfig Project
It is currently Fri May 24, 2013 7:28 pm

All times are UTC - 4 hours [ DST ]




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: Building on OS X
PostPosted: Wed Jul 30, 2008 4:44 pm 
Offline

Joined: Sat Jun 07, 2008 11:44 am
Posts: 27
Hi I am trying to build on OS X and haven't yet had any success. I will post the details when I get a chance but I just wanted to start a thread to invite other people who are also building on OS X to post their errors and problems/solutions. Anyone else building on os x?


Top
 Profile  
 
 Post subject: Re: Building on OS X
PostPosted: Wed Jul 30, 2008 5:15 pm 
Offline
Site Admin

Joined: Sat Dec 01, 2007 6:21 am
Posts: 101
Location: Sweden
Hi giantspacebug!
I'm also building on OSX with X11, I followed the instructions here http://synfig.org/Building_On_Mac_OS_X
all the way and including the command: "jhbuild bootstrap"
after that I jumped down the page to the "Using X11" part and continued there, it is also some hints there how to solve some errors that you might run in to, further down the page.

After that I followed the etl, synfig-core and synfig building instructions here: http://synfig.org/Build_instructions

I remember I had a lot of errors when running: jhbuild bootstrap, some of the parts would not compile as it should and I had to try a lot of times before it was succesful.

I'm sorry I can't be more specific than that it was a long time since I build it from scratch, but if you run in to problems I will gladely help you if I can. :D

Good luck! /ulrik


Top
 Profile  
 
 Post subject: Re: Building on OS X
PostPosted: Thu Jul 31, 2008 1:22 pm 
Offline

Joined: Sat Jun 07, 2008 11:44 am
Posts: 27
I got to jhbuild bootstrap as well the error I got:
Code:
Zarkon:~ buildah$ jhbuild bootstrap
Traceback (most recent call last):
  File "/Users/buildah/jhbuild/jhbuild/config.py", line 102, in __init__
    execfile(filename, config)
  File "/Users/buildah/.jhbuildrc", line 1
     <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
     ^
 SyntaxError: invalid syntax
jhbuild: could not load config file

:x
I'm not sure what the error is but it looks like jhbuild can't read that document declaration. I wonder if there is a to turn off the syntax checking. I am looking into the error


Top
 Profile  
 
 Post subject: Re: Building on OS X
PostPosted: Thu Jul 31, 2008 2:23 pm 
Offline

Joined: Sat Jun 07, 2008 11:44 am
Posts: 27
OK I'm a knucklehead use this script to do the jhbuild install
http://developer.imendio.com/projects/g ... structions
I must have thought I already did that. :lol:
more later

This resource is not longer there you should use the GTK+ for OS X installer
http://developer.imendio.com/node/259


Last edited by giantspacebug on Wed Jul 29, 2009 2:29 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Building on OS X
PostPosted: Sun Nov 30, 2008 10:50 pm 
Offline

Joined: Sat Jun 07, 2008 11:44 am
Posts: 27
I am running into problems with cairomm. Also is there any instructions for packaging the build into an app?


Top
 Profile  
 
 Post subject: Re: Building on OS X
PostPosted: Mon Dec 01, 2008 1:04 am 
Offline
Site Admin
User avatar

Joined: Fri Nov 30, 2007 8:25 pm
Posts: 292
The only Mac build instructions we have are here:

http://synfig.org/Building_On_Mac_OS_X

If it needs updating, please add to it.

I imagine you can find out how to create a .app at the Apple developer site.

_________________
bye, pabs


Top
 Profile  
 
 Post subject: Re: Building on OS X
PostPosted: Mon Jan 26, 2009 11:27 am 
Offline

Joined: Sat Jun 07, 2008 11:44 am
Posts: 27
I keep getting the errror:
*** module gtkmm not built due to non buildable cairomm *** [12/12]
*** module gtkmm not built due to non buildable pangomm *** [12/12]
*** the following modules were not built *** [12/12]
cairomm pangomm gtkmm

Has anyone been getting this also?


Top
 Profile  
 
 Post subject: Re: Building on OS X
PostPosted: Tue Jan 27, 2009 11:17 pm 
Offline
Site Admin
User avatar

Joined: Fri Nov 30, 2007 8:25 pm
Posts: 292
If you post the pangomm/cairomm build errors we might be able to guess what the fix might be.

_________________
bye, pabs


Top
 Profile  
 
 Post subject: Re: Building on OS X
PostPosted: Thu Feb 19, 2009 2:51 pm 
Offline
User avatar

Joined: Thu Feb 19, 2009 2:13 pm
Posts: 2
Location: Deep Space
Hello,
I was yesterday on the IRC channel because I tried too to build the Synfig application on Mac OS X.

The attempt fails but I think I can suppose some reasons and then someone more experienced in coding can confirm or not.

configuration:
Mac PowerPC G5 1.6Ghz single, 4Gb ram, Xcode 2.5 (latest release), OS 10.4.11
Subversion pkg for mac installed

First attempt was trying to rebuild the xcode projects (declared broken). I had on the machine the prebuild framework from gkt-osx.org. Actually I can manage to build an ETL framework but I fail to have 3 of the tests.

Pen test
Spline test
Stringf test

It says me that the build can be buggy. I tried then to compile the Synfig framework and in fact the error given was on a function declared in ETL called mutex.

Second attempt was to build from terminal (as suggested) and I run all from there even the jhbuild. I tried in 2 ways: with the JHB=fw-10.4 option and without. All the times the pango library collapsed. First error was on a quartz call and I managed to avoid it installing libpng, second was a generic error on a call inside the library.

Second of all even macports can't install on my machine git-core, it calls a dependency of perl5.8 but it makes an error in compiling the package.

I made some research and then I opened a new GTK+ project and I discovered (with terror) that in the description is indicated X86 ONLY files. So I think that can be possible that on PowerPC I have no possibility to compile with GTK+ because can call just x86 functions. I can't find any infos on it but could be a good reason. The question is if on an intel machine (I own also one but I have to try on it) I can build a xcode project and build a universal binary anyway.
The suspect is more strong because I tried to have a FreeBSD or Linux on my machine, when mactel was an idea in Jobs' head, (I managed to install the system, I am not new to linux system) and there simply wasn't libraries that I needed to compile Synfig for PowerPC.

I also found out a tutorial on Gimp 1.2 build on OS X. It was suggested to change some line on the code because Mac declares headers in different ways and can stop on Windows-based callings for reasons due to the compiler.

My interest in this project is to use it and give relevance to it. I want to use the software to produce films and I'd like that the software could be diffused on every system. I really think that Synfig, Gimp, Blender, Inkscape and many other software are great solutions also for professionals and they have to be simple to use and install on every system (like Blender is). Obviously the other solution I have is to install a linux x86 that can support my Mactel hardware, but it is not my task. If there will be a universal binary of the software it is better.

_________________
--
Lord M

@->-,-'---- @([:])) ----'-,-<-@

Sanity is another way to MaDNesS!!!

http://www.castleinspace.net


Top
 Profile  
 
 Post subject: Re: Building on OS X
PostPosted: Sun Mar 22, 2009 11:35 pm 
Offline

Joined: Sat Jun 07, 2008 11:44 am
Posts: 27
I am going to do this step by step
when trying to bootstrap jhbuild I get this:
Code:
Zarkon:~ buildah$ jhbuild bootstrap
Traceback (most recent call last):
  File "/Users/buildah/Source/jhbuild/jhbuild/config.py", line 117, in load
    execfile(self.filename, config)
  File "/Users/buildah/.jhbuildrc", line 1
     <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
     ^
 SyntaxError: invalid syntax
jhbuild: could not load config file


Top
 Profile  
 
 Post subject: Re: Building on OS X
PostPosted: Wed Jul 29, 2009 1:36 pm 
Offline

Joined: Sat Jun 07, 2008 11:44 am
Posts: 27
when I trying to build synfig-core I get this:
Code:
Zarkon:~/synfig/synfig-core/trunk keith$ autoreconf --install --force
aclocal: macro `AM_PROG_MKDIR_P' required but not defined
aclocal: macro `AM_PROG_MKDIR_P' required but not defined
autoreconf: aclocal failed with exit status: 1


OK so I corrected this problem by updating my automake,
use these instructions: http://automake.darwinports.com/
this version is 1.6.3, you can determine yours by typing
Code:
automake --version
in the terminal.


Last edited by giantspacebug on Wed Jul 29, 2009 3:10 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Building on OS X
PostPosted: Wed Jul 29, 2009 2:46 pm 
Offline
Site Admin

Joined: Sat Dec 01, 2007 6:21 am
Posts: 101
Location: Sweden
giantspacebug wrote:
SyntaxError: invalid syntax
jhbuild: could not load config file
[/code]

Hi giant.....

this line means that there is no configuration file to load, and that's because the link to .jhbuildrc file at the synfig site is dead, so I tried this way instead and got jhbuild bootstrap command to work, go here and check this instructions:
http://live.gnome.org/GTK%2B/OSX/BuildInstructions

download this file: http://github.com/jralls/gtk-osx-build/ ... d-setup.sh
open terminal, cd the file and add: chmod +x to make it an executable, then run the script and after that you're able to jhbuild bootstrap.


Top
 Profile  
 
 Post subject: Re: Building on OS X
PostPosted: Wed Jul 29, 2009 3:19 pm 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 4139
Location: Spain
Hi guys.

I just come here to give the highest dose of encouragement possible to you for try to build Synfig in Mac OS. Please, if you find any error in the instructions, don't doubt on modify the wiki or if need any code change please ask to any of the people who has writing rights to make the proper changes in the source code.

Cheers!
-G

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Top
 Profile  
 
 Post subject: Re: Building on OS X
PostPosted: Thu Jul 30, 2009 11:01 am 
Offline

Joined: Sat Jun 07, 2008 11:44 am
Posts: 27
thanks for the encouragement. ok having this problem now:
I'm configuring etl and synfigure core with
Code:
 ./configure --prefix=/opt/gtk --exec-prefix=/opt/gtk

as per the instructions but i get this
Code:
checking for ETL >= 0.04.12... configure: error:  ** You need to install the ETL (version 0.04.12 or greater).

any ideas


Top
 Profile  
 
 Post subject: Re: Building on OS X
PostPosted: Thu Jul 30, 2009 12:02 pm 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 4139
Location: Spain
That message comes from the configure for synfig-core. It means that the path where the etl library is installed is:

1) Not the path for etl 0.04.12
2) The old path of the previous etl version.

Watch this thread for more hints:
viewtopic.php?p=3616#p3616

-G

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC - 4 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group