LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-12-2020, 03:30 AM   #1
kgha
Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 270

Rep: Reputation: 178Reputation: 178
Trouble building filezilla-3.47.2.1 (-current)


Although I had no problems building version 3.47.1 with the official SBo script a few weeks ago, trying to build the latest version fails with
Code:
mv -f .deps/filezilla-chmoddialog.Tpo .deps/filezilla-chmoddialog.Po
g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../../src/include  -I./../include -I/usr/include/p11-kit-1 -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__  -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fpch-preprocess  -g -O2 -Wall -MT filezilla-clearprivatedata.o -MD -MP -MF .deps/filezilla-clearprivatedata.Tpo -c -o filezilla-clearprivatedata.o `test -f 'clearprivatedata.cpp' || echo './'`clearprivatedata.cpp
In file included from clearprivatedata.cpp:6:
Mainfrm.h:80:24: error: ‘std::list’ has not been declared
   80 |  void FocusNextEnabled(std::list<wxWindow*>& windowOrder, std::list<wxWindow*>::iterator iter, bool skipFirst, bool forward);
      |                        ^~~
Mainfrm.h:80:33: error: expected ‘,’ or ‘...’ before ‘<’ token
   80 |  void FocusNextEnabled(std::list<wxWindow*>& windowOrder, std::list<wxWindow*>::iterator iter, bool skipFirst, bool forward);
      |                                 ^
make[4]: *** [Makefile:1407: filezilla-clearprivatedata.o] Error 1
make[4]: Leaving directory '/tmp/SBo/filezilla-3.47.2.1/src/interface'
make[3]: *** [Makefile:3123: all-recursive] Error 1
make[3]: Leaving directory '/tmp/SBo/filezilla-3.47.2.1/src/interface'
make[2]: *** [Makefile:970: all] Error 2
make[2]: Leaving directory '/tmp/SBo/filezilla-3.47.2.1/src/interface'
make[1]: *** [Makefile:436: all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/filezilla-3.47.2.1/src'
make: *** [Makefile:617: all-recursive] Error 1
bash-5.0#
3.47.2.1 requires the latest libfilezilla-0.20.2 which built flawlessly.

There might of course be something amiss with the filezilla source file. Googling doesn't show any bug reports, though.

Grateful for suggestions how to solve this
 
Old 03-12-2020, 07:52 AM   #2
shruggy
Member
 
Registered: Mar 2020
Posts: 666

Rep: Reputation: Disabled
I got the same error trying to rebuild the filezilla RPM with the filezilla.spec from the latest (failed) build for Fedora Rawhide on CentOS 8. I ended up patching the file src/interface/Mainfrm.h by adding an #include <list>:
Code:
sed -i '/^#define/a #include <list>' src/interface/Mainfrm.h
After that, filezilla 3.47.2.1 was built successfully.

Last edited by shruggy; 03-12-2020 at 07:58 AM.
 
3 members found this post helpful.
Old 03-12-2020, 09:25 AM   #3
3rensho
Member
 
Registered: Mar 2008
Location: Switzerland
Distribution: Slackware64-current
Posts: 398

Rep: Reputation: 85
Same error here this morning. Had already built and installed libfilezilla-0.20.2. Will try the patch. Thanks

Patched source and it built fine. Nochmals danke.

Last edited by 3rensho; 03-12-2020 at 09:51 AM.
 
Old 03-12-2020, 12:15 PM   #4
kgha
Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 270

Original Poster
Rep: Reputation: 178Reputation: 178
Thanks, the patch did the trick! I'll mark the thread as solved (even if the issue isn't properly solved until Filezilla patches their source file).

Last edited by kgha; 03-12-2020 at 12:16 PM.
 
Old 04-29-2020, 02:01 AM   #5
kgha
Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 270

Original Poster
Rep: Reputation: 178Reputation: 178
History repeats itself with Filezilla 3.48.0, but again is solved through shruggy's patch:
Code:
sed -i '/^#define/a #include <list>' src/interface/Mainfrm.h
Simply put that line as a new line #78 in the SBo script and voilą.
 
Old 04-29-2020, 02:23 AM   #6
shruggy
Member
 
Registered: Mar 2020
Posts: 666

Rep: Reputation: Disabled
BTW, Fedora Rawhide now uses a proper patch for this.
 
Old 05-20-2020, 03:19 AM   #7
kgha
Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 270

Original Poster
Rep: Reputation: 178Reputation: 178
Thanks to ponce for adding this patch to his slackbuild script at https://github.com/Ponce/slackbuilds...work/filezilla
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] wxWidgets Error while building Filezilla 3.5.3 lkraemer Slackware 6 10-04-2012 02:35 PM
[SOLVED] Trouble building VMware kernel module 8.0.3 on Slackware64-current with Linux 3.3.6 ack_iix Slackware 7 05-30-2012 06:32 PM
filezilla server ambelos General 7 11-27-2009 09:18 AM
Where to start when installing filezilla? JeffSquared Linux - Software 1 09-14-2004 09:00 PM
Filezilla problem artificialmaps General 3 06-11-2004 02:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration