Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ORBit2 problem

2 views
Skip to first unread message

skriv

unread,
May 11, 2008, 9:00:04 PM5/11/08
to
I'm trying to install vlc, and get an error when the dependancy ORBit2
is trying to build.

See the error at http://freebsd-gnome.pastebin.org/35346.

I had just upgraded glib and gtk (don't know if that might matter or
not).

TIA

e.

Michael

unread,
May 12, 2008, 4:40:12 PM5/12/08
to

hmmm.. the compiler is complaining about G_GNUC_PRETTY_FUNCTION is
undeclared. G_GNUC_PRETTY_FUNCTION is part of glib and you mentioned
that you upgraded glib. Which version of glib do you have installed now?
You can check that with:

pkg_info |grep glib

glib-2.16.3 is the most current one from ports.

I also noticed you build ports (I assume you build ports) by entering
the directory of the port and issueing a "make install clean".
In principle there's nothing wrong with that, but I recommend the use of
portupgrade (or portmaster if you prefer) to build and upgrade your
ports. These tools make life a lot easier.
And while you're at it, keep your ports-tree up to date.
The handbook is a good starting-point:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html

And here is a good lead on portupgrade:

http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html

Hope that gets you anywhere.

Michael.

skriv

unread,
May 13, 2008, 12:46:49 AM5/13/08
to
On May 12, 1:40 pm, Michael <jonker.m.a.nojunkple...@gmail.com> wrote:
> hmmm.. the compiler is complaining about G_GNUC_PRETTY_FUNCTION is
> undeclared. G_GNUC_PRETTY_FUNCTION is part of glib and you mentioned
> that you upgraded glib. Which version of glib do you have installed now?
> You can check that with:
>
> pkg_info |grep glib
>
> glib-2.16.3 is the most current one from ports.

freebsd# pkg_info | grep glib
dbus-glib-0.74 GLib bindings for the D-BUS messaging system
glib-2.16.3 Some useful routines of C programming (current
stable versi

Yup, got the latest...

> I also noticed you build ports (I assume you build ports) by entering
> the directory of the port and issueing a "make install clean".
> In principle there's nothing wrong with that, but I recommend the use of
> portupgrade (or portmaster if you prefer) to build and upgrade your
> ports. These tools make life a lot easier.
> And while you're at it, keep your ports-tree up to date.

Cool, thanks for the tip. I've read the guide, but not the onlamp.com
(which I'll read).

I find the manual info on ports somewhat confusing. There are a few
choices for managing ports and it's not clear which is the best
option, or if there's overlap in what they do for me. Anyway, you're
not the first person to mention portupgrade first, so I think I'll use
that one.

I just ran portupgrade on vlc, and got no output.

freebsd# portupgrade vlc
freebsd#

Same for ORBit2

freebsd# portupgrade ORBit2
freebsd#

I guess that's cuz they're not installed yet? What should I use to
install them? Thanks

e.

Michael

unread,
May 13, 2008, 7:13:29 AM5/13/08
to
skriv wrote:
> I find the manual info on ports somewhat confusing. There are a few
> choices for managing ports and it's not clear which is the best
> option, or if there's overlap in what they do for me. Anyway, you're
> not the first person to mention portupgrade first, so I think I'll use
> that one.

I can imagine its all a bit confusing at first. There are indeed several
ways to manage your ports. All of them have their own pro's and con's. I
use portupgrade because it was my first pick and I liked it. You can try
and figure out which one you like. That's "the UNIX way".

>
> I just ran portupgrade on vlc, and got no output.
>
> freebsd# portupgrade vlc
> freebsd#
>
> Same for ORBit2
>
> freebsd# portupgrade ORBit2
> freebsd#
>
> I guess that's cuz they're not installed yet? What should I use to
> install them? Thanks
>

I'd expect an error-message if its not installed but you just get your
prompt back. That could indicate that portupgrade is installed and that
it thinks there is nothing to upgrade. Portupgrade checks your
ports-tree to figure out if the installed version is older than the
version in your ports-tree. That's why you have to make sure that you
keep your ports-tree up to date. The handbook explains how to do that.
If your ports-tree doesn't contain information about newer versions of
software, portupgrade will never upgrade anything.

With "pkg_info" you can check whats installed on your system. If
portupgrade is not there, you can install it by doing "make install
clean" in /usr/ports/ports-mgmt/portupgrade

Michael.

skriv

unread,
May 13, 2008, 11:13:34 PM5/13/08
to
On May 13, 4:13 am, Michael <jonker.m.a.nojunkple...@gmail.com> wrote:

> With "pkg_info" you can check whats installed on your system. If
> portupgrade is not there, you can install it by doing "make install
> clean" in /usr/ports/ports-mgmt/portupgrade

Thanks for your help Michael. portupgrade was there, but I ran

# pkg_info -a | grep ORB

saw a reference to libIDL, and I remembered some IDL stuff around the
error, so I

# portupgrade libIDL

and then

# portupgrade vlc

and it all worked! :)

Thanks again!

e.

0 new messages