From owner-freebsd-ports Sat Mar 17 15:33:57 2001 Delivered-To: freebsd-ports@freebsd.org Received: from hal9000.bsdonline.org (24-168-203-47.wo.cox.rr.com [24.168.203.47]) by hub.freebsd.org (Postfix) with ESMTP id 6F71637B718 for ; Sat, 17 Mar 2001 15:33:44 -0800 (PST) (envelope-from ajc@hal9000.bsdonline.org) Received: by hal9000.bsdonline.org (Postfix, from userid 1001) id 2A08E1FB5; Sat, 17 Mar 2001 17:33:00 -0500 (EST) Date: Sat, 17 Mar 2001 17:33:00 -0500 From: Andrew J Caines To: FreeBSD ports Cc: ve@sci.fi Subject: Problem building fetchmail 5.7.2 - canot find libintl.h Message-ID: <20010317173300.F40626@hal9000.bsdonline.org> Reply-To: Andrew J Caines Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Organization: H.A.L. Plant X-Powered-by: FreeBSD 4.2-STABLE Importance: Normal Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Building fetchmail 5.7.2 with no extra options (Kerberos, X11, etc.) on FreeBSD 4.2-STABLE (Thu Feb 1 07:15:26 EST 2001), I get the following error: cc -DHAVE_CONFIG_H -DLOCALEDIR='"/usr/local/share/locale"' -c -I. -I. -I/usr/include -I/usr/include/openssl -O2 -march=i686 -mcpu=i686 -pipe rcfile_y.c In file included from ./rcfile_y.y:30: i18n.h:6: libintl.h: No such file or directory It appears that the build is looking for libintl.h in /usr/include/ when it is in /usr/local/include/ instead. Looking in the makefile, I see CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" \ CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" and at the start of the build it says ===> fetchmail-5.7.2 depends on shared library: intl.1 - found so I'm at a loss to find the source or the problem. Other ports are working fine. Here's the full build attempt: # make ===> Extracting for fetchmail-5.7.2 >> Checksum OK for fetchmail-5.7.2.tar.gz. ===> fetchmail-5.7.2 depends on shared library: intl.1 - found ===> Patching for fetchmail-5.7.2 ===> Applying FreeBSD patches for fetchmail-5.7.2 ===> Configuring for fetchmail-5.7.2 loading site script /usr/local/etc/config.site creating cache ./config.cache checking host system type... i386--freebsd4.2 checking for gcc... cc checking whether the C compiler (cc -O2 -march=i686 -mcpu=i686 -pipe -L/usr/local/lib) works... yes checking whether the C compiler (cc -O2 -march=i686 -mcpu=i686 -pipe -L/usr/local/lib) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel checking how to run the C preprocessor... cc -E checking whether cc understands -c and -o together... yes checking for AIX... no checking for POSIXized ISC... no checking for minix/config.h... no checking for ANSI C header files... yes checking for size_t... yes checking for pid_t... yes checking return type of signal handlers... void checking for unistd.h... yes checking for termios.h... yes checking for termio.h... no checking for sgtty.h... yes checking for stdarg.h... yes checking for alloca.h... no checking for sys/itimer.h... no checking for fcntl.h... yes checking for sys/fcntl.h... yes checking for memory.h... yes checking for sys/wait.h... yes checking for arpa/inet.h... yes checking for arpa/nameser.h... yes checking for resolv.h... yes checking for net/socket.h... no checking for sys/select.h... yes checking for working const... yes checking for flex... flex checking for yywrap in -lfl... yes checking for bison... bison -y Adding -lmd -lkvm -lcom_err to standard libraries checking whether make sets ${MAKE}... yes checking for ranlib... ranlib checking for inline... inline checking for off_t... yes checking for working alloca.h... (cached) no checking for alloca... yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for argz.h... no checking for limits.h... yes checking for locale.h... yes checking for nl_types.h... yes checking for malloc.h... no checking for string.h... yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getcwd... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for strchr... yes checking for strcasecmp... yes checking for strdup... yes checking for __argz_count... no checking for __argz_stringify... no checking for __argz_next... no checking for stpcpy... no checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking for libintl.h... yes checking for gettext in libc... no checking for bindtextdomain in -lintl... yes checking for gettext in libintl... checking for gettext in -lintl... yes yes checking for msgfmt... /usr/local/bin/msgfmt checking for dcgettext... no checking for gmsgfmt... /usr/local/bin/msgfmt checking for xgettext... /usr/local/bin/xgettext checking for catalogs to be installed... cs es fr pl pt_BR gl da checking for socket... yes using libc's socket checking for gettext... no checking for gettext in -lintl... (cached) yes checking for inet_addr... yes using libc's inet_addr checking for strchr in -lcposix... no checking for strstr... yes checking for strcasecmp... (cached) yes checking for memmove... yes checking for getopt_long... no checking for MD5Init... yes checking for vprintf... yes checking for working alloca.h... (cached) no checking for alloca... (cached) yes checking for tcsetattr... yes checking for stty... no checking for setsid... yes checking for geteuid... yes checking for seteuid... yes checking for gethostbyname... yes checking for res_search... yes checking for herror... yes checking for strrchr... yes checking for strerror... yes checking for setlinebuf... yes checking for syslog... yes checking for snprintf... yes checking for vprintf... (cached) yes checking for vsnprintf... yes checking for vsyslog... yes checking for atexit... yes checking for inet_aton... yes checking for strftime... yes checking for setrlimit... yes checking for socketpair... yes checking for sigprocmask... yes checking for sigaction... yes checking for res_search... (cached) yes using libc's resolver functions checking for crypt... no checking for crypt in -lcrypt... yes checking for RSAPublicDecrypt in -lrsaref... no checking use of void pointer type... yes checking for ANSI volatile... yes checking for waitpid... yes checking for wait3... yes checking for union wait... yes checking sys_siglist declaration in signal.h or unistd.h... yes root-mode pid file will go in /var/run checking size of short... 2 checking size of int... 4 checking size of long... 4 Enabling internationalization support... checking for opie.h... yes checking for opiegenerator in -lopie... yes checking for getaddrinfo... yes checking for inner_connect... no Enabling OpenSSL support in /usr updating cache ./config.cache creating ./config.status creating Makefile creating po/Makefile.in creating config.h You can ignore any makedepend error messages: makedepend: warning: checkalias.c (reading i18n.h, line 6): cannot find include file "libintl.h" not in /usr/include/libintl.h not in /usr/include/libintl.h ===> Building for fetchmail-5.7.2 expect conflicts: 2 shift/reduce bison -y -d ./rcfile_y.y conflicts: 2 shift/reduce mv y.tab.c rcfile_y.c mv -f y.tab.h rcfile_y.h cc -DHAVE_CONFIG_H -DLOCALEDIR='"/usr/local/share/locale"' -c -I. -I. -I/usr/include -I/usr/include/openssl -O2 -march=i686 -mcpu=i686 -pipe rcfile_y.c In file included from ./rcfile_y.y:30: i18n.h:6: libintl.h: No such file or directory ./rcfile_y.y: In function `yyparse': ./rcfile_y.y:116: warning: passing arg 1 of `yyerror' makes pointer from integer without a cast ./rcfile_y.y:215: warning: passing arg 1 of `yyerror' makes pointer from integer without a cast ./rcfile_y.y: In function `yyerror': ./rcfile_y.y:371: warning: pointer/integer type mismatch in conditional expression ./rcfile_y.y:371: warning: passing arg 5 of `report_at_line' makes pointer from integer without a cast ./rcfile_y.y: In function `prc_filecheck': ./rcfile_y.y:408: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast ./rcfile_y.y:416: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast ./rcfile_y.y:427: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast *** Error code 1 Stop in /.disk/ports/mail/fetchmail/work/fetchmail-5.7.2. *** Error code 1 Stop in /.disk/ports/mail/fetchmail. *** Error code 1 Stop in /.disk/ports/mail/fetchmail. *** Error code 1 Stop in /.disk/ports/mail/fetchmail. -Andrew- -- _______________________________________________________________________ | -Andrew J. Caines- Unix Systems Engineer A.J.Caines@altavista.net | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message