#9743 closed Bug report (worksforme)
Build fails, CControlSocket::LogMessage, wxChar* vs wxString&
Reported by: | Florian Pritz | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | FileZilla Client |
Keywords: | Cc: | ||
Component version: | Operating system type: | Linux | |
Operating system version: |
Description
I'm trying to build filezilla 3.9.0.2 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?
Attachments (2)
Change History (13)
by , 10 years ago
Attachment: | filezilla.log added |
---|
by , 10 years ago
comment:1 by , 10 years ago
Resolution: | → worksforme |
---|---|
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:3 by , 10 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 , 10 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 , 10 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:7 by , 10 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:9 by , 10 years ago
Any --enable-* --disable-* --with-* or --without-* as configure argument makes it a non-standard build.
comment:10 by , 10 years ago
On Slackware, i used this
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--enable-shared \
--enable-mediactrl \
--with-opengl \
--enable-graphics_ctx \
--with-gtk=3 \
--enable-unicode \
--build=$ARCH-slackware-linux
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.
package build file for reference and testing