Build issues

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Build issues

Marco Pesenti Gritti
Hi,

the reason builds has been failing lately is that goocanvas now requires
gtk 2.10.

I just checked in a patch in sugar-jhbuild to build gtk+ and some deps
too. It increase the build time quite a bit but I don't think there is a
way around that.

Let me know if this works fine for you or there are still issues.

Marco
Reply | Threaded
Open this post in threaded view
|

Build issues

Darryl Palmer
On 9/1/06, Marco Pesenti Gritti <[hidden email]> wrote:

>
> Hi,
>
> the reason builds has been failing lately is that goocanvas now requires
> gtk 2.10.
>
> I just checked in a patch in sugar-jhbuild to build gtk+ and some deps
> too. It increase the build time quite a bit but I don't think there is a
> way around that.
>
> Let me know if this works fine for you or there are still issues.
>
> Marco



I just tried it on FC5 and I am getting the following error:

*** Checking out librsvg *** [16/20]
git clone git://dev.laptop.org/librsvg
fatal: unexpected EOF
fetch-pack from 'git://dev.laptop.org/librsvg' failed.
*** error during stage checkout of librsvg: Error running ['git', 'clone',
u'git://dev.laptop.org/librsvg'] *** [16/20]


Is it supposed to be getting librsvg from the laptop site or did I do
something wrong?


Darryl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.laptop.org/pipermail/sugar/attachments/20060901/4fbc77b4/attachment.html
Reply | Threaded
Open this post in threaded view
|

Build issues

Marco Pesenti Gritti
Darryl Palmer wrote:

> On 9/1/06, *Marco Pesenti Gritti* <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Hi,
>
>     the reason builds has been failing lately is that goocanvas now
>     requires
>     gtk 2.10.
>
>     I just checked in a patch in sugar-jhbuild to build gtk+ and some
>     deps
>     too. It increase the build time quite a bit but I don't think
>     there is a
>     way around that.
>
>     Let me know if this works fine for you or there are still issues.
>
>     Marco
>
>  
>  
> I just tried it on FC5 and I am getting the following error:
>  
> *** Checking out librsvg *** [16/20]
> git clone git://dev.laptop.org/librsvg
> fatal: unexpected EOF
> fetch-pack from 'git://dev.laptop.org/librsvg' failed.
> *** error during stage checkout of librsvg: Error running ['git',
> 'clone', u'git://dev.laptop.org/librsvg'] *** [16/20]
>  
>  
> Is it supposed to be getting librsvg from the laptop site or did I do
> something wrong?

My fault, should be fixed now.

Marco
Reply | Threaded
Open this post in threaded view
|

Re: Build issues

Jim Tittsler
In reply to this post by Marco Pesenti Gritti
On Sep 1, 2006, at 21:20, Marco Pesenti Gritti wrote:

> I just checked in a patch in sugar-jhbuild to build gtk+ and some  
> deps too. It increase the build time quite a bit but I don't think  
> there is a way around that.
>
> Let me know if this works fine for you or there are still issues.

I still can not build libwnck on my FC5 machine which only has  
intltool 0.34.2 available, but libwnck wants 0.35.0 or later.

Reply | Threaded
Open this post in threaded view
|

Re: Build issues

Darryl Palmer
On 9/1/06, Jim Tittsler <[hidden email]> wrote:
>
> I still can not build libwnck on my FC5 machine which only has
> intltool 0.34.2 available, but libwnck wants 0.35.0 or later.



To get it to work on my machine I got an rpm at
http://fedora.osmirror.nl/core/development/i386/os/Fedora/RPMS/intltool-0.35.0-1.i386.rpm




Darryl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.laptop.org/pipermail/sugar/attachments/20060901/0a4c4987/attachment.html
Reply | Threaded
Open this post in threaded view
|

Re: Build issues

Marco Pesenti Gritti
In reply to this post by Jim Tittsler
Jim Tittsler wrote:

> On Sep 1, 2006, at 21:20, Marco Pesenti Gritti wrote:
>
>> I just checked in a patch in sugar-jhbuild to build gtk+ and some
>> deps too. It increase the build time quite a bit but I don't think
>> there is a way around that.
>>
>> Let me know if this works fine for you or there are still issues.
>
> I still can not build libwnck on my FC5 machine which only has
> intltool 0.34.2 available, but libwnck wants 0.35.0 or later.
>

Right, missing dependency in jhbuild. I checked in a fix for it, now it
will build intltool too.

Marco

Reply | Threaded
Open this post in threaded view
|

Re: Build issues

Marco Pesenti Gritti
In reply to this post by Marco Pesenti Gritti
7150 wrote:

> Marco Pesenti Gritti wrote:
>  
>> Hi,
>>
>> the reason builds has been failing lately is that goocanvas now requires
>> gtk 2.10.
>>
>> I just checked in a patch in sugar-jhbuild to build gtk+ and some deps
>> too. It increase the build time quite a bit but I don't think there is a
>> way around that.
>>
>> Let me know if this works fine for you or there are still issues.
>>
>> Marco
>>
>>
>>
>>    
> I tried again tonight.
>
> Here are some log clips:
>
> *** Checking out goocanvas *** [13/15]
>
> cvs -z3 -q -d :pserver:[hidden email]:/cvs/cairo update
> -P -d -A .
> Unknown host cvs.cairographics.org.
> *** error during stage checkout of goocanvas: Error running ['cvs',
> '-z3', '-q', '-d',
> u':pserver:[hidden email]:/cvs/cairo', 'update', '-P',
> '-d', '-A', '.'] *** [13/15]
>
>
>   [1] rerun stage checkout
>   [2] ignore error and continue to build
>   [3] give up on module
>   [4] start shell
>   [5] go to stage force_checkout
> choice: 5
> *** Checking out goocanvas *** [13/15]
>
> Tried 5, ended up here.
>
> In file included from goocanvas.h:30,
>                  from goocanvasatk.c:13:
> ./goocanvasview.h:106: error: syntax error before 'GtkUnit'
> ./goocanvasview.h:106: warning: no semicolon at end of struct or union
> ./goocanvasview.h:115: error: syntax error before '}' token
> goocanvasatk.c: In function
> 'goo_canvas_item_view_accessible_get_item_extents':
> goocanvasatk.c:58: error: dereferencing pointer to incomplete type
> goocanvasatk.c:59: error: dereferencing pointer to incomplete type
> goocanvasatk.c:60: error: dereferencing pointer to incomplete type
> goocanvasatk.c:61: error: dereferencing pointer to incomplete type
> goocanvasatk.c: In function 'goo_canvas_item_view_accessible_ref_state_set':
> goocanvasatk.c:415: error: dereferencing pointer to incomplete type
> make[3]: *** [goocanvasatk.lo] Error 1
> make[3]: Leaving directory `/home/y7150/sugar-jhbuild/source/goocanvas/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/y7150/sugar-jhbuild/source/goocanvas/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/y7150/sugar-jhbuild/source/goocanvas'
> make: *** [all] Error 2
> *** error during stage build of goocanvas: Error running make   *** [13/15]
>
>
>   [1] rerun stage build
>   [2] ignore error and continue to install
>   [3] give up on module
>   [4] start shell
>   [5] go to stage force_checkout
>   [6] go to stage configure
> choice:
>  

I think the issue is that goocanvas didn't pick up the new gtk, you need
to force it to run autogen again.
Try:

sugar-jhbuild build -a

Marco
Reply | Threaded
Open this post in threaded view
|

Re: Build issues

Marco Pesenti Gritti
In reply to this post by Marco Pesenti Gritti
7150 wrote:

> Marco Pesenti Gritti wrote:
>  
>> Hi,
>>
>> the reason builds has been failing lately is that goocanvas now requires
>> gtk 2.10.
>>
>> I just checked in a patch in sugar-jhbuild to build gtk+ and some deps
>> too. It increase the build time quite a bit but I don't think there is a
>> way around that.
>>
>> Let me know if this works fine for you or there are still issues.
>>
>> Marco
>>
>>
>>
>>    
> Ok, Marco. I'm getting my build "script" from:
>
> http://wiki.laptop.org/index.php/Setting_Up_a_Sugar_Development_Environment_on_Ubuntu_Linux#Using_Sugar-jhbuild
>
> It is as follows:
>
> sudo apt-get install build-essential cvs subversion libgtk2.0-dev
> libidl-dev \
>   gnome-common gtk-doc-tools libxt-dev automake1.7 automake1.9
> python-gtk2-dev \
>   python2.4-avahi git-core cogito python-dev avahi-utils \
>   libgconf2-dev xnest libgnome2-dev mozilla-dev libmatchbox-dev
> python-cairo-dev \
>   libtiff4-dev
>
> I see that it contains libgtk2.0, so I guess that's the problem. I don't
> see any gtk 2.1 stuff in the Ubuntu repositories. I think I'm toast.
>
>  

A lot of this packages are not needed actually. Gtk is built by
sugar-jhbuild now.

> Can't run FC4/5 on my IBM 600X spare machine (toooo many serious problems).
>
>  

The main reason to use jhbuild is that it can work on all recent
distributions.

> I won't bother you anymore. I'm too much of a newbie to be taking up
> your time.
>
> I'll just wait until I see evidence of it working for others.
>
> Thanks. I think this is a vital project.
>  

Feedback is useful... See the other mail for what I think is the issue.

Marco
Reply | Threaded
Open this post in threaded view
|

Re: Build issues

Marco Pesenti Gritti
7150 wrote:

> Marco Pesenti Gritti wrote:
>  
>> 7150 wrote:
>>    
>>> Marco Pesenti Gritti wrote:
>>>  
>>>      
>>>> Hi,
>>>>
>>>> the reason builds has been failing lately is that goocanvas now requires
>>>> gtk 2.10.
>>>>
>>>> I just checked in a patch in sugar-jhbuild to build gtk+ and some deps
>>>> too. It increase the build time quite a bit but I don't think there is a
>>>> way around that.
>>>>
>>>> Let me know if this works fine for you or there are still issues.
>>>>
>>>> Marco
>>>>
>>>>
>>>>
>>>>    
>>>>        
>>> Ok, Marco. I'm getting my build "script" from:
>>>
>>> http://wiki.laptop.org/index.php/Setting_Up_a_Sugar_Development_Environment_on_Ubuntu_Linux#Using_Sugar-jhbuild
>>>
>>>
>>> It is as follows:
>>>
>>> sudo apt-get install build-essential cvs subversion libgtk2.0-dev
>>> libidl-dev \
>>>   gnome-common gtk-doc-tools libxt-dev automake1.7 automake1.9
>>> python-gtk2-dev \
>>>   python2.4-avahi git-core cogito python-dev avahi-utils \
>>>   libgconf2-dev xnest libgnome2-dev mozilla-dev libmatchbox-dev
>>> python-cairo-dev \
>>>   libtiff4-dev
>>>
>>> I see that it contains libgtk2.0, so I guess that's the problem. I don't
>>> see any gtk 2.1 stuff in the Ubuntu repositories. I think I'm toast.
>>>
>>>  
>>>      
>> A lot of this packages are not needed actually. Gtk is built by
>> sugar-jhbuild now.
>>
>>    
>>> Can't run FC4/5 on my IBM 600X spare machine (toooo many serious
>>> problems).
>>>
>>>  
>>>      
>> The main reason to use jhbuild is that it can work on all recent
>> distributions.
>>
>>    
>>> I won't bother you anymore. I'm too much of a newbie to be taking up
>>> your time.
>>>
>>> I'll just wait until I see evidence of it working for others.
>>>
>>> Thanks. I think this is a vital project.
>>>  
>>>      
>> Feedback is useful... See the other mail for what I think is the issue.
>>
>> Marco
>>
>>
>>
>>    
> Update:
>
> I started over with the IBM 600x and a clean Ubuntu 6.06.1 install. I
> got a error free build. Don't know why.
>
> When I do ./sugar-jhbuild run, I get an X Nest window. If I am fast, I
> can click on the globe icon and get a browser with a Google search page.
>
> Searches work.
>
> If I click on the open "+" icon, I can enter a URL and go there. Back
> and forward buttons work.
>
> If I click on the chat icon, I go into chat, but that seems to be dead.
>
>  

Yeah, that's not implemented yet.

> None of the buttons or icons on the right side of the X Nest window
> function.
>
>  

If you click the S when using an activity (browser for example) it will
share it on the network and others can join it. This is still fragile
though so you might get issue... The other icons are not implemented.
When other buddies join the activity they will appear in place on the
white x-o icons. Clicking on one of them will add it to your friends.

> If I do not hit the globe or chat icon within a few seconds or if I
> close the browser or chat session, I end up in a light blue OLPC screen
> that appears to do nothing.
>  

You can click F5 to get the frame back. See also README for the other keys.

Note that the UI is very much still a work in progress. Once it's all
implemented it should be easy and intutive to use.

Thanks for testing,
Marco
Reply | Threaded
Open this post in threaded view
|

Re: Build issues

7150
Marco Pesenti Gritti <mpg <at> redhat.com> writes:

>
> 7150 wrote:
> > Marco Pesenti Gritti wrote:
> >  
> >> 7150 wrote:
> >>    
> >>> Marco Pesenti Gritti wrote:
> >>>  
> >>>      
> >>>> Hi,
> >>>>
> >>>> the reason builds has been failing lately is that goocanvas now requires

<snip>

> Thanks for testing,
> Marco
>


Follow up, no reply necessary:

I have had good first-time builds on three machines now. All Ubuntu 6.06.1.

IBM600x (P3), Compaq Presario 2100 (Athlon 32), HP L2000 (Turion 64).

George Yeager