[packman] opensuse 10.3 und wired
Toni
toni at links2linux.de
Mon Mar 24 17:27:26 CET 2008
Am Montag, 24. März 2008 schrieb Bernhard Walle:
> * Toni <toni at links2linux.de> [2008-03-24 10:26]:
> > Am Montag, 24. März 2008 schrieb mgprobst at michelle20.de:
> > > könnt ihr bitte ein rpm von wired für opensuse 10.3 x86_64 bauen,
> > > kriege wired vom tarball nicht zum laufen und 10.2 version geht auch
> > > nicht.
> >
> > jo, das ist auch mein Problem, deshalb gibt es keins für 10.3 ...
>
> Fehler?
der eigentliche Problemfall liegt hier:
/bin/sh ../../libtool --tag=CXX --mode=compile
g++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../xml
`xml2-config --cflags` -I../engine -Os -MT
WiredXml.lo -MD -MP -MF .deps/WiredXml.Tpo -c -o WiredXml.lo
`test -f '../xml/WiredXml.cpp' || echo './'`../xml/WiredXml.cpp
g++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../xml -I/usr/include/libxml2 -I../engine -Os -MT
WiredXml.lo -MD -MP -MF .deps/WiredXml.Tpo -c ../xml/WiredXml.cpp -fPIC -DPIC -o .libs/WiredXml.o
In file included from /usr/include/wx-2.8/wx/debug.h:22,
from /usr/include/wx-2.8/wx/defs.h:521,
from /usr/include/wx-2.8/wx/wxprec.h:13,
from ../xml/WiredXml.h:18,
from ../xml/WiredXml.cpp:5:
/usr/include/wx-2.8/wx/wxchar.h:988: error: expected initializer
before 'ATTRIBUTE_PRINTF_3'
/usr/include/wx-2.8/wx/wxchar.h:1028: error: expected initializer
before 'ATTRIBUTE_PRINTF_1'
/usr/include/wx-2.8/wx/wxchar.h:1029: error: expected initializer
before 'ATTRIBUTE_PRINTF_2'
/usr/include/wx-2.8/wx/wxchar.h:1030: error: expected initializer
before 'ATTRIBUTE_PRINTF_2'
/usr/include/wx-2.8/wx/wxchar.h:1032: error: expected initializer
before 'ATTRIBUTE_PRINTF_1'
/usr/include/wx-2.8/wx/wxchar.h:1033: error: expected initializer
before 'ATTRIBUTE_PRINTF_2'
/usr/include/wx-2.8/wx/wxchar.h:1034: error: expected initializer
before 'ATTRIBUTE_PRINTF_2'
/usr/include/wx-2.8/wx/wxchar.h:1047: error: expected initializer
before 'ATTRIBUTE_PRINTF_3'
mv -f .deps/SaveCenter.Tpo .deps/SaveCenter.Plo
In file included from /usr/include/wx-2.8/wx/memory.h:16,
from /usr/include/wx-2.8/wx/object.h:20,
from /usr/include/wx-2.8/wx/wx.h:16,
from ../xml/WiredXml.h:20,
from ../xml/WiredXml.cpp:5:
/usr/include/wx-2.8/wx/string.h:1203: error: expected ';'
before 'ATTRIBUTE_PRINTF_2'
/usr/include/wx-2.8/wx/string.h:1208: error: expected ';'
before 'ATTRIBUTE_PRINTF_1'
/usr/include/wx-2.8/wx/string.h:1240: error: expected ';'
before 'ATTRIBUTE_PRINTF_2'
/usr/include/wx-2.8/wx/string.h: In member function 'wxString&
wxString::operator<<(int)':
egal ob packman wxWidgets oder SuSE wxGTK verwendet wird.
Lösung die ich gefunden habe (für ein anderes Paket):
To summarize the changes:
1) OnOK() is no longer a member of wxDialog. EndDialog(wxID_OK) is the
replacement.
2) m_id is no longer exposed as a member of wxEvent. The accessor function
GetId() is used instead.
3) wxFileDialog::SetStyle() is no longer a member of wxDialog. All style
flags
must be passed into the constructor. Also wxHIDE_READONLY is no longer a
style
option. I would greatly appreciate a review of these changes to
preferences_dlg.cpp to make sure that the existing behavior is preserved with
this patch.
I got it to compile by including
#ifndef ATTRIBUTE_PRINTF
#define ATTRIBUTE_PRINTF(m, n) __attribute__ ((format
(__printf__, m, n)))
#define ATTRIBUTE_PRINTF_1 ATTRIBUTE_PRINTF(1, 2)
#define ATTRIBUTE_PRINTF_2 ATTRIBUTE_PRINTF(2, 3)
#define ATTRIBUTE_PRINTF_3 ATTRIBUTE_PRINTF(3, 4)
#define ATTRIBUTE_PRINTF_4 ATTRIBUTE_PRINTF(4, 5)
#define ATTRIBUTE_PRINTF_5 ATTRIBUTE_PRINTF(5, 6)
#endif /* ATTRIBUTE_PRINTF */
aber bei wired wird das dann ein "endlos langes rumgefrickel" ==> ich habe es
aufgegeben :)
>
>
> Bernhard
>
> _______________________________________________
> Packman mailing list
> Packman at links2linux.de
> http://212.112.227.138/cgi-bin/mailman/listinfo/packman
--
have fun
Toni
More information about the Packman
mailing list