Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 May 2004 18:53:27 +0200
From:      Kay Lehmann <kay_lehmann@web.de>
To:        Quincey Koziol <koziol@ncsa.uiuc.edu>
Cc:        ports@freebsd.org
Subject:   Re: Failure upgrading gnumeric after libgsf changes
Message-ID:  <40B4CB87.6050203@web.de>
In-Reply-To: <200405261432.i4QEW8eO065394@sleipnir.ncsa.uiuc.edu>
References:  <200405261432.i4QEW8eO065394@sleipnir.ncsa.uiuc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

you turned on the knob for threading in libxml2. As far as I know there 
are a lot of people who report such errors and you could take a look at 
freebsd-gnome@ list, how to solve this.
You have to reinstall libxml2 without threading or modify 
libgsf-Makefile and add PTHREAD_CFLAGS etc. to configure-environment.

Greets,
Kay

Quincey Koziol wrote:
> Hi all,
>     I'm getting the following failure from attempting to upgrade libgsf-gnome
> after the recent changes to the libgsf port:
> 
> ============================================================================
> 
> ===>  Configuring for libgsf-gnome-1.9.1_1
> checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
> checking whether build environment is sane... yes
> /usr/ports/devel/libgsf-gnome/work/libgsf-1.9.1/missing: Unknown `--run' option
> Try `/usr/ports/devel/libgsf-gnome/work/libgsf-1.9.1/missing --help' for more information
> configure: WARNING: `missing' script is too old or missing
> checking for gawk... no
> checking for mawk... no
> checking for nawk... nawk
> checking whether gmake sets $(MAKE)... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for gcc... cc
> checking for C compiler default output file name... configure: error: C compiler cannot create executables
> See `config.log' for more details.
> ===>  Script "configure" failed unexpectedly.
> Please report the problem to gnome@FreeBSD.org [maintainer] and attach the
> "/usr/ports/devel/libgsf-gnome/work/libgsf-1.9.1/config.log" including the
> output of the failure of your make command. Also, it might be a good idea to
> provide an overview of all packages installed on your system (e.g. an `ls
> /var/db/pkg`).
> *** Error code 1
> 
> Stop in /usr/ports/devel/libgsf-gnome.
> *** Error code 1
> 
> ============================================================================
> 
>     Here's the config.log produced:
> 
> ============================================================================
> 
...
> configure:2279: $? = 1
> configure:2302: checking for C compiler default output file name
> configure:2305: cc -O2 -pipe -march=k6 -I/usr/local/include -L/usr/local/lib -lgsf-1 conftest.c  >&5
> /usr/local/lib/libxml2.so.5: undefined reference to `pthread_cond_signal'
> /usr/local/lib/libxml2.so.5: undefined reference to `pthread_getspecific'
> /usr/local/lib/libxml2.so.5: undefined reference to `pthread_equal'
> /usr/local/lib/libxml2.so.5: undefined reference to `pthread_once'
> /usr/local/lib/libxml2.so.5: undefined reference to `pthread_key_create'
> /usr/local/lib/libxml2.so.5: undefined reference to `pthread_cond_init'
> /usr/local/lib/libxml2.so.5: undefined reference to `pthread_mutex_unlock'
> /usr/local/lib/libxml2.so.5: undefined reference to `pthread_self'
> /usr/local/lib/libxml2.so.5: undefined reference to `pthread_mutex_destroy'
> /usr/local/lib/libxml2.so.5: undefined reference to `pthread_mutex_lock'
> /usr/local/lib/libxml2.so.5: undefined reference to `pthread_cond_wait'
> /usr/local/lib/libxml2.so.5: undefined reference to `pthread_mutex_init'
> /usr/local/lib/libxml2.so.5: undefined reference to `pthread_setspecific'
> configure:2308: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE "libgsf"
> | #define VERSION "1.9.1"
> | /* end confdefs.h.  */
> | 
> | int
> | main ()
> | {
> | 
> |   ;
> |   return 0;
> | }
> configure:2346: error: C compiler cannot create executables
> See `config.log' for more details.
...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40B4CB87.6050203>