Mono Make komutu hata veriyor

Katılım
14 Eylül 2020
Mesajlar
3.031
Çözümler
74
Yer
İstanbul
Daha önceden Windows kullanırken Visual Studio'da WinForms Designer denilen bir özellik vardı. Biraz araştırma ile Linux'da Monodevelop için mono/mwf-designer ile bunun mümkün olduğunu öğrendim. Daha sonra bunu indirip README dosyasının dediğine göre make mono-design komutunu çalıştırdım. Komut uzun süre çalıştı ve şu hatayı verdi:
[CODE lang="bash" title="ÇIKTI" highlight="145-159"]mkdir -p build
MCS_COLORS=disable mcs -debug -r:System.Design,System.Windows.Forms,System.Drawing,System.Data,deps/ICSharpCode.NRefactory.dll -out:build/mwf-designer.exe src/*.cs src/*/*.cs src/*/*/*.cs
src/UI/MainView.cs(53,25): warning CS0414: The private field `mwf_designer.MainView._toolboxFiller' is assigned but its value is never used
Compilation succeeded - 1 warning(s)
cd deps/Mono.Design && make
make[1]: Entering directory '/home/sarp/mwf-designer/deps/Mono.Design'
python3 generate-mono-design.py
--> Step 1: Fetching source code...
A build/common/Consts.cs.in
A build/common/MonoTODOAttribute.cs
A class/System.Design/System.ComponentModel.Design.Serialization/BasicDesignerLoader.cs
A class/System.Design/System.ComponentModel.Design.Serialization/CodeDomComponentSerializationService.cs
A class/System.Design/System.ComponentModel.Design.Serialization/CodeDomDesignerLoader.cs
A class/System.Design/System.ComponentModel.Design.Serialization/CodeDomSerializationProvider.cs
A class/System.Design/System.ComponentModel.Design.Serialization/CodeDomSerializer.cs
A class/System.Design/System.ComponentModel.Design.Serialization/CodeDomSerializerBase.cs
A class/System.Design/System.ComponentModel.Design.Serialization/CollectionCodeDomSerializer.cs
A class/System.Design/System.ComponentModel.Design.Serialization/ComponentCodeDomSerializer.cs
A class/System.Design/System.ComponentModel.Design.Serialization/DesignerSerializationManager.cs
A class/System.Design/System.ComponentModel.Design.Serialization/EnumCodeDomSerializer.cs
A class/System.Design/System.ComponentModel.Design.Serialization/EventCodeDomSerializer.cs
A class/System.Design/System.ComponentModel.Design.Serialization/ExpressionContext.cs
A class/System.Design/System.ComponentModel.Design.Serialization/MemberCodeDomSerializer.cs
A class/System.Design/System.ComponentModel.Design.Serialization/ObjectStatementCollection.cs
A class/System.Design/System.ComponentModel.Design.Serialization/PrimitiveCodeDomSerializer.cs
A class/System.Design/System.ComponentModel.Design.Serialization/PropertyCodeDomSerializer.cs
A class/System.Design/System.ComponentModel.Design.Serialization/RootCodeDomSerializer.cs
A class/System.Design/System.ComponentModel.Design.Serialization/RootContext.cs
A class/System.Design/System.ComponentModel.Design.Serialization/SerializeAbsoluteContext.cs
A class/System.Design/System.ComponentModel.Design.Serialization/StatementContext.cs
A class/System.Design/System.ComponentModel.Design.Serialization/TypeCodeDomSerializer.cs
A class/System.Design/System.ComponentModel.Design/ActiveDesignSurfaceChangedEventArgs.cs
A class/System.Design/System.ComponentModel.Design/ActiveDesignSurfaceChangedEventHandler.cs
A class/System.Design/System.ComponentModel.Design/ComponentDesigner.cs
A class/System.Design/System.ComponentModel.Design/DesignModeNestedContainer.cs
A class/System.Design/System.ComponentModel.Design/DesignModeSite.cs
A class/System.Design/System.ComponentModel.Design/DesignSurface.cs
A class/System.Design/System.ComponentModel.Design/DesignSurfaceCollection.cs
A class/System.Design/System.ComponentModel.Design/DesignSurfaceEventArgs.cs
A class/System.Design/System.ComponentModel.Design/DesignSurfaceEventHandler.cs
A class/System.Design/System.ComponentModel.Design/DesignSurfaceManager.cs
A class/System.Design/System.ComponentModel.Design/DesignSurfaceServiceContainer.cs
A class/System.Design/System.ComponentModel.Design/DesignerActionListCollection.cs
A class/System.Design/System.ComponentModel.Design/DesignerEventService.cs
A class/System.Design/System.ComponentModel.Design/DesignerHost.cs
A class/System.Design/System.ComponentModel.Design/EventBindingService.cs
A class/System.Design/System.ComponentModel.Design/ExtenderService.cs
A class/System.Design/System.ComponentModel.Design/LoadedEventArgs.cs
A class/System.Design/System.ComponentModel.Design/LoadedEventHandler.cs
A class/System.Design/System.ComponentModel.Design/MenuCommandService.cs
A class/System.Design/System.ComponentModel.Design/ReferenceService.cs
A class/System.Design/System.ComponentModel.Design/SelectionService.cs
A class/System.Design/System.ComponentModel.Design/TypeDescriptorFilterService.cs
A class/System.Design/System.ComponentModel.Design/UndoEngine.cs
A class/System.Design/System.Windows.Forms.Design/ComponentTray.cs
A class/System.Design/System.Windows.Forms.Design/ControlCodeDomSerializer.cs
A class/System.Design/System.Windows.Forms.Design/ControlCollectionCodeDomSerializer.cs
A class/System.Design/System.Windows.Forms.Design/ControlDataObject.cs
A class/System.Design/System.Windows.Forms.Design/ControlDesigner.cs
A class/System.Design/System.Windows.Forms.Design/DefaultMenuCommands.cs
A class/System.Design/System.Windows.Forms.Design/DocumentDesigner.cs
A class/System.Design/System.Windows.Forms.Design/FormDocumentDesigner.cs
A class/System.Design/System.Windows.Forms.Design/IMessageReceiver.cs
A class/System.Design/System.Windows.Forms.Design/IUISelectionService.cs
A class/System.Design/System.Windows.Forms.Design/Native.cs
A class/System.Design/System.Windows.Forms.Design/PanelDesigner.cs
A class/System.Design/System.Windows.Forms.Design/ParentControlDesigner.cs
A class/System.Design/System.Windows.Forms.Design/ScrollableControlDesigner.cs
A class/System.Design/System.Windows.Forms.Design/SelectionFrame.cs
A class/System.Design/System.Windows.Forms.Design/SplitContainerDesigner.cs
A class/System.Design/System.Windows.Forms.Design/UISelectionService.cs
A class/System.Design/System.Windows.Forms.Design/WndProcRouter.cs
E class/System/System.ComponentModel.Design.Serialization/ComponentSerializationService.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel.Design.Serialization/ComponentSerializationService.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel.Design.Serialization/ComponentSerializationService.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel.Design.Serialization/DefaultSerializationProviderAttribute.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel.Design.Serialization/DefaultSerializationProviderAttribute.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel.Design.Serialization/DefaultSerializationProviderAttribute.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel.Design.Serialization/MemberRelationship.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel.Design.Serialization/MemberRelationship.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel.Design.Serialization/MemberRelationship.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel.Design.Serialization/MemberRelationshipService.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel.Design.Serialization/MemberRelationshipService.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel.Design.Serialization/MemberRelationshipService.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel.Design.Serialization/SerializationStore.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel.Design.Serialization/SerializationStore.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel.Design.Serialization/SerializationStore.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel.Design/DesignerOptionService.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel.Design/DesignerOptionService.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel.Design/DesignerOptionService.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel.Design/IComponentInitializer.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel.Design/IComponentInitializer.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel.Design/IComponentInitializer.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel.Design/ITreeDesigner.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel.Design/ITreeDesigner.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel.Design/ITreeDesigner.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel/INestedContainer.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel/INestedContainer.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel/INestedContainer.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel/INestedSite.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel/INestedSite.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel/INestedSite.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel/NestedContainer.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel/NestedContainer.cs
HTTP Error 404: Not Found
E class/System/System.ComponentModel/NestedContainer.cs
HTTP Error 404: Not Found
--> Step 2: Applying patches...
Unexpected Error:
[Errno 2] No such file or directory: 'patch -p0 -i "/home/sarp/mwf-designer/deps/Mono.Design/patches/CodeDomComponentSerializationService-error-reporting.patch"'
touch .generated
export MCS_COLORS=disable;mcs -d:NET_2_0,DEBUG -target:library -debug -r:System.Design,System.Windows.Forms,System.Drawing -out:../Mono.Design.dll `cat Mono.Design.sources`
build/common/Consts.cs.in(86,0): error CS1029: #error: 'Profile NET_2_0 is not supported.'
error CS2001: Source file `class/System/System.ComponentModel.Design.Serialization/ComponentSerializationService.cs' could not be found
error CS2001: Source file `class/System/System.ComponentModel.Design.Serialization/DefaultSerializationProviderAttribute.cs' could not be found
error CS2001: Source file `class/System/System.ComponentModel.Design.Serialization/MemberRelationship.cs' could not be found
error CS2001: Source file `class/System/System.ComponentModel.Design.Serialization/MemberRelationshipService.cs' could not be found
error CS2001: Source file `class/System/System.ComponentModel.Design.Serialization/SerializationStore.cs' could not be found
error CS2001: Source file `class/System/System.ComponentModel.Design/DesignerOptionService.cs' could not be found
error CS2001: Source file `class/System/System.ComponentModel.Design/IComponentInitializer.cs' could not be found
error CS2001: Source file `class/System/System.ComponentModel.Design/ITreeDesigner.cs' could not be found
error CS2001: Source file `class/System/System.ComponentModel/INestedContainer.cs' could not be found
error CS2001: Source file `class/System/System.ComponentModel/INestedSite.cs' could not be found
error CS2001: Source file `class/System/System.ComponentModel/NestedContainer.cs' could not be found
Compilation failed: 12 error(s), 0 warnings
make[1]: *** [Makefile:9: net-2] Error 1
make[1]: Leaving directory '/home/sarp/mwf-designer/deps/Mono.Design'
make: *** [Makefile:22: mono-design] Error 2[/CODE]
Bu hatayı nasıl düzelteyim? İnternetten dosyaları indirip manuel olarak koysam olur mu?
 
Son düzenleyen: Moderatör:
Uyarı! Bu konu 5 yıl önce açıldı.
Muhtemelen daha fazla tartışma gerekli değildir ki bu durumda yeni bir konu başlatmayı öneririz. Eğer yine de cevabınızın gerekli olduğunu düşünüyorsanız buna rağmen cevap verebilirsiniz.

Technopat Haberler

Yeni konular

Geri
Yukarı