aMule Forum

Deutsch => aMule Hilfe => Topic started by: RaVen on March 20, 2005, 02:06:35 PM

Title: CVS rpmbuild mit WxGTK 2.5 - Probleme
Post by: RaVen on March 20, 2005, 02:06:35 PM
So - ich mal wieder :-)

Hab jetzt endlich mein CVS mit rpmbuild erstellt - allerdings mit WxGTK 2.4 - und da ich unicode möchte - probier ich s mit 2.5

unten ein klitzekleiner Ausschnitt der Fehlermeldungen...

And for Phoenix - in english :-)

It's me again - I'm looking forward to use wxgtk 2.5 - as you know - but git the following errors which i can't handle:

Code: [Select]
[snip] amuleweb-StringFunctions.o(.gnu.linkonce.t._Z10StrToULongRK8wxString+0x1a): In function `StrToULong(wxString const&)':
/usr/include/wx-2.5/wx/string.h:715: undefined reference to `wxString::ToULong(unsigned long*, int) const'
amuleweb-NetworkFunctions.o(.text+0x30): In function `StringIPtoUint32(wxString const&, unsigned&)':
/usr/src/packages/BUILD/amule-cvs/src/NetworkFunctions.h:83: undefined reference to `wxString::Strip(wxString::stripType) const'
amuleweb-NetworkFunctions.o(.text+0x46): In function `StringIPtoUint32(wxString const&, unsigned&)':
/usr/src/packages/BUILD/amule-cvs/src/NetworkFunctions.cpp:65: undefined reference to `wxString::Length() const'
amuleweb-NetworkFunctions.o(.text+0x62): In function `StringIPtoUint32(wxString const&, unsigned&)':
/usr/src/packages/BUILD/amule-cvs/src/NetworkFunctions.h:51: undefined reference to `wxString::GetChar(unsigned) const'
amuleweb-NetworkFunctions.o(.text+0x19a): In function `StringHosttoUint32(wxString const&)':
/usr/src/packages/BUILD/amule-cvs/src/NetworkFunctions.cpp:98: undefined reference to `wxString::IsEmpty() const'
amuleweb-NetworkFunctions.o(.text+0x1b9):/usr/src/packages/BUILD/amule-cvs/src/NetworkFunctions.cpp:102: undefined reference to `wxIPV4address::wxIPV4address[in-charge]()'
amuleweb-NetworkFunctions.o(.text+0x1cb):/usr/src/packages/BUILD/amule-cvs/src/NetworkFunctions.cpp:103: undefined reference to `wxIPV4address::Hostname(wxString const&)'
amuleweb-NetworkFunctions.o(.text+0x1e1):/usr/src/packages/BUILD/amule-cvs/src/NetworkFunctions.cpp:104: undefined reference to `wxIPV4address::IPAddress() const'
amuleweb-NetworkFunctions.o(.text+0x233):/usr/src/packages/BUILD/amule-cvs/src/NetworkFunctions.cpp:106: undefined reference to `wxIPV4address::~wxIPV4address [in-charge]()'
amuleweb-NetworkFunctions.o(.text+0x247):/usr/src/packages/BUILD/amule-cvs/src/NetworkFunctions.cpp:109: undefined reference to `wxIPV4address::~wxIPV4address [in-charge]()'
amuleweb-NetworkFunctions.o(.text+0x265):/usr/src/packages/BUILD/amule-cvs/src/NetworkFunctions.cpp:109: undefined reference to `wxIPV4address::~wxIPV4address [in-charge]()'
amuleweb-NetworkFunctions.o(.text+0x293): In function `GetLocalHost()':
/usr/src/packages/BUILD/amule-cvs/src/NetworkFunctions.cpp:116: undefined reference to `wxString::wxString[in-charge]()'
amuleweb-NetworkFunctions.o(.text+0x2c1):/usr/src/packages/BUILD/amule-cvs/src/NetworkFunctions.cpp:119: undefined reference to `wxConvCurrent'
amuleweb-NetworkFunctions.o(.text+0x2c6):/usr/src/packages/BUILD/amule-cvs/src/NetworkFunctions.cpp:119: undefined reference to `wxMBConv::cMB2WX(char const*) const'
amuleweb-NetworkFunctions.o(.text+0x2d2):/usr/src/packages/BUILD/amule-cvs/src/NetworkFunctions.cpp:119: undefined reference to `wxString::operator=(char const*)'
amuleweb-NetworkFunctions.o(.text+0x349): In function `SetupFilter()':
/usr/src/packages/BUILD/amule-cvs/src/NetworkFunctions.cpp:179: undefined reference to `wxString::wxString[in-charge](char const*)'
amuleweb-NetworkFunctions.o(.gnu.linkonce.t._Z16Uint32toStringIPj+0x41): In function `Uint32toStringIP(unsigned)':
/usr/src/packages/BUILD/amule-cvs/src/NetworkFunctions.cpp:65: undefined reference to `wxString::Format(char const*, ...)'
amuleweb-NetworkFunctions.o(.gnu.linkonce.t._Z24Uint32_16toStringIP_Portjt+0x52): In function `Uint32_16toStringIP_Port(unsigned, unsigned short)':
/usr/src/packages/BUILD/amule-cvs/src/NetworkFunctions.h:46: undefined reference to `wxString::Format(char const*, ...)'                                  
collect2: ld returned 1 exit status
make[4]: *** [amuleweb] Fehler 1
make[4]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/src'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/src'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/src/packages/BUILD/amule-cvs'
make: *** [all] Fehler 2
error: Bad exit status from /var/tmp/rpm-tmp.82078 (%build) [snap]
Title: Re: CVS rpmbuild mit WxGTK 2.5 - Probleme
Post by: stefanero on March 20, 2005, 02:53:40 PM
hmm poste mal

ls -lla /usr/bin/wx*

und

ls -la /usr/local/bin/wx*

wie hast du wx-2.5 installiert?
Title: Re: CVS rpmbuild mit WxGTK 2.5 - Probleme
Post by: RaVen on March 20, 2005, 03:00:12 PM
klar, gern:

ls -lla /usr/bin/wx*
Code: [Select]
-rwxr-xr-x  1 root root   4865 2004-02-14 19:59 /usr/bin/wxbase-2.4-config
-rwxr-xr-x  1 root root 670976 2005-03-20 13:04 /usr/bin/wxcas
lrwxrwxrwx  1 root root     13 2005-03-20 14:02 /usr/bin/wx-config -> wx-config-2.5
-rwxr-xr-x  1 root root   4563 2004-12-21 01:49 /usr/bin/wx-config-2.5
lrwxrwxrwx  1 root root      9 2005-03-20 14:02 /usr/bin/wxgtk2-2.5-config -> wx-config
lrwxrwxrwx  1 root root      9 2005-03-20 14:02 /usr/bin/wxgtk2u-2.5-config -> wx-config

ls -la /usr/local/bin/wx*
Code: [Select]
/bin/ls: /usr/local/bin/wx*: Datei oder Verzeichnis nicht gefunden

Hab ein RPM installiert für WX: wxgtk-2.5.2.8-3.1-i586 suse rpm

danke nommal :-)
Title: Re: CVS rpmbuild mit WxGTK 2.5 - Probleme
Post by: stefanero on March 20, 2005, 03:15:41 PM
hmm also....

1st:

solltest du mal wxBase2.4.2 deinstallieren

2nd

dein link von wx-config zeigt auf wx-config-2-5 nur das ding zeigt niergenshin...

dann hast du irgentwie wxgtk2 und gtk2-unicode rpms, also keine ahung was suse da wieder gemacht hat aber es wirkt alles ziemlich komisch.

was sagt denn

rpm -qa | grep wx
und
wx-config --libs


aso nur mal so am rande, am besten wäre es wxGTK rpms von suse ALLE komplett zu deinstallireen und die wxGTK sourcen zu laden und selbst zu bauen
Title: Re: CVS rpmbuild mit WxGTK 2.5 - Probleme
Post by: RaVen on March 20, 2005, 03:22:08 PM
wxbase - deinstalliert

rpm -qa | grep wx
Code: [Select]
wxGTK-compat-2.5.2.8-3.1
wxGTK-devel-2.5.2.8-3.1
wxGTK-2.5.2.8-3.1
wxGTK-gl-2.5.2.8-3.1

wx-config --libs
Code: [Select]
-pthread -L/usr/X11R6/lib -Wl,-rpath -Wl,/usr/lib -lwx_gtk2_html-2.5 -lwx_gtk2_dbgrid-2.5 -lwx_gtk2_adv-2.5 -lwx_gtk2_core-2.5 -lwx_base_odbc-2.5 -lwx_base_xml-2.5 -lwx_base_net-2.5 -lwx_base-2.5
klar - selber kompilieren ist wahrscheinlich grundsätzlich besser - wenn man s kann :-/ ich versuch s ja noch zu lernen bzw. zu verstehen. Naja - die HOWTOs sehen immer so leicht aus - und das interpretieren der Fehler fällt mir schwer... Irgendwann check ich des auch noch :-)
Title: Re: CVS rpmbuild mit WxGTK 2.5 - Probleme
Post by: stefanero on March 20, 2005, 03:28:16 PM
hmmm also ich versteh net wirklcih wie den ihre rpms funktionieren, gibt es da noch eines wo was mti u oder unicode dransteht, welches du vielleciht nicht installiert hast?

weil die hauptconfgdatei /usr/bin/wx-config-2.5 ist eine mit gtk2 aber ohne unicode, und du willst ja mit unicode haben....

gibt es von suse keine aktuelleren rpms? also 2.5.2 ? das wx war da eh noch ziemlich buggy, so das 2.5.4 wesentlcih besser ist
Title: Re: CVS rpmbuild mit WxGTK 2.5 - Probleme
Post by: stefanero on March 20, 2005, 03:39:27 PM
btw: installing wxGTK 2.5.4 is not that hard...
if you run into any problem I could help ya ;)

1st. remove all wx* rpms from your box

2nd download tar.gz from wxwidgets

configure with
./configure --enable-unicode --enable-gtk2 --prefix=/usr/
that should show in the end of the summary when configure is done

Which GUI toolkit should wxWidgets use?                 GTK+ 2
  Should wxWidgets be compiled into single library?       no
  Should wxWidgets be compiled in debug mode?             yes
  Should wxWidgets be linked as a shared library?         yes
  Should wxWidgets be compiled in Unicode mode?           yes




then make and make install as root and ldconfig

then try to rebuild your amule rpms

PS: keinen plan warum ich grad english geschrieben hab ;)
Title: Re: CVS rpmbuild mit WxGTK 2.5 - Probleme
Post by: RaVen on March 20, 2005, 03:40:06 PM
also 2.5.3 find ich - aber das devel dazu nich :-/... Naja - dann liegt die Sache eben auf Eis - Danke aber trotzdem...


vielleicht versuch ich ja mal selber n RPM zu machen
Title: Re: CVS rpmbuild mit WxGTK 2.5 - Probleme
Post by: thedude0001 on March 20, 2005, 03:45:45 PM
Quote
Originally posted by stefanero
PS: keinen plan warum ich grad english geschrieben hab ;)

o.O

/me is scared...
Title: Re: CVS rpmbuild mit WxGTK 2.5 - Probleme
Post by: Domi2005 on March 22, 2005, 11:20:13 AM
Servus,
es wäre sehr nett wenn jemand der auch SuSE 9.1 benutzt seine CVS RPM einfach mal posten könnt  :baby:. Ich bin nämlich irgendwie nicht in der Lage das Teil zu kompilieren, kann auch am System liegen, dass ich da schon zu oft rumgepfuscht hab un der jetzt gar nix mehr will ^_^.
Aber RPMs will der noch und es wäre wirklich lebensrettend für mich  ;(. BIITTTEEEEEEEEEEEE  :baby: :baby: :baby: :baby: :baby: :baby: :baby: :baby: :baby: :baby: :baby: :baby: :baby: :baby: :baby: :baby: :baby: :baby: :baby: :baby:
Title: Re: CVS rpmbuild mit WxGTK 2.5 - Probleme
Post by: stefanero on March 22, 2005, 11:49:31 AM
so schlimm gleich? ;)

naja ich will mit raven zusammen mal rpms machen, ist schon quasie in arbeit :)
Title: Re: CVS rpmbuild mit WxGTK 2.5 - Probleme
Post by: RaVen on March 22, 2005, 01:00:04 PM
hmm - hab kein 9.1 mehr - aber was sagt denn der output? Wo liegt der Fehler?
Title: Re: CVS rpmbuild mit WxGTK 2.5 - Probleme
Post by: Domi2005 on March 22, 2005, 03:04:47 PM
Er sagt, dass die Dateien nicht richtig installiet seien, was allerdings so nicht stimmen kann, aber wie gesagt, ich glaub ich hab mein Linuxsystem in den letzten paar MOnaten ein wenig zugemüllt, denn ich habe daran natürlich auch geübt ^^
Title: Re: CVS rpmbuild mit WxGTK 2.5 - Probleme
Post by: stefanero on March 22, 2005, 03:13:27 PM
ähhm kannst du einfach mal den fehler posten?! :)
dann kann man dir bestimmt helfen ;)