Release candidate for the next 2.9.3 is available from SourceForge and soon will also be at FTP mirror.
Please test the distribution files and let us know about any problems you encounter with downloading, compiling or installing from them. If all goes well the final 2.9.3 should be done next week.
Thanks in advance for your help!
Friday, December 02, 2011
Subscribe to:
Post Comments (Atom)
8 comments:
Nice
Tried to build 2.9.3 on RedHat 5 and got following error.
--------------------
./include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -DWX_PRECOMP -pthread -g -O0 -I/usr/include/libgnomeprintui-2.2 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gtk-2.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 ../src/common/any.cpp
../include/wx/geometry.h: In member function ‘virtual wxPoint2DInt wxTransform2D::Transform(const wxPoint2DInt&) const’:
../include/wx/geometry.h:803: internal compiler error: Segmentation fault
What was the version of g++ used above? Please report this to wx-dev so that we could discuss it there (even though I'm not very optimistic about being able to solve this, g++ internal compiler errors are usually quite difficult to work around).
This is what it says.
> g++ --version
g++ (GCC) 4.1.2 20080704 (Red Hat 4.1.2-51)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
One more thing.
I used following line.
---
configure --with-gtk=2 --disable-unicode --enable-debug --disable-shared --enable-monolithic --enable-mem_tracking --with-odbc --disable-optimize --with-regex=builtin
---
I am using "configure --with-gtk=2" and it looks like compiling. It might be because of the argument(s) that I am passing in. Will test with different arguments and let you know what it works
--enable-debug has issue.
I will get error with "--enable-debug"
I'm afraid 4.1 is just too buggy, ideal would be to update the compiler, there is really nothing we can do about this. If you do find a solution, please let us know about it however.
Good luck!
Okay. I did following to build it.
Step 1. configure --enable-debug=yes --enable-debug_gdb --with-gtk=2 --disable-shared --enable-monolithic --disable-optimize --with-regex=builtin
Step 2. make
Step 3. If there is error then modify Makefile: Add -DwxDEBUG_LEVEL=2 in CPPFLAGS
Step 4. make
Step 5. If there is error again then
take out -DwxDEBUG_LEVEL=2
Step 6. make
It builds everything that I needed.
Post a Comment