not configure from fallezilla

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
sania7
Earned a small fee
Earned a small fee
Posts: 10
Joined: Fri Jun 16, 2017 2:03 pm

Re: not configure from fallezilla

Postby sania7 » Sat Jun 17, 2017 3:37 pm

I thank you for your help. The library is established. I followed the adviceONEEYEMAN and installed the packages that recommendedDavidHart My knowledge in the compilation was enlarged, and the knowledge of English was slightly increased :)
At the moment, FileZilla is configured, but not going. I asked a question on the FileZilla forum.
You have a very friendly forum, he helped me. I want to share "warning" make, for develop:

Code: Select all

warning: attribute ignored in declaration of ‘class wxControlRenderer’ [-Wattributes]
 class WXDLLIMPEXP_FWD_CORE wxControlRenderer;
                           

Code: Select all

 ^note: attribute for ‘class wxControlRenderer’ must follow the ‘class’ keyword

ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 1735
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: not configure from fallezilla

Postby ONEEYEMAN » Sat Jun 17, 2017 5:44 pm

Hi,
No problem at all. Glad I could help.
Now, those warnings are coming from the FileZilla compilation or wxWidgets?

Also, we can try to help with FileZilla compilation. What error did you get?

Thank you.

sania7
Earned a small fee
Earned a small fee
Posts: 10
Joined: Fri Jun 16, 2017 2:03 pm

Re: not configure from fallezilla

Postby sania7 » Sat Jun 17, 2017 6:38 pm

ONEEYEMAN wrote:Hi.

Hi!
Привєт, друже!
ONEEYEMAN wrote:Now, those warnings are coming from the FileZilla compilation or wxWidgets?

These errors occurred when wxWidgets were compiled. I put them up, for the purpose that this can be a clue, for the development, and the elimination of errors.
Also, we can try to help with FileZilla compilation. What error did you get?

I thank you, I will remind you that I am doing this for the purpose of training myself, and there is no essential importance in my question.
But if it's really interesting, then I think that the final configuration is not happening, because of the lack of support for the C ++ standard 14 in gcc, I post the whole log, pay attention to the last 2 lines ...

Code: Select all

../configure
[sudo] пароль до sania:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking dependency style of ... none
checking whether C compiler accepts -Werror=partial-availability... no
checking whether the linker accepts -Wl,-no_weak_imports... no
checking whether g++ supports C++14 features by default... no
checking whether g++ supports C++14 features with -std=gnu++14... yes
checking for whether we need -stdlib=libc++... no
checking whether std::map has emplace... yes
checking whether std::chrono::steady_clock is steady... yes
checking for thread_local... yes
checking whether std::atomic can be used without link library... yes
configure: Running sub-configure for shell extension
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libfilezilla >= 0.9.2... yes
checking for wx-config... /usr/local/bin/wx-config
checking for wxWidgets version >= 3.0.3 (--unicode=yes --universal=no)... yes (version 3.0.3)
checking for wxWidgets static library... yes
checking positional printf argument support in wxWidgets... yes
checking GUI support in wxWidgets... yes
checking system type for sftp stub... unix
checking for utmpx.h... yes
checking for sys/select.h... yes
checking for library containing socket... none required
checking for library containing getaddrinfo... none required
checking for library containing in6addr_loopback... none required
checking for getaddrinfo... yes
checking for ptsname... yes
checking for setresuid... yes
checking for strsignal... yes
checking for updwtmpx... yes
checking for gettimeofday... yes
checking for ftime... yes
checking for in6addr_loopback... yes
checking for in6addr_any... yes
checking whether CLOCK_MONOTONIC is declared... yes
checking for SO_PEERCRED and dependencies... yes
checking whether to use windres... no
checking whether the linker accepts -Wl,--dynamicbase... no
checking whether the linker accepts -Wl,--nxcompat... no
checking for AI_IDN defined in netdb.h... yes
checking whether to use BinReloc... yes
checking whether to use precompiled headers... yes
checking for cppunit >= 1.13.0... no
checking for nettle >= 3.1... yes
checking for hogweed >= 3.1... yes
checking for gnutls >= 3.4.15... yes
checking pugixml.hpp usability... yes
checking pugixml.hpp presence... yes
checking for pugixml.hpp... yes
checking for main in -lpugixml... yes
checking for pugixml >= 1.5... yes
checking whether pugixml has been compiled with long long support... yes
configure: Using system pugixml
checking for dbus-1 >= 1.2... yes
checking D-Bus support... yes
checking for xdg-open... /usr/bin/xdg-open
checking for gtk+-2.0... yes
checking for setenv... yes
checking for putenv... yes
checking for posix_fadvise... yes
checking for d_type member in directory struct... yes
checking for localtime_r... yes
checking for gmtime_r... yes
checking for timegm... yes
checking for clock_gettime... yes
checking whether pthread_condattr_setclock is declared... yes
checking for sqlite3 >= 3.7... yes
checking for xgettext... /usr/bin/xgettext
checking for msgfmt... /usr/bin/msgfmt
checking for msgmerge... /usr/bin/msgmerge
checking whether msgmerge version >= 0.11.0... yes, 0.19.7
checking available FZ3 message catalogs... an ar bg_BG ca ca_ES@valencia co cs_CZ cy da de el es et eu fa_IR fi_FI fr gl_ES he_IL hr hu_HU hy id_ID is it ja_JP ka kab km_KH ko_KR ku ky lo_LA lt_LT lv_LV mk_MK nb_NO ne nl nn_NO oc pl_PL pt_BR pt_PT ro_RO ru sk_SK sl_SI sr sv th_TH tr uk_UA vi_VN zh_CN zh_TW
checking for wxrc... /usr/local/bin/wxrc
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/engine/Makefile
config.status: creating src/pugixml/Makefile
config.status: creating src/dbus/Makefile
config.status: creating src/interface/Makefile
config.status: creating src/interface/resources/Makefile
config.status: creating src/include/Makefile
config.status: creating locales/Makefile
config.status: creating data/Makefile
config.status: creating src/interface/resources/classic/Makefile
config.status: creating src/interface/resources/cyril/Makefile
config.status: creating src/interface/resources/cyril/16x16/Makefile
config.status: creating src/interface/resources/blukis/Makefile
config.status: creating src/interface/resources/default/Makefile
config.status: creating src/interface/resources/flatzilla/Makefile
config.status: creating src/interface/resources/lone/Makefile
config.status: creating src/interface/resources/minimal/Makefile
config.status: creating src/interface/resources/opencrystal/Makefile
config.status: creating src/interface/resources/sun/Makefile
config.status: creating src/interface/resources/tango/Makefile
config.status: creating src/putty/Makefile
config.status: creating src/putty/unix/Makefile
config.status: creating src/putty/windows/Makefile
config.status: creating tests/Makefile
config.status: creating src/interface/resources/version.rc
config.status: creating src/interface/resources/MacInfo.plist
config.status: creating src/fzshellext/version.rc
config.status: creating src/include/config.h
config.status: src/include/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

Here Install doc:

Code: Select all

-------------------------
Installation instructions
-------------------------

1. Requirements
---------------

FileZilla depends on the following libraries:
- libfilezilla 0.9.1 or greater
- wxWidgets 3.0.3 or greater
- libidn (only if not on Windows and not having gettaddrinfo with AI_IDN support)
- Nettle 3.1 or greater
- GnuTLS 3.4.15 or greater
- libdbus on *nix
- sqlite3 3.7 or greater

To compile FileZilla 3, the following tools need to be installed:
- A C++14 compiler, e.g. a recent GCC or Clang
- GNU make
- sqlite3

Optional tools:
- recent automake, autoconf if you plan to change configure.in or any of the
  Makefile.am files
- CppUnit >= 1.13.0 if you want to run the tests, which you want.
- NSIS if you want to create the Windows installer

If crosscompiling, a native wxrc tool, which is part of wxWidgets, has to
exist or compilation will fail

2. Compilation
--------------

If using source from the project's Subversion repository,
execute autoreconf -i first to generate configure. This step is
not necessary for source distributions.

Assuming you are in the top source directory, execute the following commands:

mkdir compile
cd compile
../configure
make
make install

The configure script will inform you about missing dependencies or other
issues with your build environment.


Return to “Compiler / Linking / IDE Related”

Who is online

Users browsing this forum: No registered users and 1 guest