Issue 8 in project nzemberek

4 views
Skip to first unread message

codesite...@google.com

unread,
Dec 18, 2006, 2:22:05 PM12/18/06
to nzembere...@googlegroups.com
Issue 8: NZemberek Mono ile derlenmiyor
http://code.google.com/p/nzemberek/issues/detail?id=8

New issue report by serkankaba:
nant -t:mono-2.0
eklinde derledi imde a a daki ç kt y al yorum


NAnt 0.85 (Build 0.85.2478.0; release; 14.10.2006)
Copyright (C) 2001-2006 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///home/firari/Desktop/nzemberek/Nzemberek.build
Target framework: Mono 2.0 Profile
Target(s) specified: copyfiles


clean:

[delete] Deleting 33 files.
[delete] Deleted 5 directories.

prepForTests:

[mkdir] Creating directory
'/home/firari/Desktop/nzemberek/tests\bin/kaynaklar/tr/bilgi'.
[mkdir] Creating directory
'/home/firari/Desktop/nzemberek/tests\bin/kaynaklar/tr/test'.
[copy] Copying 10 files to
'/home/firari/Desktop/nzemberek/tests\bin/kaynaklar/tr/bilgi'.
[copy] Copying 17 files to
'/home/firari/Desktop/nzemberek/tests\bin/kaynaklar/tr/test'.
[copy] Copying 1 file to
'/home/firari/Desktop/nzemberek/tests\bin/Nzemberek.dll.config'.
[copy] Copying 1 file to
'/home/firari/Desktop/nzemberek/tests\bin/app.config'.

nunitbuild:

[copy] Copying 4 files to '/home/firari/Desktop/nzemberek/tests\bin'.
[csc] Compiling 127 files to
'/home/firari/Desktop/nzemberek/tests\bin/NZemberek.dll'.
[csc]
/home/firari/Desktop/nzemberek/araclar.turkce/YaziIsleyici.cs(99,19):
warning CS0219: The variable `kelimeList' is assigned but its value is
never used
[csc]
/home/firari/Desktop/nzemberek/bilgi/ZemberekAyarlari.cs(65,40): error
CS0103: The name `ConfigurationManager' does not exist in the context of
`net.zemberek.bilgi.ZemberekAyarlari'
[csc]
/home/firari/Desktop/nzemberek/bilgi/ZemberekAyarlari.cs(74,36): error
CS0103: The name `ConfigurationManager' does not exist in the context of
`net.zemberek.bilgi.ZemberekAyarlari'
[csc]
/home/firari/Desktop/nzemberek/bilgi/ZemberekAyarlari.cs(76,49): error
CS0103: The name `ConfigurationManager' does not exist in the context of
`net.zemberek.bilgi.ZemberekAyarlari'
[csc]
/home/firari/Desktop/nzemberek/bilgi/ZemberekAyarlari.cs(78,57): error
CS0103: The name `ConfigurationManager' does not exist in the context of
`net.zemberek.bilgi.ZemberekAyarlari'
[csc]
/home/firari/Desktop/nzemberek/bilgi/ZemberekAyarlari.cs(80,57): error
CS0103: The name `ConfigurationManager' does not exist in the context of
`net.zemberek.bilgi.ZemberekAyarlari'
[csc]
/home/firari/Desktop/nzemberek/bilgi/ZemberekAyarlari.cs(82,54): error
CS0103: The name `ConfigurationManager' does not exist in the context of
`net.zemberek.bilgi.ZemberekAyarlari'
[csc]
/home/firari/Desktop/nzemberek/bilgi/ZemberekAyarlari.cs(98,31): error
CS0103: The name `ConfigurationManager' does not exist in the context of
`net.zemberek.bilgi.ZemberekAyarlari'
[csc]
/home/firari/Desktop/nzemberek/tests/kullanim/RastgeleKelimeUretici.cs(32,13):
warning CS0278:
`System.Collections.Generic.ICollection<net.zemberek.yapi.Kok>' contains
ambiguous implementation of `enumerable' pattern. Method
`System.Collections.IEnumerable.GetEnumerator()' is ambiguous with method
`System.Collections.Generic.IEnumerable<net.zemberek.yapi.Kok>.GetEnumerator()'
[csc] /usr/lib/mono/2.0/mscorlib.dll (Location of the symbol related
to previous warning)
[csc] /usr/lib/mono/2.0/mscorlib.dll (Location of the symbol related
to previous warning)
[csc] /home/firari/Desktop/nzemberek/yapi/TurkceDilBilgisi.cs(59,66):
error CS0117: `System.Globalization.CultureInfo' does not contain a
definition for `IetfLanguageTag'
[csc]
/home/firari/Desktop/nzemberek/yapi.ek/TemelEkYonetici.cs(34,13): warning
CS0278:
`System.Collections.Generic.ICollection<net.zemberek.yapi.KelimeTipi>'
contains ambiguous implementation of `enumerable' pattern. Method
`System.Collections.IEnumerable.GetEnumerator()' is ambiguous with method
`System.Collections.Generic.IEnumerable<net.zemberek.yapi.KelimeTipi>.GetEnumerator()'
[csc] /usr/lib/mono/2.0/mscorlib.dll (Location of the symbol related
to previous warning)
[csc] /usr/lib/mono/2.0/mscorlib.dll (Location of the symbol related
to previous warning)
[csc] Compilation failed: 8 error(s), 3 warnings

BUILD FAILED - 0 non-fatal error(s), 15 warning(s)

/home/firari/Desktop/nzemberek/Nzemberek.build(65,6):
External Program Failed: /usr/lib/pkgconfig/../../lib/mono/2.0/gmcs.exe
(return code was 1)

Total time: 2.5 seconds.


Issue attributes:
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Dec 18, 2006, 3:17:34 PM12/18/06
to nzembere...@googlegroups.com
Issue 8: NZemberek Mono ile derlenmiyor
http://code.google.com/p/nzemberek/issues/detail?id=8

Comment #1 by tankut.tekeli:
Uyar n için te ekkürler Serkan.

Issue attribute updates:
Status: Started
Owner: tankut.tekeli

codesite...@google.com

unread,
Dec 18, 2006, 3:47:39 PM12/18/06
to nzembere...@googlegroups.com
Issue 8: NZemberek Mono ile derlenmiyor
http://code.google.com/p/nzemberek/issues/detail?id=8

Comment #2 by tankut.tekeli:

Biriki ufak düzeltmeden sonra bende Windows üzerinde Mono-1.2.2 ile compile etti,
testler ok.
Serkan vaktin oldu unda bir verify edebilir misin, linuxta herhangi bir sorun oluyor
mu...


Issue attribute updates:
Status: Fixed

codesite...@google.com

unread,
Dec 18, 2006, 4:36:46 PM12/18/06
to nzembere...@googlegroups.com
Issue 8: NZemberek Mono ile derlenmiyor
http://code.google.com/p/nzemberek/issues/detail?id=8

Comment #3 by serkankaba:
Bu sefer derlemeyi geçti dll ler test dizininde olu tu ama dagitim da olu mad . Ç kt
u ekilde

firari@localhost ~/Desktop/nzemberek $ nant -t:mono-2.0


clean:

prepForTests:

nunitbuild:

[csc] /home/firari/Desktop/nzemberek/bilgi/ZemberekAyarlari.cs(65,62): warning
CS0618: `System.Configuration.ConfigurationSettings.AppSettings' is obsolete: `This
property is obsolete. Please use System.Configuration.ConfigurationManager.AppSettings'
[csc] /home/firari/Desktop/nzemberek/bilgi/ZemberekAyarlari.cs(74,58): warning
CS0618: `System.Configuration.ConfigurationSettings.AppSettings' is obsolete: `This
property is obsolete. Please use System.Configuration.ConfigurationManager.AppSettings'
[csc] /home/firari/Desktop/nzemberek/bilgi/ZemberekAyarlari.cs(76,75): warning
CS0618: `System.Configuration.ConfigurationSettings.AppSettings' is obsolete: `This
property is obsolete. Please use System.Configuration.ConfigurationManager.AppSettings'
[csc] /home/firari/Desktop/nzemberek/bilgi/ZemberekAyarlari.cs(78,79): warning
CS0618: `System.Configuration.ConfigurationSettings.AppSettings' is obsolete: `This
property is obsolete. Please use System.Configuration.ConfigurationManager.AppSettings'
[csc] /home/firari/Desktop/nzemberek/bilgi/ZemberekAyarlari.cs(80,79): warning
CS0618: `System.Configuration.ConfigurationSettings.AppSettings' is obsolete: `This
property is obsolete. Please use System.Configuration.ConfigurationManager.AppSettings'
[csc] /home/firari/Desktop/nzemberek/bilgi/ZemberekAyarlari.cs(82,76): warning
CS0618: `System.Configuration.ConfigurationSettings.AppSettings' is obsolete: `This
property is obsolete. Please use System.Configuration.ConfigurationManager.AppSettings'
[csc] /home/firari/Desktop/nzemberek/bilgi/ZemberekAyarlari.cs(98,53): warning
CS0618: `System.Configuration.ConfigurationSettings.AppSettings' is obsolete: `This
property is obsolete. Please use System.Configuration.ConfigurationManager.AppSettings'
[csc] /home/firari/Desktop/nzemberek/bilgi.araclar/IkiliKokOkuyucu.cs(46,41):
warning CS0168: The variable `e' is declared but never used
[csc] /home/firari/Desktop/nzemberek/bilgi.kokler/KokAgaciYuruyucu.cs(118,18):
warning CS0219: The variable `c' is assigned but its value is never used
[csc] /home/firari/Desktop/nzemberek/islemler/HataliKodTemizleyici.cs(51,13):
warning CS0278: `System.Collections.Generic.ICollection<char>' contains ambiguous


implementation of `enumerable' pattern. Method
`System.Collections.IEnumerable.GetEnumerator()' is ambiguous with method

`System.Collections.Generic.IEnumerable<char>.GetEnumerator()'


[csc] /usr/lib/mono/2.0/mscorlib.dll (Location of the symbol related to
previous warning)
[csc] /usr/lib/mono/2.0/mscorlib.dll (Location of the symbol related to
previous warning)

[csc] /home/firari/Desktop/nzemberek/islemler/HataliKodTemizleyici.cs(71,18):
warning CS0219: The variable `end' is assigned but its value is never used
[csc]
/home/firari/Desktop/nzemberek/islemler/HataliKodlamaTemizleyici.cs(51,13): warning
CS0278: `System.Collections.Generic.ICollection<char>' contains ambiguous


implementation of `enumerable' pattern. Method
`System.Collections.IEnumerable.GetEnumerator()' is ambiguous with method

`System.Collections.Generic.IEnumerable<char>.GetEnumerator()'


[csc] /usr/lib/mono/2.0/mscorlib.dll (Location of the symbol related to
previous warning)
[csc] /usr/lib/mono/2.0/mscorlib.dll (Location of the symbol related to
previous warning)
[csc]
/home/firari/Desktop/nzemberek/tests/kullanim/RastgeleKelimeUretici.cs(32,13):
warning CS0278: `System.Collections.Generic.ICollection<net.zemberek.yapi.Kok>'
contains ambiguous implementation of `enumerable' pattern. Method
`System.Collections.IEnumerable.GetEnumerator()' is ambiguous with method
`System.Collections.Generic.IEnumerable<net.zemberek.yapi.Kok>.GetEnumerator()'
[csc] /usr/lib/mono/2.0/mscorlib.dll (Location of the symbol related to
previous warning)
[csc] /usr/lib/mono/2.0/mscorlib.dll (Location of the symbol related to
previous warning)

[csc] /home/firari/Desktop/nzemberek/tests/yapi/TestHarfDizisi.cs(188,24):
warning CS0219: The variable `ydizi' is assigned but its value is never used
[csc] /home/firari/Desktop/nzemberek/tests/yapi.ek/TestEkUreticiTr.cs(22,23):
warning CS0219: The variable `uretici' is assigned but its value is never used
[csc] /home/firari/Desktop/nzemberek/yapi.ek/TemelEkYonetici.cs(34,13): warning


CS0278: `System.Collections.Generic.ICollection<net.zemberek.yapi.KelimeTipi>'
contains ambiguous implementation of `enumerable' pattern. Method
`System.Collections.IEnumerable.GetEnumerator()' is ambiguous with method
`System.Collections.Generic.IEnumerable<net.zemberek.yapi.KelimeTipi>.GetEnumerator()'
[csc] /usr/lib/mono/2.0/mscorlib.dll (Location of the symbol related to
previous warning)
[csc] /usr/lib/mono/2.0/mscorlib.dll (Location of the symbol related to
previous warning)
[csc]

/home/firari/Desktop/nzemberek/araclar.turkce/TurkishTokenStream.cs(23,24): warning
CS0414: The private field
`net.zemberek.araclar.turkce.TurkishTokenStream.cumleBuffer' is assigned but its
value is never used
[csc] /home/firari/Desktop/nzemberek/araclar.turkce/YaziIsleyici.cs(25,40):
warning CS0414: The private field
`net.zemberek.araclar.turkce.YaziIsleyici.kelimeAyrac' is assigned but its value is
never used
[csc] /home/firari/Desktop/nzemberek/araclar.turkce/YaziIsleyici.cs(26,40):
warning CS0414: The private field
`net.zemberek.araclar.turkce.YaziIsleyici.cumleAyrac' is assigned but its value is
never used
[csc] /home/firari/Desktop/nzemberek/bilgi/KaynakYukleyici.cs(59,30): warning
CS0169: The private method
`net.zemberek.bilgi.KaynakYukleyici.utf8BomDenetle(System.IO.StreamReader)' is never used
[csc] /home/firari/Desktop/nzemberek/bilgi/KaynakYukleyici.cs(50,31): warning
CS0414: The private field `net.zemberek.bilgi.KaynakYukleyici.bomBytes' is assigned


but its value is never used

[csc] /home/firari/Desktop/nzemberek/bilgi.kokler/KokAgaciYuruyucu.cs(18,13):
warning CS0414: The private field
`net.zemberek.bilgi.kokler.KokAgaciYuruyucu.distanceCalculationCount' is assigned but


its value is never used

[csc] /home/firari/Desktop/nzemberek/islemler/HataliKodTemizleyici.cs(14,38):
warning CS0414: The private field `net.zemberek.islemler.HataliKodTemizleyici.logger'


is assigned but its value is never used
[csc]

/home/firari/Desktop/nzemberek/islemler/HataliKodlamaTemizleyici.cs(14,38): warning
CS0414: The private field `net.zemberek.islemler.HataliKodlamaTemizleyici.logger' is


assigned but its value is never used
[csc]

/home/firari/Desktop/nzemberek/tr/islemler/TurkceCozumlemeYardimcisi.cs(21,27):
warning CS0414: The private field
`net.zemberek.tr.islemler.TurkceCozumlemeYardimcisi.cep' is assigned but its value is
never used
[csc] /home/firari/Desktop/nzemberek/yapi.ek/TemelEkOzelDurumUretici.cs(10,38):
warning CS0414: The private field
`net.zemberek.yapi.ek.TemelEkOzelDurumUretici.logger' is assigned but its value is
never used
[csc] /home/firari/Desktop/nzemberek/yapi/CokluKok.cs(11,16): warning CS0169:
The private field `net.zemberek.yapi.CokluKok.kelimeler' is never used
[csc] /home/firari/Desktop/nzemberek/yapi/TurkceDilBilgisi.cs(42,24): warning
CS0414: The private field `net.zemberek.yapi.TurkceDilBilgisi.kokIstatistikDosyaAdi'


is assigned but its value is never used

[csc] Compilation succeeded - 29 warning(s)

runtests:

[nunit2] log4net:ERROR DefaultRepositorySelector: Exception while reading
ConfigurationSettings. Check your .config file is well formed XML.
[nunit2] System.ArgumentException: exePath must be specified when not running
inside a stand alone exe.
[nunit2] at
System.Configuration.ConfigurationManager.OpenExeConfigurationInternal
(ConfigurationUserLevel userLevel, System.Reflection.Assembly calling_assembly,
System.String exePath) [0x00000]
[nunit2] at
System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection
(System.String configKey) [0x00000]
[nunit2] at System.Configuration.ConfigurationManager.GetSection (System.String
sectionName) [0x00000]
[nunit2] at System.Configuration.ConfigurationManager.get_AppSettings () [0x00000]
[nunit2] at log4net.Util.SystemInfo.GetAppSetting (System.String key) [0x00000]
[nunit2] log4net:ERROR DefaultRepositorySelector: Exception while reading
ConfigurationSettings. Check your .config file is well formed XML.
[nunit2] System.ArgumentException: exePath must be specified when not running
inside a stand alone exe.
[nunit2] at
System.Configuration.ConfigurationManager.OpenExeConfigurationInternal
(ConfigurationUserLevel userLevel, System.Reflection.Assembly calling_assembly,
System.String exePath) [0x00000]
[nunit2] at
System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection
(System.String configKey) [0x00000]
[nunit2] at System.Configuration.ConfigurationManager.GetSection (System.String
sectionName) [0x00000]
[nunit2] at System.Configuration.ConfigurationManager.get_AppSettings () [0x00000]
[nunit2] at log4net.Util.SystemInfo.GetAppSetting (System.String key) [0x00000]
[nunit2] log4net:ERROR DefaultRepositorySelector: Exception while reading
ConfigurationSettings. Check your .config file is well formed XML.
[nunit2] System.ArgumentException: exePath must be specified when not running
inside a stand alone exe.
[nunit2] at
System.Configuration.ConfigurationManager.OpenExeConfigurationInternal
(ConfigurationUserLevel userLevel, System.Reflection.Assembly calling_assembly,
System.String exePath) [0x00000]
[nunit2] at
System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection
(System.String configKey) [0x00000]
[nunit2] at System.Configuration.ConfigurationManager.GetSection (System.String
sectionName) [0x00000]
[nunit2] at System.Configuration.ConfigurationManager.get_AppSettings () [0x00000]
[nunit2] at log4net.Util.SystemInfo.GetAppSetting (System.String key) [0x00000]
[nunit2] log4net:ERROR DefaultRepositorySelector: Exception while reading
ConfigurationSettings. Check your .config file is well formed XML.
[nunit2] System.ArgumentException: exePath must be specified when not running
inside a stand alone exe.
[nunit2] at
System.Configuration.ConfigurationManager.OpenExeConfigurationInternal
(ConfigurationUserLevel userLevel, System.Reflection.Assembly calling_assembly,
System.String exePath) [0x00000]
[nunit2] at
System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection
(System.String configKey) [0x00000]
[nunit2] at System.Configuration.ConfigurationManager.GetSection (System.String
sectionName) [0x00000]
[nunit2] at System.Configuration.ConfigurationManager.get_AppSettings () [0x00000]
[nunit2] at log4net.Util.SystemInfo.GetAppSetting (System.String key) [0x00000]
[nunit2] log4net:ERROR DefaultRepositorySelector: Exception while reading
ConfigurationSettings. Check your .config file is well formed XML.
[nunit2] System.ArgumentException: exePath must be specified when not running
inside a stand alone exe.
[nunit2] at
System.Configuration.ConfigurationManager.OpenExeConfigurationInternal
(ConfigurationUserLevel userLevel, System.Reflection.Assembly calling_assembly,
System.String exePath) [0x00000]
[nunit2] at
System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection
(System.String configKey) [0x00000]
[nunit2] at System.Configuration.ConfigurationManager.GetSection (System.String
sectionName) [0x00000]
[nunit2] at System.Configuration.ConfigurationManager.get_AppSettings () [0x00000]
[nunit2] at log4net.Util.SystemInfo.GetAppSetting (System.String key) [0x00000]
[nunit2] log4net:ERROR DefaultRepositorySelector: Exception while reading
ConfigurationSettings. Check your .config file is well formed XML.
[nunit2] System.ArgumentException: exePath must be specified when not running
inside a stand alone exe.
[nunit2] at
System.Configuration.ConfigurationManager.OpenExeConfigurationInternal
(ConfigurationUserLevel userLevel, System.Reflection.Assembly calling_assembly,
System.String exePath) [0x00000]
[nunit2] at
System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection
(System.String configKey) [0x00000]
[nunit2] at System.Configuration.ConfigurationManager.GetSection (System.String
sectionName) [0x00000]
[nunit2] at System.Configuration.ConfigurationManager.get_AppSettings () [0x00000]
[nunit2] at log4net.Util.SystemInfo.GetAppSetting (System.String key) [0x00000]
[nunit2]

BUILD FAILED - 0 non-fatal error(s), 37 warning(s)

/home/firari/Desktop/nzemberek/Nzemberek.build(50,6):
Tests Failed.

Total time: 9.8 seconds.

birde

tests\bin
nzemberek/tests\reports

gibi 2 dizin olu tu san r m bu windows a göre ayarl olmas ndan kaynaklan yor (testi
geçememesinin yada dagitim a kopyalanamamas n n sebebide olabilirmi bilmiyorum.

San r m çok az düzeltme ile tam uyumlu hale gelebilir

codesite...@google.com

unread,
Dec 19, 2006, 2:47:26 AM12/19/06
to nzembere...@googlegroups.com
Issue 8: NZemberek Mono ile derlenmiyor
http://code.google.com/p/nzemberek/issues/detail?id=8

Comment #4 by spinodal:
Linux'da build olmuyor hala


Issue attribute updates:
Status: Started

--

codesite...@google.com

unread,
Dec 19, 2006, 2:57:08 AM12/19/06
to nzembere...@googlegroups.com
Issue 8: NZemberek Mono ile derlenmiyor
http://code.google.com/p/nzemberek/issues/detail?id=8

Comment #5 by serkankaba:
build oluyor asl nda (test dizini alt nda dll dosyalar olu tu) sadece gerekli
dizinlere atm yor gibi geldi bana

codesite...@google.com

unread,
Dec 19, 2006, 3:00:27 AM12/19/06
to nzembere...@googlegroups.com
Issue 8: NZemberek Mono ile derlenmiyor
http://code.google.com/p/nzemberek/issues/detail?id=8

Comment #6 by spinodal:
düzeltiyorum > linux üzerinde nant build'i ba ar yla tamamlanam yor...

codesite...@google.com

unread,
Dec 19, 2006, 3:42:58 PM12/19/06
to nzembere...@googlegroups.com
Issue 8: NZemberek Mono ile derlenmiyor
http://code.google.com/p/nzemberek/issues/detail?id=8

Comment #7 by spinodal:
NZemberek.build dosyasında değişiklik yapıldı ve iki farklı log4net kütüphanesi eklendi.
Build dosyasında aşağıdaki property değiştirilerek mono-2.0 için build edilebilir
durumda.

<!-- net-2.0 veya mono-2.0 kullanilabilir -->
<property name="nant.settings.currentframework" value="net-2.0"/>
Henüz linux üzerinde mono test edemediğimizden birileri test ederse çok memnun
olacağız. (Yakında bunu halletmiş oluruz ve testleri gerçekleştirebiliriz)


Issue attribute updates:
Status: Fixed

--

Reply all
Reply to author
Forward
0 new messages