[stools] compilation on FreeBSD
Hello
I'm trying to compile stools 0.1.19 from a tarball on my FreeBSD system. But it dosn't find glib...
the output from configure is :
loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking host system type... i386-unknown-freebsd4.3 checking for a BSD compatible install... /usr/bin/install -c checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for ranlib... (cached) ranlib checking for smidump... (cached) smidump checking for glib-config... (cached) no checking for GLIB - version >= 1.2.0... no *** The glib-config script installed by GLIB could not be found *** If GLIB was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the GLIB_CONFIG environment variable to the *** full path to glib-config. checking for initscr in -lncurses... (cached) yes checking for readline in -lreadline... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for ANSI C header files... (cached) yes checking for unistd.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/time.h... (cached) yes checking for ncurses.h... (cached) yes checking for netinet/if_ether.h... (cached) yes checking for netinet/ether.h... (cached) no checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for tm_zone in struct tm... (cached) yes checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for resizeterm... (cached) yes checking for getaddrinfo... (cached) yes checking for ether_ntohost... (cached) yes checking for rl_completion_matches... (cached) no updating cache ./config.cache creating ./config.status creating Makefile creating snmp/Makefile creating stub/Makefile creating stop/Makefile creating scli/Makefile creating doc/Makefile creating config.h config.h is unchanged
and if I try a make :
make all-recursive Making all in snmp gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../app -DHAVE_INET -g -O2 -c g_asn1.c In file included from g_asn1.c:65: g_snmp.h:31: glib.h: No such file or directory In file included from g_security.h:27, from g_snmp.h:177, from g_asn1.c:65: g_sha.h:34: glib.h: No such file or directory *** Error code 1
Stop in /usr/home/pih/dl/stools/stools-0.1.19/snmp. *** Error code 1
Stop in /usr/home/pih/dl/stools/stools-0.1.19. *** Error code 1
Stop in /usr/home/pih/dl/stools/stools-0.1.19.
Can somone please give me advise on how to solve this problem ?
I thank you in advance.
Peter Hansen
-- !! This message is brought to you via the `stools' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to stools-request@ibr.cs.tu-bs.de. !! See http://www.ibr.cs.tu-bs.de/projects/stools/ for more information.
Hi!
Peter I Hansen writes:
Peter> I'm trying to compile stools 0.1.19 from a tarball on my Peter> FreeBSD system. But it dosn't find glib... Peter> the output from configure is : Peter> [...] Peter> checking for GLIB - version >= 1.2.0... no Peter> *** The glib-config script installed by GLIB could not be found Peter> *** If GLIB was installed in PREFIX, make sure PREFIX/bin is in Peter> *** your path, or set the GLIB_CONFIG environment variable to the Peter> *** full path to glib-config. Peter> [...] Peter> Can somone please give me advise on how to solve this problem ?
Install glib! You can find it at ftp://ftp.gtk.org/pub/gtk/. If it is already installed follow the advice above. And by the way: read the README file.
What kind of advice did you expect?
-frank -- !! This message is brought to you via the `stools' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to stools-request@ibr.cs.tu-bs.de. !! See http://www.ibr.cs.tu-bs.de/projects/stools/ for more information.
participants (2)
-
Frank Strauss
-
Peter I. Hansen