Re: [OpenIndiana-discuss] Building Filezilla 3.41.2 - second attempt
In regard to: Re: [OpenIndiana-discuss] Building Filezilla 3.41.2 - second...: CXX=/usr/gcc/6/bin/g++ CXXFLAGS="-std=c++14 -m64 -I/opt/gnu/include -I/opt/gnu/include/wx-3.0 -I/opt/gnu/include/wx-3.0/wx -I/usr/include/idn -I/usr/gnu/include" LDFLAGS="-L/opt/gnu/lib -L/opt/gnu/lib/64" CC=/usr/gcc/6/bin/gcc CFLAGS="-m64 -I/opt/gnu/include -I/opt/gnu/include/wx-3.0 -I/opt/gnu/include/wx-3.0/wx -I/usr/include/idn -I/usr/gnu/include" NETTLE_CFLAGS=-I/opt/gnu/include NETTLE_LIBS="-L/opt/gnu/lib/64" HOGWEED_CFLAGS=-I/opt/gnu/include HOGWEED_LIBS=-L/opt/gnu/lib/64 LIBFILEZILLA_CFLAGS=-I/opt/gnu/include LIBFILEZILLA_LIBS=-L/opt/gnu/lib PKG_CONFIG_PATH="/opt/gnu/lib;/opt/gnu/lib/64" That's an error ---^ Use a : instead to separate components in that PATH. I'm also wondering why you're mixing both the 32 and 64 bit directories in the path, and in some -L arguments. If you want 64 bit, make sure that's specified throughout, and make sure -m64 is specified too. LIBGNUTLS_CFLAGS="-I/usr/gnu/include/gnutls" LIBGNUTLS_LIBS="-L/usr/gnu/lib" ./configure --prefix=/opt/gnu --enable-static --disable-shared --with-pugixml=builtin This fails complaining about c++14 support, however gcc 6.1 and later fully support c++14, see https://gcc.gnu.org/projects/cxx-status.html#cxx14 checking whether C compiler accepts -Werror=partial-availability... no checking whether the linker accepts -Wl,-no_weak_imports... no checking whether /usr/gcc/8/bin/g++ supports C++14 features by default... no checking whether /usr/gcc/8/bin/g++ supports C++14 features with -std=gnu++14... no checking whether /usr/gcc/8/bin/g++ supports C++14 features with -std=gnu++1y... no checking whether /usr/gcc/8/bin/g++ supports C++14 features with -std=c++14... You can work backward from the end of config.log to find the message that corresponds to each of these and the output of what failed that caused the "no" for each of them. Tim -- Tim Mooney tim.moo...@ndsu.edu Enterprise Computing & Infrastructure 701-231-1076 (Voice) Room 242-J6, Quentin Burdick Building 701-231-8541 (Fax) North Dakota State University, Fargo, ND 58105-5164 ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Building Filezilla 3.41.2 - second attempt
Hi, When I specifically modify the configure command as shown below CXX=/usr/gcc/6/bin/g++ CXXFLAGS="-std=c++14 -m64 -I/opt/gnu/include -I/opt/gnu/include/wx-3.0 -I/opt/gnu/include/wx-3.0/wx -I/usr/include/idn -I/usr/gnu/include" LDFLAGS="-L/opt/gnu/lib -L/opt/gnu/lib/64" CC=/usr/gcc/6/bin/gcc CFLAGS="-m64 -I/opt/gnu/include -I/opt/gnu/include/wx-3.0 -I/opt/gnu/include/wx-3.0/wx -I/usr/include/idn -I/usr/gnu/include" NETTLE_CFLAGS=-I/opt/gnu/include NETTLE_LIBS="-L/opt/gnu/lib/64" HOGWEED_CFLAGS=-I/opt/gnu/include HOGWEED_LIBS=-L/opt/gnu/lib/64 LIBFILEZILLA_CFLAGS=-I/opt/gnu/include LIBFILEZILLA_LIBS=-L/opt/gnu/lib PKG_CONFIG_PATH="/opt/gnu/lib;/opt/gnu/lib/64" LIBGNUTLS_CFLAGS="-I/usr/gnu/include/gnutls" LIBGNUTLS_LIBS="-L/usr/gnu/lib" ./configure --prefix=/opt/gnu --enable-static --disable-shared --with-pugixml=builtin This fails complaining about c++14 support, however checking whether C compiler accepts -Werror=partial-availability... no checking whether the linker accepts -Wl,-no_weak_imports... no checking whether /usr/gcc/8/bin/g++ supports C++14 features by default... no checking whether /usr/gcc/8/bin/g++ supports C++14 features with -std=gnu++14... no checking whether /usr/gcc/8/bin/g++ supports C++14 features with -std=gnu++1y... no checking whether /usr/gcc/8/bin/g++ supports C++14 features with -std=c++14... no checking whether /usr/gcc/8/bin/g++ supports C++14 features with -std=c++1y... no configure: error: *** A compiler with support for C++14 language features is required. I have tried gcc 5.4, 6, 7 and 8 and they all fail when I include -I/opt/gnu/include/wx-3.0/wx, checking the code the includes are so there should be no need for this -I include directory. By adjusting the configure statement to that below CXX=g++ CXXFLAGS=" -m64 -I/opt/gnu/include -I/usr/include/idn -I/usr/gnu/include" LDFLAGS="-L/opt/gnu/lib -L/opt/gnu/lib/64" CC=gcc CFLAGS=" -m64 -I/opt/gnu/include -I/opt/gnu/include/wx-3.0 -I/usr/include/idn -I/usr/gnu/include" NETTLE_CFLAGS=-I/opt/gnu/include NETTLE_LIBS="-L/opt/gnu/lib/64" HOGWEED_CFLAGS=-I/opt/gnu/include HOGWEED_LIBS=-L/opt/gnu/lib/64 LIBFILEZILLA_CFLAGS=-I/opt/gnu/include LIBFILEZILLA_LIBS=-L/opt/gnu/lib PKG_CONFIG_PATH="/opt/gnu/lib;/opt/gnu/lib/64" LIBGNUTLS_CFLAGS="-I/usr/gnu/include/gnutls" LIBGNUTLS_LIBS="-L/usr/gnu/lib" ./configure --prefix=/opt/gnu --enable-static --disable-shared --with-pugixml=builtin It will build the first two elements of the /src/interface but it always appear to fail on the third asyncrequestqueue.cpp Making all in . gmake[4]: Entering directory '/tmp/filezilla-3.41.2/src/interface' g++ -DHAVE_CONFIG_H -I. -I../../src/include -I./../include -I/opt/gnu/include -I/opt/gnu/include -I/opt/gnu/lib/wx/include/motif-unicode-3.0 -I/opt/gnu/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMOTIF__ -fpch-preprocess -m64 -I/opt/gnu/include -I/usr/include/idn -I/usr/gnu/include -Wall -g -MT filezilla-aboutdialog.o -MD -MP -MF .deps/filezilla-aboutdialog.Tpo -c -o filezilla-aboutdialog.o `test -f 'aboutdialog.cpp' || echo './'`aboutdialog.cpp mv -f .deps/filezilla-aboutdialog.Tpo .deps/filezilla-aboutdialog.Po g++ -DHAVE_CONFIG_H -I. -I../../src/include -I./../include -I/opt/gnu/include -I/opt/gnu/include -I/opt/gnu/lib/wx/include/motif-unicode-3.0 -I/opt/gnu/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMOTIF__ -fpch-preprocess -m64 -I/opt/gnu/include -I/usr/include/idn -I/usr/gnu/include -Wall -g -MT filezilla-asksavepassworddialog.o -MD -MP -MF .deps/filezilla-asksavepassworddialog.Tpo -c -o filezilla-asksavepassworddialog.o `test -f 'asksavepassworddialog.cpp' || echo './'`asksavepassworddialog.cpp mv -f .deps/filezilla-asksavepassworddialog.Tpo .deps/filezilla-asksavepassworddialog.Po g++ -DHAVE_CONFIG_H -I. -I../../src/include -I./../include -I/opt/gnu/include -I/opt/gnu/include -I/opt/gnu/lib/wx/include/motif-unicode-3.0 -I/opt/gnu/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMOTIF__ -fpch-preprocess -m64 -I/opt/gnu/include -I/usr/include/idn -I/usr/gnu/include -Wall -g -MT filezilla-asyncrequestqueue.o -MD -MP -MF .deps/filezilla-asyncrequestqueue.Tpo -c -o filezilla-asyncrequestqueue.o `test -f 'asyncrequestqueue.cpp' || echo './'`asyncrequestqueue.cpp In file included from statusbar.h:6:0, from Mainfrm.h:4, from asyncrequestqueue.cpp:7: state.h:168:26: error: 'wxFileDataObject' has not been declared void UploadDroppedFiles(wxFileDataObject const* pFileDataObject, std::wstring const& subdir, bool queueOnly); ^~~~ state.h:170:26: error: 'wxFileDataObject' has not been declared void UploadDroppedFiles(wxFileDataObject const* pFileDataObject, CServerPath const& path, bool queueOnly); ^~~~ state.h:172:26: error: 'wxFileDataObject' has not been declared void HandleDroppedFiles(wxFileDataObject const*
Re: [OpenIndiana-discuss] Building Filezilla 3.41.2 - second attempt
On 17/06/2019 23:11, russell wrote: Hi, Thanks for the feedback on the previous error, it appears that the wx-widgets-3.0.4 was compiled 32bits when it should have been 64 bits wx-widgets-3.0.4 was rebuilt using (again using Motif) CC=gcc CFLAGS=-m64 CXX=g++ CXXFLAGS=-m64 LDFLAGS=-m64 QT5_CUSTOM_DIR=/usr/lib/qt/5.8 ./configure --prefix=/opt/gnu --with-qt After rebuilding this library and attempting the build of Filezilla 3.41.2 the compilation gets much further again using ... The definition of wxFileDataObject appears to be included in /opt/gnu/include/wx-3.0/wx/dataobj.h, however it is not being found. Any suggestions? Maybe you get a different include from /usr/include/wx-2.8/wx/dataobj.h ? There's only a wxFileDataObjectBase. -- Dr.Udo Grabowski Inst.f.Meteorology & Climate Research IMK-ASF-SAT http://www.imk-asf.kit.edu/english/sat.php KIT - Karlsruhe Institute of Technology http://www.kit.edu Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026 ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss
[OpenIndiana-discuss] Building Filezilla 3.41.2 - second attempt
Hi, Thanks for the feedback on the previous error, it appears that the wx-widgets-3.0.4 was compiled 32bits when it should have been 64 bits wx-widgets-3.0.4 was rebuilt using (again using Motif) CC=gcc CFLAGS=-m64 CXX=g++ CXXFLAGS=-m64 LDFLAGS=-m64 QT5_CUSTOM_DIR=/usr/lib/qt/5.8 ./configure --prefix=/opt/gnu --with-qt After rebuilding this library and attempting the build of Filezilla 3.41.2 the compilation gets much further again using CXX=g++ CXXFLAGS="-m64 -I/opt/gnu/include -I/opt/gnu/include/wx-3.0 -I/usr/include/idn -I/usr/gnu/include" LDFLAGS="-L/opt/gnu/lib -L/opt/gnu/lib/64" CC=gcc CFLAGS="-m64 -I/opt/gnu/include -I/opt/gnu/include/wx-3.0 -I/usr/include/idn -I/usr/gnu/include" NETTLE_CFLAGS=-I/opt/gnu/include NETTLE_LIBS="-L/opt/gnu/lib/64" HOGWEED_CFLAGS=-I/opt/gnu/include HOGWEED_LIBS=-L/opt/gnu/lib/64 LIBFILEZILLA_CFLAGS=-I/opt/gnu/include LIBFILEZILLA_LIBS=-L/opt/gnu/lib PKG_CONFIG_PATH="/opt/gnu/lib;/opt/gnu/lib/64" LIBGNUTLS_CFLAGS="-I/usr/gnu/include/gnutls" LIBGNUTLS_LIBS="-L/usr/gnu/lib" ./configure --prefix=/opt/gnu --enable-static --disable-shared --with-pugixml=builtin The compilation fails now at gmake[4]: Entering directory '/tmp/filezilla-3.41.2/src/interface' g++ -DHAVE_CONFIG_H -I. -I../../src/include -I./../include -I/opt/gnu/include -I/opt/gnu/include -I/opt/gnu/lib/wx/include/motif-unicode-3.0 -I/opt/gnu/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMOTIF__ -fpch-preprocess -m64 -I/opt/gnu/include -I/opt/gnu/include/wx-3.0 -I/usr/include/idn -I/usr/gnu/include -Wall -g -MT filezilla-aboutdialog.o -MD -MP -MF .deps/filezilla-aboutdialog.Tpo -c -o filezilla-aboutdialog.o `test -f 'aboutdialog.cpp' || echo './'`aboutdialog.cpp mv -f .deps/filezilla-aboutdialog.Tpo .deps/filezilla-aboutdialog.Po g++ -DHAVE_CONFIG_H -I. -I../../src/include -I./../include -I/opt/gnu/include -I/opt/gnu/include -I/opt/gnu/lib/wx/include/motif-unicode-3.0 -I/opt/gnu/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMOTIF__ -fpch-preprocess -m64 -I/opt/gnu/include -I/opt/gnu/include/wx-3.0 -I/usr/include/idn -I/usr/gnu/include -Wall -g -MT filezilla-asksavepassworddialog.o -MD -MP -MF .deps/filezilla-asksavepassworddialog.Tpo -c -o filezilla-asksavepassworddialog.o `test -f 'asksavepassworddialog.cpp' || echo './'`asksavepassworddialog.cpp mv -f .deps/filezilla-asksavepassworddialog.Tpo .deps/filezilla-asksavepassworddialog.Po g++ -DHAVE_CONFIG_H -I. -I../../src/include -I./../include -I/opt/gnu/include -I/opt/gnu/include -I/opt/gnu/lib/wx/include/motif-unicode-3.0 -I/opt/gnu/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMOTIF__ -fpch-preprocess -m64 -I/opt/gnu/include -I/opt/gnu/include/wx-3.0 -I/usr/include/idn -I/usr/gnu/include -Wall -g -MT filezilla-asyncrequestqueue.o -MD -MP -MF .deps/filezilla-asyncrequestqueue.Tpo -c -o filezilla-asyncrequestqueue.o `test -f 'asyncrequestqueue.cpp' || echo './'`asyncrequestqueue.cpp In file included from statusbar.h:6:0, from Mainfrm.h:4, from asyncrequestqueue.cpp:7: state.h:168:26: error: 'wxFileDataObject' has not been declared void UploadDroppedFiles(wxFileDataObject const* pFileDataObject, std::wstring const& subdir, bool queueOnly); ^~~~ state.h:170:26: error: 'wxFileDataObject' has not been declared void UploadDroppedFiles(wxFileDataObject const* pFileDataObject, CServerPath const& path, bool queueOnly); ^~~~ state.h:172:26: error: 'wxFileDataObject' has not been declared void HandleDroppedFiles(wxFileDataObject const* pFileDataObject, CLocalPath const& path, bool copy); ^~~~ In file included from dndobjects.h:10:0, from QueueView.h:4, from queue.h:423, from asyncrequestqueue.cpp:9: drop_target_ex.h:8:59: error: invalid use of incomplete type 'class wxDropTarget' class CScrollableDropTarget : public wxEvtHandler, public wxDropTarget ^~~~ In file included from /opt/gnu/include/wx-3.0/wx/nonownedwnd.h:14:0, from /opt/gnu/include/wx-3.0/wx/toplevel.h:20, from /opt/gnu/include/wx-3.0/wx/dialog.h:14, from /opt/gnu/include/wx-3.0/wx/msgdlg.h:18, from msgbox.h:4, from filezilla.h:6: /opt/gnu/include/wx-3.0/wx/window.h:79:28: note: forward declaration of 'class wxDropTarget' class WXDLLIMPEXP_FWD_CORE wxDropTarget; ^~~~ In file included from dndobjects.h:10:0, from QueueView.h:4, from queue.h:423, from asyncrequestqueue.cpp:9: drop_target_ex.h:15:10: error: 'wxDragResult' does not name a type virtual wxDragResult OnDragOver(wxCoord x, wxCoord y, wxDragResult def); ^~~~ drop_target_ex.h:19:10: error: 'wxDragResult' does not name a type virtual