Re: [dfports] devel/boost override - help request.

看板DFBSD_submit作者時間21年前 (2004/09/26 03:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/8 (看更多)
On Sat, 25 Sep 2004 21:13:22 +0200, Henry Kleynhans wrote: > Hi all, > > I've started on an override for the devel/boost package for dfly using > gcc34 on CURRENT. Currently: > > * Base package compiles and installs fine with gcc34. (That is > everything except the python library) > * I had to disable wchar support (Not sure if this is a problem with the > way gcc34 is compiled) It complains about std::wstring not being part > of the std namespace. You can check my thread about wchar doesn't work in FreeBSD 4.x and there has workaround. Also, included Tim Robbins has explained a little in there. http://lists.freebsd.org/mailman/htdig/freebsd-stable/2004-May/thread.html#7365 The workaround is I added: ============================================ #include <cwchar> namespace std { typedef basic_string <wchar_t> wstring; } ============================================ Maybe, someone can port wchar stuff (don't know what exactly place) from FreeBSD 5.x to DragonFly if it will working. Cheers, Mezz > * I cannot build the python binding library. I get a lot of errors like > the following: > > <snip> > error: a casts to a type other than an integral or enumeration type > cannot appear in a constant-expression > </snip> > > I'm thinking that it might be a gcc34 related issue? > > So, in short. A normal "make install clean" will work, but not > "WITH_PYTHON=1 make install clean". > > I've attached what I have so far. Extract the archive in /usr/dfports/devel. > > Any help would be appreciated. > > Thanks in advance. > > Kind regards, > > Henry
文章代碼(AID): #11LS2D00 (DFBSD_submit)
討論串 (同標題文章)
文章代碼(AID): #11LS2D00 (DFBSD_submit)