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.
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.
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.
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.
> 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.