LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 12-23-2020, 12:40 AM   #1
grokkingnix
LQ Newbie
 
Registered: Dec 2020
Posts: 10

Rep: Reputation: Disabled
Error building libfilezilla 0.16.0 from slackbuilds for 14.2 on Slackware current


Hi all, this is my first post so my apologies if I make a mistake.

I've installed Slackware current for the first time and I'm trying to build filezilla from the 14.2 slackbuilds site.

The dependencies I see are the following:

libfilezilla 0.16.0
wxGTK3 3.0.5

The filezilla version is 3.42.1, wxGTK3 built OK but there is an error while building libfilezilla:

Code:
In file included from libfilezilla/event_loop.hpp:4,
                 from libfilezilla/event_handler.hpp:4,
                 from event_handler.cpp:1:
libfilezilla/apply.hpp:21:38: error: ‘size_t’ has not been declared
   21 | template<typename F, typename Tuple, size_t... I>
      |                                      ^~~~~~
libfilezilla/apply.hpp:22:51: error: ‘I’ was not declared in this scope
   22 | auto apply_(F&& f, Tuple&& t, std::index_sequence<I...> const&) -> decltype(std::forward<F>(f)(std::get<I>(std::forward<Tuple>(t))...))
      |                                                   ^
libfilezilla/apply.hpp:22:52: error: expected parameter pack before ‘...’
   22 | auto apply_(F&& f, Tuple&& t, std::index_sequence<I...> const&) -> decltype(std::forward<F>(f)(std::get<I>(std::forward<Tuple>(t))...))
      |                                                    ^~~
libfilezilla/apply.hpp:22:55: error: template argument 1 is invalid
   22 | auto apply_(F&& f, Tuple&& t, std::index_sequence<I...> const&) -> decltype(std::forward<F>(f)(std::get<I>(std::forward<Tuple>(t))...))
      |
libfilezilla/apply.hpp:22:105: error: ‘I’ was not declared in this scope
   22 | pply_(F&& f, Tuple&& t, std::index_sequence<I...> const&) -> decltype(std::forward<F>(f)(std::get<I>(std::forward<Tuple>(t))...))
      |                                                                                                   

In file included from libfilezilla/event_loop.hpp:4,
                 from libfilezilla/event_handler.hpp:4,
                 from event_handler.cpp:1:
libfilezilla/apply.hpp:22:131: error: expansion pattern ‘get<<expression error> >(forward<Tuple>(t))’ contains no parameter packs
   22 |  t, std::index_sequence<I...> const&) -> decltype(std::forward<F>(f)(std::get<I>(std::forward<Tuple>(t))...))
      |                                                                                                         
libfilezilla/apply.hpp:22:131: error: expansion pattern ‘get<<expression error> >(forward<Tuple>(t))’ contains no parameter packs
libfilezilla/apply.hpp: In function ‘decltype (forward<F>(f)(<expression error>)) fz::apply_(F&&, Tuple&&, const int&’:
libfilezilla/apply.hpp:24:37: error: ‘I’ was not declared in this scope
   24 |  return std::forward<F>(f)(std::get<I>(std::forward<Tuple>(t))...);
      |                                     ^
libfilezilla/apply.hpp:24:63: error: expansion pattern ‘get<<expression error> >(forward<Tuple>(t))’ contains no parameter packs
   24 |  return std::forward<F>(f)(std::get<I>(std::forward<Tuple>(t))...);
      |                                                               ^~~
libfilezilla/apply.hpp: At global scope:
libfilezilla/apply.hpp:51:52: error: ‘size_t’ has not been declared
   51 | template<typename Obj, typename F, typename Tuple, size_t... I>
      |
libfilezilla/apply.hpp:52:62: error: ‘I’ was not declared in this scope
   52 | auto apply_(Obj&& obj, F&& f, Tuple&& t, std::index_sequence<I...> const&) -> decltype((std::forward<Obj>(obj)->*std::forward<F>(f))(std::get<I>(std::forward<Tuple>(t))...))
      |                                                              ^
libfilezilla/apply.hpp:52:63: error: expected parameter pack before ‘...’
   52 | auto apply_(Obj&& obj, F&& f, Tuple&& t, std::index_sequence<I...> const&) -> decltype((std::forward<Obj>(obj)->*std::forward<F>(f))(std::get<I>(std::forward<Tuple>(t))...))
      |                                                               ^~~
libfilezilla/apply.hpp:52:66: error: template argument 1 is invalid
   52 | auto apply_(Obj&& obj, F&& f, Tuple&& t, std::index_sequence<I...> const&) -> decltype((std::forward<Obj>(obj)->*std::forward<F>(f))(std::get<I>(std::forward<Tuple>(t))...))
      |                                                                  ^
libfilezilla/apply.hpp:52:143: error: ‘I’ was not declared in this scope
   52 | ::index_sequence<I...> const&) -> decltype((std::forward<Obj>(obj)->*std::forward<F>(f))(std::get<I>(std::forward<Tuple>(t))...))
      |                                                                                                   

libfilezilla/apply.hpp:52:169: error: expansion pattern ‘get<<expression error> >(forward<Tuple>(t))’ contains no parameter packs
   52 | .> const&) -> decltype((std::forward<Obj>(obj)->*std::forward<F>(f))(std::get<I>(std::forward<Tuple>(t))...))
      |
libfilezilla/apply.hpp:52:169: error: expansion pattern ‘get<<expression error> >(forward<Tuple>(t))’ contains no parameter packs
libfilezilla/apply.hpp: In function ‘decltype ((forward<Obj>)(obj)->*(forward<F>)(f)(<expression error>)) fz::apply_(Obj&&, F&&, Tuple&&, const int&)’:
libfilezilla/apply.hpp:54:64: error: ‘I’ was not declared in this scope
   54 |  return (std::forward<Obj>(obj)->*std::forward<F>(f))(std::get<I>(std::forward<Tuple>(t))...);
      |                                                                ^
libfilezilla/apply.hpp:54:90: error: expansion pattern ‘get<<expression error> >(forward<Tuple>(t))’ contains no parameter packs
   54 |  return (std::forward<Obj>(obj)->*std::forward<F>(f))(std::get<I>(std::forward<Tuple>(t))...);
      |                                                                                          ^~~
make[1]: *** [Makefile:635: libfilezilla_la-event_handler.lo] Error 1
make[1]: Leaving directory '/tmp/SBo/libfilezilla-0.16.0/lib'
make: *** [Makefile:464: all-recursive] Error 1
I looked around and found this post and this post however they seem to have been able to build libfilezilla and had issues with filezilla itself.

I tried building libfilezilla 0.17.0 but got a simillar error, so I stopped there.

Not sure if I may have missed anything obvious, but any help is greatly appreciated
 
Old 12-23-2020, 11:47 AM   #2
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 15
Posts: 521

Rep: Reputation: 187Reputation: 187
I'd suggest that you try this instead. It's for current
https://github.com/Ponce/slackbuilds...s/libfilezilla

As you'll notice, it's for libfilezilla 0.21

But instead of downloading that suggested libfilezilla-0.21.0.tar.bz2 (libfilezilla.info file contains the link for that file), I suggest you download the 0.26.0 instead, from official source here
https://lib.filezilla-project.org/
(it's the tar.bz2 file that you would like to download).

Once you've downloaded the slackbuild (and related) files from the link above, edit the libfilezilla.SlackBuild file, replacing version:
Code:
VERSION=${VERSION:-0.21.0}
with
Code:
VERSION=${VERSION:-0.26.0}
And the same thing in the libfilezilla.info file
Code:
VERSION="0.21.0"
compile and install libfilezilla...

Once done, do the same with filezilla:
https://github.com/Ponce/slackbuilds...work/filezilla

Download the slackbuild rel files, and filezilla version 3.51.0 from here
https://filezilla-project.org/download.php?show_all=1

Edit the slackbuild and info file. Compile and install filezilla.

Last edited by MDKDIO; 12-23-2020 at 11:49 AM.
 
Old 12-23-2020, 12:35 PM   #3
grokkingnix
LQ Newbie
 
Registered: Dec 2020
Posts: 10

Original Poster
Rep: Reputation: Disabled
Thank you for getting back promptly and for the detailed reply.

I found Ponce's post related to his repo just after I hit submit on my question.

I compiled the versions suggested in his repo successfully, but I'll try the newer versions you suggest tonight after work and get back to you with the results, I'm confident it'll work.
 
Old 12-23-2020, 12:54 PM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,683

Rep: Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798
it will work as i used it on my desktop at home as well
the reason i didn't bump is because it requires some packages that are newer than what we have in 14.2
 
Old 12-23-2020, 10:16 PM   #5
grokkingnix
LQ Newbie
 
Registered: Dec 2020
Posts: 10

Original Poster
Rep: Reputation: Disabled
I recompiled libfilezilla 0.26.0 and filezilla 0.51.0 after that successfully as expected.

Thank you for all the help!
 
  


Reply



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] Building or obtaining newer packages than available in current or slackbuilds krakanut Slackware 4 09-06-2020 08:21 PM
[SOLVED] libfilezilla-0.17.0 3rensho Slackware 5 06-28-2019 02:05 AM
SBo libfilezilla not building on 14.2 aikempshall Slackware 5 11-05-2018 07:25 AM
building kdebluetooth from Slackbuilds on Slackware64-current gtludwig Slackware 5 06-27-2009 05:59 PM
Use SlackBuilds.org or my own hosting to offer up SlackBuilds? hollywoodb Slackware 6 11-30-2006 08:56 PM

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

All times are GMT -5. The time now is 07:59 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
Open Source Consulting | Domain Registration