Opened 9 years ago
Closed 9 years ago
Last modified 9 years ago
#9743 closed Bug report (worksforme)
Build fails, CControlSocket::LogMessage, wxChar* vs wxString&
|Reported by:||Florian Pritz||Owned by:|
|Component version:||Operating system type:||Linux|
|Operating system version:|
I'm trying to build filezilla 18.104.22.168 on Arch Linux and I get the attached build errors (starting around line 200). I'm building against wxgtk 3.0.1.
Is this an issue with wxgtk or filezilla?
Change History (13)
by , 9 years ago
by , 9 years ago
comment:1 by , 9 years ago
|Status:||new → closed|
Check the configure flags of wxWidgets, it seems to have been compiled with non-standard flags.
Build wxWidgets with default flags and the problem will go away.
comment:2 by , 9 years ago
Remove --enable-stl in wxWidgets and it should work
comment:3 by , 9 years ago
Thanks, I've built wxwidgets without --enable-stl and was able to compile filezilla, however poedit specifially checks for STL in wxwidgets when building and refuses to build if it's disabled.
Since we ship both, poedit and filezilla, in our repos I'm not sure how we should proceed since building wxwidgets twice (once with and once without the option) is not really an option for us.
Do you guys have any idea what to do?
comment:4 by , 9 years ago
newer poedit doesn't require --enable-stl :)
see this commit: https://github.com/vslavik/poedit/commit/3064a18dd58dc2c7d7834fb36834f8fa80d81cfd
i'm also a maintainer for both packages in SlackBuilds project
comment:5 by , 9 years ago
poedit in Arch is still 1.6.5, and the latest one is 1.6.7 which already have those commit included, so you can update both packages in one shot :)
comment:6 by , 9 years ago
Oh nice, thanks a lot.
comment:7 by , 9 years ago
I've committed a few changes to FileZilla to hopefully work better with non-standard wxWidgets configurations.
Note that we cannot support non-standard wx configurations, things may fail at random, either at compile-time or run-time.
comment:8 by , 9 years ago
perhaps you could describe what's non-standard wx-configurations?
comment:9 by , 9 years ago
Any --enable-* --disable-* --with-* or --without-* as configure argument makes it a non-standard build.
comment:10 by , 9 years ago
On Slackware, i used this
Since many other package depends on wxWidgets, we had to make sure it works for others as well. I'm curious what configure parameter Debian used to build wxWidgets that you used.
comment:11 by , 9 years ago
package build file for reference and testing http://posetimalati.org/
package build file for reference and testing