[erlang-bugs] erlang with newer wxWidgets (>= 2.8.9.1, maybe earlier versions)
Nico Kruber
kruber@REDACTED
Thu Jun 4 10:11:38 CEST 2009
I tried building it on openSUSE Factory and it failed because of that
-> could be because of such flag - as far as I can see, those are the options
used to build that rpm:
# common_configure_opts="--prefix=%{_prefix} \
# --datadir=%{_datadir} \
# --libdir=%{_libdir} \
# --enable-rpath=%{_libdir} \
# --with-opengl \
# --with-libmspack \
# --with-sdl \
# --enable-sound \
# --with-gnomeprint \
# --with-gnomevfs \
# --enable-iff \
# --enable-geometry \
# --enable-optimise \
# --with-gtk=2 \
# --enable-controls \
# --enable-calendar \
# --enable-tabdialog \
# --enable-std_iostreams\
# --enable-plugins \
# --disable-precomp-headers \
# --enable-stl"
each with and without unicode:
# # build ANSI version
# pushd wxWidgets-ansi
# ../configure --disable-unicode ${common_configure_opts}
# # build Unicode version
# pushd wxWidgets-unicode
# ../configure --enable-unicode ${common_configure_opts}
-> the patch I supplied solves the (only) 3 lines that didn't compile and
afaik it should result in the same behaviour (actually I never used wx, so I
tried to stick to the changes that were made to the mentioned helpfrm.cpp
file)
Nico
PS: If you use the openSUSE Build Service, you could have a look at the
compile logs for the mentioned distributions with that patch applied (among
others the "official" openSUSE packages use as well):
https://build.opensuse.org/package/show?package=erlang&project=home%3Atschuett
On Thursday 04 June 2009 08:49:40 Dan Gudmundsson wrote:
> Hmm, I have used wxMac-2.8.10 which builds nicely.
> It might be that some linux distribution compiles without some backward
> compability flag, I will fix it hopefully before the next release.
>
> /Dan
>
> Nico Kruber wrote:
> > * PGP Signed: 06/03/2009 at 06:31:04 PM
> >
> > Erlang's wx integration doesn't compile with newer wxWidgets libraries
> > -> the attached patch solves this similar to the patch applied here:
> > http://svn.wxwidgets.org/viewvc/wx/wxWidgets/trunk/src/html/helpfrm.cpp?r
> >1=36802&r2=37359&pathrev=60639 (as you can see this is fairly old so old
> > versions should still work - tested with wx libs the following
> > distributions supply: Fedora 9,10, Mandriva 2008,2009, SLE 11, openSUSE
> > 11.0,11.1,Factory)
> >
> > Nico
> >
> > * Nico Kruber <kruber@REDACTED>
> > * 0xDAEA9E59
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20090604/7cf58af7/attachment.bin>
More information about the erlang-bugs
mailing list