FileZilla Forums

Welcome to the official discussion forums for FileZilla
Donate to project
It is currently 2010-09-02 16:37

All times are UTC




Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Compiling on Mac and wxWidgets
PostPosted: 2008-02-24 11:41 
Offline
500 Syntax error
User avatar

Joined: 2008-02-24 09:49
Posts: 17
Location: Brussels, Belgium
Hi,

I just tried to compile the latest release on 10.4.11 and a more recent version of wxWidgets is required. If I compile wxMax-2.8.7, and re-build Filezilla, does that mean that end-users will be required to install latest version of wxWidgets?
Or can this be avoided.

I have no prior experience with C/C++ compilers.

Mike


Top
 Profile  
 
 Post subject: Re: Compiling on Mac and wxWidgets
PostPosted: 2008-02-24 11:49 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 14307
You can configure it with --enable-static


Top
 Profile  
 
 Post subject: Re: Compiling on Mac and wxWidgets
PostPosted: 2008-02-24 12:52 
Offline
500 Syntax error
User avatar

Joined: 2008-02-24 09:49
Posts: 17
Location: Brussels, Belgium
I've done the --disable-share option. I have adapted my PATH en LD_LIBRARY_PATH and got past the wx-widget bit in configure.

Now I have to get past the libidn. Just downloaded/configured/made libidn, but I guess I'll need a way to tell my Filezilla compilation to go and look for the headers in a specific location.
This will have to wait until I got showered, the missus doesn't like me sitting in my dressing gown behind the computer.


Top
 Profile  
 
 Post subject: Re: Compiling on Mac and wxWidgets
PostPosted: 2008-02-24 13:11 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 14307
Should be enough to set CPPFLAGS="-I /path/to/the/dir/containing/idna.h"


Top
 Profile  
 
 Post subject: Re: Compiling on Mac and wxWidgets
PostPosted: 2008-02-24 13:43 
Offline
500 Syntax error
User avatar

Joined: 2008-02-24 09:49
Posts: 17
Location: Brussels, Belgium
Code:
-I/Users/mikereys/Desktop/wxMac-2.8.7/osx-build/lib/wx/include/mac-ansi-release-static-2.8 -I/Users/mikereys/Desktop/wxMac-2.8.7/include -I/Users/mikereys/Desktop/wxMac-2.8.7/contrib/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXMAC__
checking idna.h usability... no
checking idna.h presence... no
checking for idna.h... no
configure: error: idna.h not found which is part of GNU libidn.

Code:
$ echo $CPPFLAGS
-I /Users/mikereys/Desktop/libidn-1.5/lib/
$ ls /Users/mikereys/Desktop/libidn-1.5/lib/
Makefile.am                     punycode.c
Makefile.in                     punycode.h
gen-stringprep-tables.pl        rfc3454.c
gen-tld-tables.pl               strerror-idna.c
gen-unicode-tables.pl           strerror-pr29.c
gl                              strerror-punycode.c
gunibreak.h                     strerror-stringprep.c
gunicomp.h                      strerror-tld.c
gunidecomp.h                    stringprep.c
idn-free.c                      stringprep.h
idn-free.h                      stringprep.h.in
idna.c                          tld.c
idna.h                          tld.h
nfkc.c                          tlds.c
pr29.c                          toutf8.c
pr29.h                          version.c
profiles.c

Hmmm... no progress.


Top
 Profile  
 
 Post subject: Re: Compiling on Mac and wxWidgets
PostPosted: 2008-02-24 14:31 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 14307
header files in lib/ sounds broken, they should be in include/

Looks like you just extracted libidn in to lib/ but didn't compile and install it.


Top
 Profile  
 
 Post subject: Re: Compiling on Mac and wxWidgets
PostPosted: 2008-02-24 19:05 
Offline
500 Syntax error
User avatar

Joined: 2008-02-24 09:49
Posts: 17
Location: Brussels, Belgium
Getting stuck at compiling gnutls
I tried all the recent versions down to 2.0.4 (minimum required to compile FileZilla).

Code:
.libs/libgnutls-extra.lax/liblgnu.a/gc-pbkdf2-sha1.o definition of _gc_pbkdf2_sha1 in section (__TEXT,__text)
../lib/.libs/libgnutls.dylib(gc-pbkdf2-sha1.o) definition of _gc_pbkdf2_sha1
ld: Undefined symbols:
_deflate
_deflateEnd
_deflateInit2_
_deflateInit_
_inflate
_inflateEnd
_inflateInit2_
_inflateInit_
/usr/bin/libtool: internal link edit command failed
make[3]: *** [libgnutls-extra.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


I haven't got anymore time, but I'll start looking into issues compiling gnutls on Mac Tiger on Google. Ever ran into trouble with this package, as it's a prereq for FileZilla?


Top
 Profile  
 
 Post subject: Re: Compiling on Mac and wxWidgets
PostPosted: 2008-02-24 19:52 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 14307
Can't recall having had this problem.


Top
 Profile  
 
 Post subject: Re: Compiling on Mac and wxWidgets
PostPosted: 2008-02-27 12:51 
Offline
500 Syntax error
User avatar

Joined: 2008-02-24 09:49
Posts: 17
Location: Brussels, Belgium
There was an issue with zlib. The guys from gnutls helped me out.

I have a compiled version which I will test... Please let me know how we can proceed to get this distributed, what are the normal procedures...? I have no experience distributing open source software.

Mike


Top
 Profile  
 
 Post subject: Re: Compiling on Mac and wxWidgets
PostPosted: 2008-05-27 15:02 
Offline
500 Command not understood

Joined: 2008-05-27 14:57
Posts: 2
Hi Mike,

Have you had any luck with this? I'm very new to Macs and completely new to developing, so the technicalities of making FileZilla from the source files is waaay over my head. I've downloaded all the necessary additions, but I don't even know how to configure and make them, so I'm stopping here until I'm better informed.

If you have a distributable version for OS X 10.4 I'd be so incredibly grateful - I've finally got to the end of my tether with the other alternatives, and I just want FileZilla back.

Thankyou!

Lewis


Top
 Profile  
 
 Post subject: Re: Compiling on Mac and wxWidgets
PostPosted: 2008-05-27 15:40 
Offline
500 Syntax error
User avatar

Joined: 2008-02-24 09:49
Posts: 17
Location: Brussels, Belgium
Nope,

have been struggling to get libgnutls compiled again... there are errors that I cannot solve, and others have no time of solving.

I did manage to get one compiled for me, but then you need to have shared libraries. It's a mess! I'll probably upgrade to 10.5 soon anyway...


Top
 Profile  
 
 Post subject: Re: Compiling on Mac and wxWidgets
PostPosted: 2008-05-29 08:37 
Offline
500 Command not understood

Joined: 2008-05-27 14:57
Posts: 2
Nightmare.

It seems so obvious to have a two-panel ftp system. I've been using classicFTP recently which is desperately slow and requires that you confirm each transfer individually, which is utterly ridiculous. Cyberduck is rubbish too.

Ho hum

Thanks anyway!

Lewis


Top
 Profile  
 
 Post subject: Re: Compiling on Mac and wxWidgets
PostPosted: 2009-04-22 14:30 
Offline
500 Command not understood
User avatar

Joined: 2009-04-22 14:15
Posts: 4
Location: Kamen, Germany
I've had tons of problems, but got it solved.
If you want exactly to know what I did, please ask.

Go to my Blog to download the 3.2.4 working FileZilla.app file.

_________________
Blog: http://www.markuszeller.com


Top
 Profile  
 
 Post subject: Re: Compiling on Mac and wxWidgets
PostPosted: 2009-04-22 18:57 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 14307
markuszeller, your build is dangerous. It _will_ cause data corruption.


Top
 Profile  
 
 Post subject: Re: Compiling on Mac and wxWidgets
PostPosted: 2009-04-23 04:47 
Offline
500 Command not understood
User avatar

Joined: 2009-04-22 14:15
Posts: 4
Location: Kamen, Germany
Maybe you are right, but I used it now for several hours and files. This worked out so good that I can not report any problem.

Please, can you explain, why it could be dangerous when I absolutely want to update the files? The only thing happenig is, that it is not asking, just uploading - exactly what this topic is about.

_________________
Blog: http://www.markuszeller.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: MSN [Bot] and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group