Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Sep 2001 18:33:00 -0400 (EDT)
From:      EigenLint <lint@satan.reject.org>
To:        <gnome@freebsd.org>, <ports@freebsd.org>
Subject:   gtkhtml fails to link
Message-ID:  <Pine.BSO.4.30.0109141811080.17649-100000@satan.reject.org>

next in thread | raw e-mail | index | archive | help
i've been seeing this for a while now (even across version upgrades of
this package), the configure script fails on the gtkhtml port. it appears
to have something to do with libintl/gettext...

thanks to anyone who can let me know what i've done wrong... this
apparently works for everyone else (including my other FreeBSD workstation
:)

following is the offending (sort of long) bit from config.log:

configure:2958: checking for __argz_count
configure:2986: cc -o conftest -O -pipe  -I/usr/X11R6/include -Wall -Wunused  -I/usr/local/include  -L/usr/X11R6/lib conftest.c -L/usr/local/lib 1>&5
/tmp/cc5uAIkB.o: In function `main':
/tmp/cc5uAIkB.o(.text+0x7): undefined reference to `__argz_count'
configure: failed program was:
#line 2963 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __argz_count(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __argz_count();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub___argz_count) || defined (__stub_____argz_count)
choke me
#else
__argz_count();
#endif

; return 0; }
configure:2958: checking for __argz_stringify
configure:2986: cc -o conftest -O -pipe  -I/usr/X11R6/include -Wall -Wunused  -I/usr/local/include  -L/usr/X11R6/lib conftest.c -L/usr/local/lib 1>&5
/tmp/ccdFN4HX.o: In function `main':
/tmp/ccdFN4HX.o(.text+0x7): undefined reference to `__argz_stringify'
configure: failed program was:
#line 2963 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __argz_stringify(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __argz_stringify();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub___argz_stringify) || defined (__stub_____argz_stringify)
choke me
#else
__argz_stringify();
#endif

; return 0; }
configure:2958: checking for __argz_next
configure:2986: cc -o conftest -O -pipe  -I/usr/X11R6/include -Wall -Wunused  -I/usr/local/include  -L/usr/X11R6/lib conftest.c -L/usr/local/lib 1>&5
/tmp/ccNpAmPA.o: In function `main':
/tmp/ccNpAmPA.o(.text+0x7): undefined reference to `__argz_next'
configure: failed program was:
#line 2963 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __argz_next(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __argz_next();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub___argz_next) || defined (__stub_____argz_next)
choke me
#else
__argz_next();
#endif

; return 0; }
configure:3015: checking for stpcpy
configure:3043: cc -o conftest -O -pipe  -I/usr/X11R6/include -Wall -Wunused  -I/usr/local/include  -L/usr/X11R6/lib conftest.c -L/usr/local/lib 1>&5
/tmp/ccbfzuiE.o: In function `main':
/tmp/ccbfzuiE.o(.text+0x7): undefined reference to `stpcpy'
configure: failed program was:
#line 3020 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char stpcpy(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char stpcpy();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_stpcpy) || defined (__stub___stpcpy)
choke me
#else
stpcpy();
#endif

; return 0; }
configure:3077: checking for LC_MESSAGES
configure:3089: cc -o conftest -O -pipe  -I/usr/X11R6/include -Wall -Wunused  -I/usr/local/include  -L/usr/X11R6/lib conftest.c -L/usr/local/lib 1>&5
configure:3110: checking whether NLS is requested
configure:3143: checking for libintl.h
configure:3153: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3170: checking for gettext in libc
configure:3182: cc -o conftest -O -pipe  -I/usr/X11R6/include -Wall -Wunused  -I/usr/local/include  -L/usr/X11R6/lib conftest.c -L/usr/local/lib 1>&5
/tmp/ccNaPLrF.o: In function `main':
/tmp/ccNaPLrF.o(.text+0xf): undefined reference to `gettext'
configure: failed program was:
#line 3175 "configure"
#include "confdefs.h"
#include <libintl.h>
int main() {
return (int) gettext ("")
; return 0; }
configure:3198: checking for bindtextdomain in -lintl
configure:3217: cc -o conftest -O -pipe  -I/usr/X11R6/include -Wall -Wunused  -I/usr/local/include  -L/usr/X11R6/lib conftest.c -lintl  -L/usr/local/lib 1>&5
configure:3233: checking for gettext in libintl
configure:3238: checking for gettext in -lintl
configure:3257: cc -o conftest -O -pipe  -I/usr/X11R6/include -Wall -Wunused  -I/usr/local/include  -L/usr/X11R6/lib conftest.c -lintl  -L/usr/local/lib 1>&5
configure:3296: checking for msgfmt
configure:3330: checking for dcgettext
configure:3358: cc -o conftest -O -pipe  -I/usr/X11R6/include -Wall -Wunused  -I/usr/local/include  -L/usr/X11R6/lib conftest.c -L/usr/local/lib 1>&5
/tmp/ccp56ylp.o: In function `main':
/tmp/ccp56ylp.o(.text+0x7): undefined reference to `dcgettext'
configure: failed program was:
#line 3335 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char dcgettext(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dcgettext();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_dcgettext) || defined (__stub___dcgettext)
choke me
#else
dcgettext();
#endif

; return 0; }
configure:3385: checking for gmsgfmt
configure:3421: checking for xgettext
configure:3461: cc -o conftest -O -pipe  -I/usr/X11R6/include -Wall -Wunused  -I/usr/local/include  -L/usr/X11R6/lib conftest.c -L/usr/local/lib 1>&5
/tmp/ccxcQdjg.o: In function `main':
/tmp/ccxcQdjg.o(.text+0x4): undefined reference to `_nl_msg_cat_cntr'
configure: failed program was:
#line 3453 "configure"
#include "confdefs.h"

int main() {
extern int _nl_msg_cat_cntr;
			       return _nl_msg_cat_cntr
; return 0; }
configure:3738: checking for catalogs to be installed
configure:3845: checking for Gnome App libraries (GAL) >= 0.7.99.5
configure:3860: checking for capplet libraries




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSO.4.30.0109141811080.17649-100000>