I'm trying to build from source (0.14.2) under RHEL-4 (64-bit
environment). I have installed gnet2 using yum. When I run
"./configure", I get:
gobject-2.0 >= 2.2.0... Package glib-2.0 was not found in the pkg-config
search path. Perhaps you should add the directory containing
`glib-2.0.pc' to the PKG_CONFIG_PATH environment variable No package
'glib-2.0' found
configure: error: Library requirements (glib-2.0 >=
2.2.0 gthread-2.0 >=
2.2.0 gobject-2.0 >= 2.2.0) not met; consider
adjusting the PKG_CONFIG_PATH environment variable if your libraries are
in a nonstandard prefix so pkg-config can find them.
So then I tried:
$ PKG_CONFIG_PATH=/usr/lib64/pkgconfig ./configure
but then:
checking for gnet-2.0 >= 2.0.1... checking for gnet >= 1.1.8...
configure: error: GNet 2.0.1 or higher, or GNet 1.1.8 or higher, is
required.
So finally:
$ PKG_CONFIG_PATH=/usr/lib/pkgconfig/:/usr/lib64/pkgconfig ./configure
which got me to the "make" step, but then:
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../libgnet-2.0.so when
searching for -lgnet-2.0
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../libgnet-2.0.a when
searching for -lgnet-2.0
/usr/bin/ld: skipping incompatible /usr/lib/libgnet-2.0.so when
searching for -lgnet-2.0
/usr/bin/ld: skipping incompatible /usr/lib/libgnet-2.0.a when searching
for -lgnet-2.0
/usr/bin/ld: cannot find -lgnet-2.0
collect2: ld returned 1 exit status
and now I'm stuck. I don't know enough about package configuration to
determine a next course. Anyone have any experience here?
_______________________________________________
Pan-users mailing list
Pan-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/pan-users