Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#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)

filezilla.log (233.0 KB ) - added by Florian Pritz 10 years ago.
PKGBUILD (899 bytes ) - added by Florian Pritz 10 years ago.
package build file for reference and testing

Download all attachments as: .zip

Change History (13)

by Florian Pritz, 10 years ago

Attachment: filezilla.log added

by Florian Pritz, 10 years ago

Attachment: PKGBUILD added

package build file for reference and testing

comment:1 by Tim Kosse, 10 years ago

Resolution: worksforme
Status: newclosed

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 Willy Sudiarto Raharjo, 10 years ago

Remove --enable-stl in wxWidgets and it should work

comment:3 by Florian Pritz, 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 Willy Sudiarto Raharjo, 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 Willy Sudiarto Raharjo, 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:6 by Florian Pritz, 10 years ago

Oh nice, thanks a lot.

comment:7 by Tim Kosse, 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:8 by Willy Sudiarto Raharjo, 10 years ago

perhaps you could describe what's non-standard wx-configurations?

comment:9 by Tim Kosse, 10 years ago

Any --enable-* --disable-* --with-* or --without-* as configure argument makes it a non-standard build.

comment:10 by Willy Sudiarto Raharjo, 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.

comment:11 by Gürkan YAMAN, 10 years ago

package build file for reference and testing http://posetimalati.org/

Note: See TracTickets for help on using tickets.