Re: FreeBSD 7.0-RELEASE (GENERIC) firefox3 /usr/bin/ld: cannot find -lgio-2.0

2008-10-26 Thread Jeremy Chadwick
On Sun, Oct 26, 2008 at 11:10:48AM -0700, David Christensen wrote:
 freebsd-questions:

Try freebsd-ports for this question, as your issue is with a port.  :-)

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 7.0-RELEASE (GENERIC) firefox3 /usr/bin/ld: cannot find -lgio-2.0

2008-10-26 Thread mdh
--- On Sun, 10/26/08, David Christensen [EMAIL PROTECTED] wrote:
 From: David Christensen [EMAIL PROTECTED]
 Subject: FreeBSD 7.0-RELEASE (GENERIC) firefox3 /usr/bin/ld: cannot find 
 -lgio-2.0
 To: Freebsd-Questions freebsd-questions@freebsd.org
 Date: Sunday, October 26, 2008, 2:10 PM
 freebsd-questions:
 
 If I understand the above, the linker is unable to find the
 file 
 gio-2.0.  STFW I found something similar:
 

The answer is to upgrade your devel/glib20 port to the latest version, then try 
to install or upgrade libgiofam, then install the other software.  
- mdh



  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 7.0-RELEASE (GENERIC) firefox3 /usr/bin/ld: cannot find -lgio-2.0

2008-10-26 Thread David Christensen

mdh wrote:
The answer is to upgrade your devel/glib20 port to the latest version, then try to install or upgrade libgiofam, then install the other software.  


Thank you for your response.  :-)


Here's my attempt to carry out your suggestions:

20081026-122203 [EMAIL PROTECTED] ~
# portsnap fetch update
Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found.
...
Building new INDEX files... done.

20081026-122344 [EMAIL PROTECTED] ~
# cd /usr/ports/devel/glib20

20081026-122615 [EMAIL PROTECTED] /usr/ports/devel/glib20
# make
...
gmake[1]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.16.5'

20081026-125854 [EMAIL PROTECTED] /usr/ports/devel/glib20
# cd ../gio-fam-backend

20081026-125954 [EMAIL PROTECTED] /usr/ports/devel/gio-fam-backend
# make
===  Building for gio-fam-backend-2.16.5
/bin/sh ../../libtool --tag=CC   --mode=link cc 
-DG_LOG_DOMAIN=\GLib-GIO\ -I..
/.. -I../../glib -I../../gmodule -I../../gio -DG_DISABLE_CAST_CHECKS 
-DGIO_MODUL
E_DIR=\/usr/local/lib/gio/modules\ -DGIO_COMPILATION 
-DG_DISABLE_DEPRECATED -O
2 -fno-strict-aliasing -pipe -Wall -export_dynamic -avoid-version 
-module -no-un
defined -export-symbols-regex '^g_io_module_(load|unload)' 
-L/usr/local/lib -lin
tl -o libgiofam.la -rpath /usr/local/lib/gio/modules 
libgiofam_la-fam-helper.lo
libgiofam_la-fam-module.lo libgiofam_la-gfamdirectorymonitor.lo 
libgiofam_la-gfa

mfilemonitor.lo  -lgio-2.0 -lgobject-2.0 -lglib-2.0  -lfam
rm -fr  .libs/libgiofam.exp
generating symbol list for `libgiofam.la'
/usr/bin/nm -B  .libs/libgiofam_la-fam-helper.o 
.libs/libgiofam_la-fam-module.o
.libs/libgiofam_la-gfamdirectorymonitor.o 
.libs/libgiofam_la-gfamfilemonitor.o
| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ 
]*\([_A-
Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed 's/.* //' | sort | uniq 
 .libs

/libgiofam.exp
/usr/bin/grep -E -e ^g_io_module_(load|unload) .libs/libgiofam.exp  
.libs/

libgiofam.expT
mv -f .libs/libgiofam.expT .libs/libgiofam.exp
cc -shared  .libs/libgiofam_la-fam-helper.o 
.libs/libgiofam_la-fam-module.o .lib
s/libgiofam_la-gfamdirectorymonitor.o 
.libs/libgiofam_la-gfamfilemonitor.o  -Wl,
--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib 
-L/usr/local/lib /usr/
local/lib/libintl.so -lgio-2.0 /usr/local/lib/libgobject-2.0.so 
/usr/local/lib/l
ibglib-2.0.so /usr/local/lib/libfam.so  -Wl,-soname -Wl,libgiofam.so 
-Wl,-retain

-symbols-file -Wl,.libs/libgiofam.exp -o .libs/libgiofam.so
/usr/bin/ld: cannot find -lgio-2.0
gmake: *** [libgiofam.la] Error 1
*** Error code 2

Stop in /usr/ports/devel/gio-fam-backend.


So, I'm back where I started -- /usr/bin/ld: cannot find -lgio-2.0


Any suggestions?


David

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 7.0-RELEASE (GENERIC) firefox3 /usr/bin/ld: cannot find -lgio-2.0

2008-10-26 Thread Sahil Tandon
David Christensen [EMAIL PROTECTED] wrote:

 mdh wrote:
 The answer is to upgrade your devel/glib20 port to the latest version, 
 then try to install or upgrade libgiofam, then install the other software. 
  

 Thank you for your response.  :-)

 Here's my attempt to carry out your suggestions:

 20081026-122203 [EMAIL PROTECTED] ~
 # portsnap fetch update
 Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found.
 ...
 Building new INDEX files... done.

 20081026-122344 [EMAIL PROTECTED] ~
 # cd /usr/ports/devel/glib20

 20081026-122615 [EMAIL PROTECTED] /usr/ports/devel/glib20
 # make
 ...

Do these ellipses include a 'make install'?  Otherwise, that is likely
your problem; devel/glib20 is not actually installed.

-- 
Sahil Tandon [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 7.0-RELEASE (GENERIC) firefox3 /usr/bin/ld: cannot find -lgio-2.0

2008-10-26 Thread Michael Powell
David Christensen wrote:

 mdh wrote:
 The answer is to upgrade your devel/glib20 port to the latest version,
 then try to install or upgrade libgiofam, then install the other
 software.
 
 Thank you for your response.  :-)
 
 
 Here's my attempt to carry out your suggestions:
 
 20081026-122203 [EMAIL PROTECTED] ~
 # portsnap fetch update
 Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found.

Since I use csup and have no experience with portsnap I can't speak to it's
efficacy.

 Building new INDEX files... done.
 
 20081026-122344 [EMAIL PROTECTED] ~
 # cd /usr/ports/devel/glib20
 
 20081026-122615 [EMAIL PROTECTED] /usr/ports/devel/glib20
 # make

If you previously had glib20-2.14.6 installed, you will need to do a 'make
deinstall' prior to 'make reinstall'. 

 gmake[1]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.16.5'
 
 20081026-125854 [EMAIL PROTECTED] /usr/ports/devel/glib20
 # cd ../gio-fam-backend

This is wrong somehow. You should be able to make  make deinstall  make
reinstall the glib20 port without it going anywhere else.

 20081026-125954 [EMAIL PROTECTED] /usr/ports/devel/gio-fam-backend
 # make

Also please note that both the glib20 port *and* the gio-fam-backend both
utilize the same glib20 tarball. It's just you need to build/install the
glib20 (current version == 2.16.5) port first, then follow up by doing the
gio-fam-backend port.

Something is wrong with your setup as I just successfully built the
gio-fam-backend port on my test machine with no difficulties encountered.

-Mike 
[snip]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 7.0-RELEASE (GENERIC) firefox3 /usr/bin/ld: cannot find -lgio-2.0

2008-10-26 Thread David Christensen

Sahil Tandon wrote:
 Do these ellipses include a 'make install'?  Otherwise, that is likely
 your problem; devel/glib20 is not actually installed.

Michael Powell wrote:

If you previously had glib20-2.14.6 installed, you will need to do a 'make
deinstall' prior to 'make reinstall'. 

...

then follow up by doing the gio-fam-backend port.


Thank you both for your help.  :-)


I didn't understand the need to do a make deinstall/ reinstall on 
glib20.  So I tried again:


http://holgerdanske.com/node/392


devel/glib20 and gio-fam-backend seemed to go okay.  I think I got 
further into firefox3, but it failed:


configure: error: Library requirements (cairo = 1.6.0 freetype2 
fontconfig) not met



What's next?


TIA,

David

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 7.0-RELEASE (GENERIC) firefox3 /usr/bin/ld: cannot find -lgio-2.0

2008-10-26 Thread matt donovan
On Sun, Oct 26, 2008 at 11:01 PM, David Christensen 
[EMAIL PROTECTED] wrote:

 Sahil Tandon wrote:
  Do these ellipses include a 'make install'?  Otherwise, that is likely
  your problem; devel/glib20 is not actually installed.

 Michael Powell wrote:

 If you previously had glib20-2.14.6 installed, you will need to do a 'make
 deinstall' prior to 'make reinstall'.

 ...

 then follow up by doing the gio-fam-backend port.


 Thank you both for your help.  :-)


 I didn't understand the need to do a make deinstall/ reinstall on glib20.
  So I tried again:

http://holgerdanske.com/node/392


 devel/glib20 and gio-fam-backend seemed to go okay.  I think I got further
 into firefox3, but it failed:

configure: error: Library requirements (cairo = 1.6.0 freetype2
 fontconfig) not met


 What's next?


 TIA,

 David


 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]


install these three cairo = 1.6.0 freetype2 fontconfig make sure your ports
tree is up to date as well with portsnap
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 7.0-RELEASE (GENERIC) firefox3 /usr/bin/ld: cannot find -lgio-2.0

2008-10-26 Thread Michael Powell
David Christensen wrote:

[snip]
 
 
 devel/glib20 and gio-fam-backend seemed to go okay.  I think I got
 further into firefox3, but it failed:

checking for cairo = 1.6.0 freetype2 fontconfig... Requested 'cairo =
1.6.0' but version of cairo is 1.4.10

This is telling you the cairo you have installed is old and needs to be
updated, probably freetype2 and fontconfig as well. Essentially you have
out of date dependencies, with the most common reason for this is having
installed packages straight from the release ISOs and subsequently not
upgrading them.

Many old time FreeBSD'ers only install the system from the ISO, update their
ports tree, and then install software. This ensures everything is current
and all dependencies are tracked. What you have is a jumble of outdated
dependencies which require updating.

 
  configure: error: Library requirements (cairo = 1.6.0 freetype2
 fontconfig) not met
 
 
 What's next?
 
[snip]

You can update things manually one or two at a time[1], as you did for the
glib20 port. Or you can automate the process. I use portupgrade for this.
Now portupgrade has it's own learning curve, but it can make it easier to
keep large numbers of ports all up to date.

You probably need to learn a little more about how the ports system works.
Once you have a more in depth understanding of how to install and maintain
software on a FreeBSD system you won't see this kind of situation again. So
rather than fixate on just bouncing from dependency to dependency, ad
infinitum ad nauseum, try going back and reading up on this subject some
more until you understand the process.

-Mike

[1] Like you did with glib20: make  make deinstall  make reinstall


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]