[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compilation difficulties on Mac

From: Simon Josefsson
Subject: Re: compilation difficulties on Mac
Date: Wed, 29 Jul 2009 21:46:00 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.96 (gnu/linux)

John Ratliff <address@hidden> writes:

> For some reason, Mac cannot build the doc folder on gnutls. Because of
> this, make install will not proceed. I have been editing the Makefile
> to prevent the doc folder from being built, but I wonder if there is a
> better solution to this.
> I am using the 2009-06-28 daily source release, but this problem
> affects all versions (2.8.1, 2.6.x, 2.4.2, and 2.2.5 tested). It
> manifests on both Tiger and Leopard.

It builds fine on my powerbook:

> My configure line
> ./configure --disable-shared
> --with-libgcrypt-prefix=$HOME/unix/libgcrypt --prefix
> $HOME/unix/gnutls-20090628
> My configure output:
> The output of make

Can you try without --disabled-shared?

> The library builds fine, and if I edit the Makefile to tell it to
> ignore the doc directory, I can use make install and the library works
> perfectly. I am presently using this patch
> to adjust the
> Makefile.
> Any better suggestions?

Sorry I can't think of anything.  The error message is:

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -I../lib/includes -I../lib/includes 
-I/Users/jdratlif/unix/libgpg-error-1.7/include  -g -O2 -MT errcodes.o -MD -MP 
-MF .deps/errcodes.Tpo -c -o errcodes.o errcodes.c
mv -f .deps/errcodes.Tpo .deps/errcodes.Po
/bin/sh ../libtool --tag=CC   --mode=link gcc -std=gnu99  -g -O2   -o errcodes 
errcodes.o ../lib/ ../gl/ 
libtool: link: gcc -std=gnu99 -g -O2 -o errcodes errcodes.o  
../lib/.libs/libgnutls.a -L/Users/jdratlif/unix/libgcrypt/lib 
-L/Users/jdratlif/unix/libgpg-error-1.7/lib -lz 
/Users/jdratlif/unix/libgpg-error-1.7/lib/libgpg-error.a ../gl/.libs/libgnu.a
Undefined symbols:
  "__gnutls_log_func", referenced from:
      __gnutls_log_func$non_lazy_ptr in libgnutls.a(gnutls_errors.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[4]: *** [errcodes] Error 1

but I don't recognize it.  If dropping --disable-shared doesn't help I
don't know.  Maybe some Mac OS X expert can help if you quote the above
error message.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]