Mac build recipe not working on OSX 10.10 / XCode 7.2

Moderator: Project members

Post Reply
Message
Author
memecode
500 Command not understood
Posts: 4
Joined: 2016-02-08 00:43

Mac build recipe not working on OSX 10.10 / XCode 7.2

#1 Post by memecode » 2016-02-08 01:01

I've been trying to following this to the letter:
https://wiki.filezilla-project.org/Comp ... r_Mac_OS_X

And I get as far as building gnutls and the configure script bombs out with:

Code: Select all

checking for NETTLE... no
configure: error: 
  ***
  *** Libnettle 3.1 was not found.
Is this a new thing? Can others still build ok from scratch?

Nettle seems to exist in the right place:

Code: Select all

Mac-Pro:gnutls-3.4.8 matthew$ ls -l ~/prefix/lib/*nettle*
-rw-r--r--  1 matthew  staff  986240  8 Feb 11:39 /Users/matthew/prefix/lib/libnettle.a

Code: Select all

Mac-Pro:gnutls-3.4.8 matthew$ ls -l ~/prefix/include/nettle | grep nettle
-rw-r--r--  1 matthew  staff   7196  8 Feb 11:39 nettle-meta.h
-rw-r--r--  1 matthew  staff   8125  8 Feb 11:39 nettle-stdint.h
-rw-r--r--  1 matthew  staff   3192  8 Feb 11:39 nettle-types.h

The higher level issue I'm trying to solve is not actually building FileZilla but working out why my unrelated application doesn't generate file drags that are accepted by MacOSX's Finder. Something to do with Finder now being sandboxed. FileZilla happens to support dropping files from the local file view to Finder ok, so I thought that maybe I could just step down into wxWidgets and see what they do in terms of adding data to the pasteboard. If anyone is kind enough to point me to where that drag starts in the list view it would save me some time.

User avatar
botg
Site Admin
Posts: 35555
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Mac build recipe not working on OSX 10.10 / XCode 7.2

#2 Post by botg » 2016-02-08 09:22

Did you at any time close your terminal? If so, repeat the step that sets the environment variables.

memecode
500 Command not understood
Posts: 4
Joined: 2016-02-08 00:43

Re: Mac build recipe not working on OSX 10.10 / XCode 7.2

#3 Post by memecode » 2016-02-08 10:37

botg wrote:Did you at any time close your terminal? If so, repeat the step that sets the environment variables.
No I didn't. And I know to re-run the commands. I even put them in a script so I can do so quickly and accurately.

User avatar
botg
Site Admin
Posts: 35555
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Mac build recipe not working on OSX 10.10 / XCode 7.2

#4 Post by botg » 2016-02-08 15:34

Did you source (aka .) the script?


Please attach GnuTLS' config.log, it contains additional diagnostic information.

memecode
500 Command not understood
Posts: 4
Joined: 2016-02-08 00:43

Re: Mac build recipe not working on OSX 10.10 / XCode 7.2

#5 Post by memecode » 2016-02-08 20:38

botg wrote:Did you source (aka .) the script?
No I didn't. But a quick google has taught me what that is. :oops:
botg wrote:Please attach GnuTLS' config.log, it contains additional diagnostic information.
After properly sourcing the script of env stuff, I can configure gnutls ok. But it doesn't build:

Code: Select all

In file included from output.c:34:
./gnutls-idna.h:29:11: fatal error: 'idna.h' file not found
Maybe gnutls has a new dependency that isn't reflected in the wiki yet? I will investigate.

Thanks for responding botg.

memecode
500 Command not understood
Posts: 4
Joined: 2016-02-08 00:43

Re: Mac build recipe not working on OSX 10.10 / XCode 7.2

#6 Post by memecode » 2016-02-08 20:46

memecode wrote:After properly sourcing the script of env stuff, I can configure gnutls ok. But it doesn't build:

Code: Select all

In file included from output.c:34:
./gnutls-idna.h:29:11: fatal error: 'idna.h' file not found
One way to get it to compile is to turn off libidn:

./configure --prefix="$HOME/prefix" --disable-shared --with-included-libtasn1 --without-p11-kit --disable-doc --enable-local-libopts --without-idn

But I don't know what repercussions that will have down the line.

Edit: actually libidn is further down the list of things to install... so really that needs to go up above gnutls...

Confirmed: gnutls does build with idn, if you first build and install libidn. So changing the order in the wiki is all that is needed.

Post Reply