Stas was incredibly patient and walked me through it. For those browsing the archives, this RedHat install did not have gnome-config nor pkg-config installed, so the build didn't quite work out. Setting GTOP_LIB in my environment prior to the build process did the trick:
GTOP_LIB="/usr/local/lib -lgtop -lgtop_sysdeps -lgtop_common -lglib" Stas is working on a patch for systems like mine, so this may be moot by the time you read this. Thanks for all the help! ____________________________________________________________ Eamon Daly "Nick Ing-Simmons" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Eamon Daly <[EMAIL PROTECTED]> writes: > >Hi, everyone. I'm in a minor panic trying to compile GTop on > >a Red Hat Linux 7.2 box. When I compile, I get the error: > > > > Please specify prototyping behavior for Server.xs (see perlxs manual) > > That does not _need_ fixing. > > > > >Subsequently, running anything with "use GTop" results in: > > > > Can't load > >'/usr/local/lib/perl5/site_perl/5.8.1/i686-linux/auto/GTop/GTop.so' for > >module GTop: > >/usr/local/lib/perl5/site_perl/5.8.1/i686-linux/auto/GTop/GTop.so: undefined > >symbol: glibtop_global_server at > >/usr/local/lib/perl5/5.8.1/i686-linux/DynaLoader.pm line 229. > > > >I've tried using several different libgtop libraries (1.0.6, > >1.0.12, 1.0.13) and they all yield the same build and > >execute errors. > > I have no idea what libgtop is - but if they all fail, chances are it isn't > them, but the way you are (not) linking them. > > Does > > nm -A .../libgtop* | grep glibtop_global_server > > show the symbol ? > > Does Makefile.PL step give any diagnostics? > What does generated Makefile show for LIBS = ? > > Who owns the GTop module these days? (STAS copied as he owns it in CPAN). > The Makefile.PL is quite complex, and the README terse. > It looks like you need glib-config in your path and/or several ENV > variables set for it to build.
