WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: libbonoboui  (Read 3475 times)

Offline althalus

  • Sr. Member
  • ****
  • Posts: 351
libbonoboui
« on: January 26, 2010, 07:06:20 AM »
Hi Guys,

Either I'm missing something, or libgnomeui isn't available as an extension yet. In trying to compile it, I discovered that I need libbonoboui. Currently I'm getting compile errors with libbonoboui. Has anyone ever tried to compile libbonoboui, or got any solutions what the error might be? I can see a couple of bugs reported for other distros, for which the fix apparently exists in the brasero package, but I'm not trying to get brasero running.

the error:
Code: [Select]
In file included from ../bonobo/bonobo-dock-band.h:47,
                 from bonobo-dock.h:55,
                 from bonobo-dock.c:30:
../bonobo/bonobo-dock-item.h:108: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bonobo_dock_item_get_type'
In file included from bonobo-dock.h:55,
                 from bonobo-dock.c:30:
../bonobo/bonobo-dock-band.h:105: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bonobo_dock_band_get_type'
In file included from bonobo-dock.c:30:
bonobo-dock.h:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bonobo_dock_get_type'
bonobo-dock.c:35: error: expected declaration specifiers or '...' before 'bonobo_dock'
bonobo-dock.c:36: error: expected declaration specifiers or '...' before '(' token
bonobo-dock.c:36: warning: data definition has no type or storage class
bonobo-dock.c:36: warning: type defaults to 'int' in declaration of 'GNOME_CLASS_BOILERPLATE'
bonobo-dock.c: In function 'bonobo_dock_size_request':
bonobo-dock.c:254: warning: implicit declaration of function 'bonobo_dock_get_type'
bonobo-dock.c: In function 'bonobo_dock_map':
bonobo-dock.c:487: warning: implicit declaration of function 'GNOME_CALL_PARENT'
bonobo-dock.c:487: error: 'GTK_WIDGET_CLASS' undeclared (first use in this function)
bonobo-dock.c:487: error: (Each undeclared identifier is reported only once
bonobo-dock.c:487: error: for each function it appears in.)
bonobo-dock.c:487: error: 'map' undeclared (first use in this function)
bonobo-dock.c: In function 'bonobo_dock_unmap':
bonobo-dock.c:520: error: 'GTK_WIDGET_CLASS' undeclared (first use in this function)
bonobo-dock.c:520: error: 'unmap' undeclared (first use in this function)
bonobo-dock.c: In function 'bonobo_dock_add':
bonobo-dock.c:533: warning: implicit declaration of function 'bonobo_dock_item_get_type'
bonobo-dock.c: In function 'bonobo_dock_remove':
bonobo-dock.c:598: warning: implicit declaration of function 'bonobo_dock_band_get_type'
bonobo-dock.c: In function 'bonobo_dock_finalize':
bonobo-dock.c:670: error: 'parent_class' undeclared (first use in this function)
bonobo-dock.c: In function 'drag_new':
bonobo-dock.c:753: warning: ignoring return value of 'g_list_append', declared with attribute warn_unused_result
bonobo-dock.c:755: warning: ignoring return value of 'g_list_prepend', declared with attribute warn_unused_result
bonobo-dock.c: In function 'drag_floating':
bonobo-dock.c:830: warning: implicit declaration of function 'gtk_widget_ref'
bonobo-dock.c:847: warning: implicit declaration of function 'gtk_widget_unref'
make[2]: *** [bonobo-dock.lo] Error 1
make[2]: Leaving directory `/tmp/dev/libbonoboui-2.8.1/bonobo'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/dev/libbonoboui-2.8.1'
make: *** [all] Error 2

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: libbonoboui
« Reply #1 on: January 26, 2010, 07:28:09 AM »
Any specific reason for trying to build such an old version, from 2005? The latest is 2.24.2, dated 23 sep 2009. Since the bonobo extension is 2.24.1, using the latest version would be worth a try.
The only barriers that can stop you are the ones you create yourself.

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: libbonoboui
« Reply #2 on: January 26, 2010, 11:09:04 AM »
i have built libbonoboui and libgnomeui recently i may send these as an extension in near future

Offline althalus

  • Sr. Member
  • ****
  • Posts: 351
Re: libbonoboui
« Reply #3 on: January 26, 2010, 04:55:32 PM »
Any specific reason for trying to build such an old version, from 2005? The latest is 2.24.2, dated 23 sep 2009. Since the bonobo extension is 2.24.1, using the latest version would be worth a try.

Uh......? Because I'm used to the latest being the last in the list and I was far too tired to be trying to compile anything? Thanks for pointing out my mistake.

Offline althalus

  • Sr. Member
  • ****
  • Posts: 351
Re: libbonoboui
« Reply #4 on: January 26, 2010, 07:08:27 PM »
Whilst using a more recent build does resolve my initial problem, during make it is trying to find libexpat.la and popt.la in /usr/lib, except they are in /usr/local/lib - Any advice on how to fix this? I'm coming up blank at the moment.

Arslan, if you're not ready to submit them yet, could you perhaps email them to me? Or post some build instructions?

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: libbonoboui
« Reply #5 on: January 27, 2010, 12:04:44 AM »
Whilst using a more recent build does resolve my initial problem, during make it is trying to find libexpat.la and popt.la in /usr/lib, except they are in /usr/local/lib - Any advice on how to fix this? I'm coming up blank at the moment.


Create symlinks.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: libbonoboui
« Reply #6 on: January 27, 2010, 02:55:40 AM »
Whilst using a more recent build does resolve my initial problem, during make it is trying to find libexpat.la and popt.la in /usr/lib, except they are in /usr/local/lib - Any advice on how to fix this? I'm coming up blank at the moment.

Arslan, if you're not ready to submit them yet, could you perhaps email them to me? Or post some build instructions?

sure i will send them to your forum mail address later in this day

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: libbonoboui
« Reply #7 on: January 27, 2010, 04:51:49 AM »
athalus-  are all your extensions up to date?  Since something is looking in /usr/lib for expat and popt, that means there is an .la file that has the wrong entries in it.  And though symlinking to /usr/lib would allow the package to build, that would create another extension that has the wrong entries in it for popt.la and expat.la.  It would be good to find what extension has the wrong entries in it so it could be fixed.  You copy of base-dev and/or Xorg-dev not being up to date is what I suspect.  This command will help you locate the culprit, run it in both /usr/lib and /usr/local/lib:
>
Code: [Select]
for I in `ls *.la`; do cat "$I" | grep "/usr/lib/libexpat.la" >/dev/null && echo "$I"; done

for I in `ls *.la`; do cat "$I" | grep "/usr/lib/libpopt.la" > /dev/null && echo "$I"; done


It appears that libgnomecanvas-2.la  and libnotify.la  have "/usr/lib/libexpat.la" as the location for libexpat.la though libexpat.la now resides in /usr/local/lib.  And libgnome-2.la has "/usr/lib/libpopt.la" as the location for libpopt.la.      Those entries can be adjusted manually, and I can do that in a few minutes.
« Last Edit: January 27, 2010, 04:54:49 AM by Jason W »

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: libbonoboui
« Reply #8 on: January 27, 2010, 05:08:24 AM »
libgnome.tcz, libgnomecanvas.tcz, and libnotify.tcz have had this corrected.

Please redownload your copies of those extensions and try building libbonoboui again.

There may  be other extensions with this same issue that I didn't have installed on my box, especially since popt was recently moved to /usr/local
« Last Edit: January 27, 2010, 05:11:25 AM by Jason W »

Offline althalus

  • Sr. Member
  • ****
  • Posts: 351
Re: libbonoboui
« Reply #9 on: January 27, 2010, 07:11:26 AM »
Thanks Jason, that's done it. Successful compile now.

After running those commands, libobrender.la in openbox.tcz also looks for /usr/lib/libexpat.la


Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: libbonoboui
« Reply #10 on: January 27, 2010, 08:48:37 AM »
Great, I will fix that .la file too.


EDIT:  Fixed.
« Last Edit: January 27, 2010, 08:53:26 AM by Jason W »