ports/119060: editors/poedit can not compile with wx-2.6

Hiroto Kagotani hiroto.kagotani at gmail.com
Thu Dec 27 12:50:02 UTC 2007


>Number:         119060
>Category:       ports
>Synopsis:       editors/poedit can not compile with wx-2.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 27 12:50:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Hiroto Kagotani
>Release:        6.2-RELEASE
>Organization:
Okayama Univ.
>Environment:
FreeBSD myhost.mydomain 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #4: Mon Apr  9 12:32:54 JST 2007     kagotani at myhost.mydomain:/usr/obj/usr/src/sys/RTL  i386

>Description:
Build process of editors/poedit stops if x11-toolkits/wxgtk26-unicode is istalled instead of x11-toolkits/wxgtk28-unicode.
>How-To-Repeat:
pkg_delete 'wxgtk2*'
cd /usr/ports/x11-toolkits/wxgtk28-unicode; make install clean
cd /usr/ports/editors/poedit; make

Then you'll see that make stops:
..
c++ -DPACKAGE_NAME=\"poedit\" -DPACKAGE_TARNAME=\"poedit\" -DPACKAGE_VERSION=\"1.3.9\" -DPACKAGE_STRING=\"poedit\ 1.3.9\" -DPACKAGE_BUGREPORT=\"vslavik at fastmail.fm\" -DPACKAGE=\"poedit\" -DVERSION=\"1.3.9\" -DUSE_SPELLCHECKING=1 -DDB_HEADER=\"db42/db.h\" -DUSE_TRANSMEM=1 -DDB_HEADER=\"db42/db.h\" -I.   -I/usr/local/include/db42 -I/usr/local/include   -O2 -fno-strict-aliasing -pipe -I/usr/local/include/wx-2.6/gtk2-unicode-release-2.6 -I/usr/local/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA   -D_THREAD_SAFE -I/usr/local/include/gtkspell-2.0 -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/freetype2    "-DPOEDIT_PREFIX=\"/usr/local\"" -MT edframe.o -MD -MP -MF .deps/edframe.Tpo -c -o edframe.o edframe.cpp
edframe.cpp:47:25: wx/wupdlock.h: No such file or directory
edframe.cpp: In member function `void PoeditFrame::UpdateCatalog(const wxString&)':
edframe.cpp:1204: error: `wxWindowUpdateLocker' was not declared in this scope
edframe.cpp:1204: error: expected `;' before "locker"
gmake[2]: *** [edframe.o] Error 1
gmake[2]: Leaving directory `/usr/ports/editors/poedit/work/poedit-1.3.9/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/editors/poedit/work/poedit-1.3.9/src'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports/editors/poedit.

>Fix:
diff -ru ../poedit.orig/Makefile ./Makefile
--- ../poedit.orig/Makefile     Sat Dec 15 02:05:20 2007
+++ ./Makefile  Thu Dec 27 21:33:53 2007
@@ -19,7 +19,7 @@
 LIB_DEPENDS=   gtkspell.0:${PORTSDIR}/textproc/gtkspell
 
 USE_GNOME=     gnometarget pkgconfig
-USE_WX=                2.6+
+USE_WX=                2.8+
 WX_CONF_ARGS=  absolute
 WX_UNICODE=    yes
 USE_BDB=       yes


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list