Cannot compile FileZilla

Moderator: Project members

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

Re: Cannot compile FileZilla

#16 Post by botg » 2024-05-10 08:06

AutomaterPrime wrote:
2024-05-08 16:52
I tried the above flags and when that didn't work, I realized the that 'l' probably needed to be 'L' so I redid that part.
-L is definitely wrong in CPPFLAGS.

Note that you are cross-compiling, the tests fail because you cannot execute them on a Linux machine.

AutomaterPrime
500 Syntax error
Posts: 13
Joined: 2024-04-19 17:23
First name: Systems
Last name: Administrator

Re: Cannot compile FileZilla

#17 Post by AutomaterPrime » 2024-05-16 17:08

I will retest this soon. Thanks!

AutomaterPrime
500 Syntax error
Posts: 13
Joined: 2024-04-19 17:23
First name: Systems
Last name: Administrator

Re: Cannot compile FileZilla

#18 Post by AutomaterPrime » 2024-05-21 15:01

-L is definitely wrong in CPPFLAGS.

Note that you are cross-compiling, the tests fail because you cannot execute them on a Linux machine.
Here is the current setup I'm running in terminal (please let me know if I misunderstood a post, got something wrong):
As root, execute:

dpkg --add-architecture i386
apt update
apt install automake autoconf libtool make gettext lzip xz-utils
apt install mingw-w64 pkg-config wx-common wine wine64 wine32 wine-binfmt subversion git

Back as normal user, execute:

mkdir ~/prefix
mkdir ~/src
export PATH="$HOME/prefix/bin:$PATH"
export LD_LIBRARY_PATH="$HOME/prefix/lib:$LD_LIBRARY_PATH"
export PKG_CONFIG_PATH="$HOME/prefix/lib/pkgconfig:$PKG_CONFIG_PATH"
export TARGET_HOST=x86_64-w64-mingw32
export LDFLAGS="-L$HOME/prefix/lib"
export CCPFLAGS="-l$HOME/prefix/include"

wine reg add HKCU\\Environment /f /v PATH /d "`x86_64-w64-mingw32-g++ -print-search-dirs | grep ^libraries | sed 's/^libraries: =//' | sed 's/:/;z:/g' | sed 's/^\\//z:\\\\\\\\/' | sed 's/\\//\\\\/g'`"
And here's the error I get:
checking for GMP limb size... configure: error: in `/home/myname/src/nettle-3.9.1':
configure: error: cannot find value of GMP_NUMB_BITS
See `config.log' for more details
user@machine~/src/nettle-3.9.1$ make
make: *** No targets specified and no makefile found. Stop.

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

Re: Cannot compile FileZilla

#19 Post by botg » 2024-05-21 22:46

export CCPFLAGS="-l$HOME/prefix/include"
Should be CPP for C Preprocessor.

Post Reply