kumorikuma / paint-mono

Automatically exported from code.google.com/p/paint-mono
Other
0 stars 0 forks source link

make issue with System.Xml.Linq #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
after a successful ./configure, i try to do my make.  but, in the middle of
it, there is a problem -- namely, there is no System.Xml.Linq directory.

i recently installed mono on my intel macbook, OS 10.5.1.  when i type in
mono -V, i get:
Mono JIT compiler version 1.2.6 (tarball)
Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
    TLS:           normal
    GC:            Included Boehm (with typed GC)
    SIGSEGV:       normal
    Notification:  Thread + polling
    Architecture:  x86
    Disabled:      none

here is the output after i tell it "make".

make pre-all-local-hook prefix=/usr/local
mkdir -p bin/Release/
make RELEASE_AND_PACKAGE_ANY_CPU_BeforeBuild
gmcs -noconfig -codepage:utf8 -warn:4 -optimize+ -debug -define:DEBUG
"-define:TRACE" -out:bin/Release/Resources.mui.exe -target:exe './Stub.cs'
     -r:System  
make RELEASE_AND_PACKAGE_ANY_CPU_AfterBuild
make post-all-local-hook prefix=/usr/local
mkdir -p bin/Release/
cp 'resources.mui' 'bin/Release//resources.mui'
chmod u+x 'bin/Release//resources.mui'
make pre-all-local-hook prefix=/usr/local
mkdir -p bin/Release/
make RELEASE_AND_PACKAGE_ANY_CPU_BeforeBuild
gmcs -noconfig -codepage:utf8 -warn:4 -optimize+ -debug -define:DEBUG
"-define:TRACE" -out:bin/Release/PdnRepair.exe -target:exe
'./AssemblyInfo.cs' './Program.cs'      -r:System  
make RELEASE_AND_PACKAGE_ANY_CPU_AfterBuild
make post-all-local-hook prefix=/usr/local
mkdir -p bin/Release/
cp 'pdnrepair' 'bin/Release//pdnrepair'
chmod u+x 'bin/Release//pdnrepair'
make pre-all-local-hook prefix=/usr/local
mkdir -p bin/Release/
make RELEASE_AND_PACKAGE_ANY_CPU_BeforeBuild
gmcs -noconfig -codepage:utf8 -warn:4 -optimize+ -debug -define:DEBUG
"-define:TRACE" -out:bin/Release/PaintDotNet.StylusReader.dll
-target:library './AssemblyInfo.cs' './IStylusReaderHooks.cs'
'./StylusAsyncPlugin.cs' './StylusReader.cs'      -r:System   
-r:System.Drawing    -r:System.Windows.Forms 
-r:../Microsoft.Ink/Microsoft.Ink.dll 
make RELEASE_AND_PACKAGE_ANY_CPU_AfterBuild
make post-all-local-hook prefix=/usr/local
mkdir -p bin/Release/
cp '../Microsoft.Ink/Microsoft.Ink.dll' 'bin/Release//Microsoft.Ink.dll'
mkdir -p bin/Release/
cp 'stylusreader.pc' 'bin/Release//stylusreader.pc'
make pre-all-local-hook prefix=/usr/local
mkdir -p bin/Release/
make RELEASE_AND_PACKAGE_ANY_CPU_BeforeBuild
gmcs -noconfig -codepage:utf8 -unsafe -warn:4 -optimize+ -debug
-define:DEBUG "-define:TRACE" -out:bin/Release/PaintDotNet.SystemLayer.dll
-target:library './AssemblyInfo.cs' './FileSystem.cs' './Fonts.cs'
'./FontSmoothing.cs' './FormEx.cs' './SingleInstaceManager.cs'
'./ISimpleCollection.cs' './IInkHooks.cs' './Ink.cs' './Memory.cs'
'./MenuStripEx.cs' './NativeConstants.cs' './NativeDelegates.cs'
'./NativeMethods.cs' './NativeStructs.cs' './Network.cs'
'./NullGraphics.cs' './OS.cs' './OSType.cs' './PdnGraphics.cs'
'./ProcessorArchitecture.cs' './Processor.cs' './PropertyItem2.cs'
'./RealParentWndProcDelegate.cs' './SafeNativeMethods.cs'
'./ScanningAndPrinting.cs' './ScanResult.cs' './ScrollPanel.cs'
'./Security.cs' './SerializationFallbackBinder.cs' './Settings.cs'
'./Shell.cs' './ThreadBackground.cs' './ThreadBackgroundFlags.cs'
'./Timing.cs' './ToolStripEx.cs' './Tracing.cs' './UI.cs'
'./UserSessions.cs' './WaitHandleArray.cs' 
'-resource:./PropertyItem.png,PaintDotNet.SystemLayer.PropertyItem.png'   
-r:System    -r:System.Data    -r:System.Drawing    -r:System.Windows.Forms
   -r:System.Xml    -r:Mono.Posix    -r:System.Xml.Linq  
-r:../StylusReader/bin/Release/PaintDotNet.StylusReader.dll
error CS0006: cannot find metadata file `System.Xml.Linq'
Compilation failed: 1 error(s), 0 warnings
make[1]: *** [bin/Release/PaintDotNet.SystemLayer.dll] Error 1
make: *** [all-recursive] Error 1

Original issue reported on code.google.com by byron....@gmail.com on 23 Dec 2007 at 6:14

GoogleCodeExporter commented 9 years ago
I have the same issue:

# mono -V
Mono JIT compiler version 1.2.6 (tarball)
Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  x86
        Disabled:      none

And in the make:

gmcs -noconfig -codepage:utf8 -unsafe -warn:4 -optimize+ -debug -define:DEBUG
"-define:TRACE" -out:bin/Release/PaintDotNet.SystemLayer.dll -target:library
'./AssemblyInfo.cs' './FileSystem.cs' './Fonts.cs' './FontSmoothing.cs' 
'./FormEx.cs'
'./SingleInstaceManager.cs' './ISimpleCollection.cs' './IInkHooks.cs' './Ink.cs'
'./Memory.cs' './MenuStripEx.cs' './NativeConstants.cs' './NativeDelegates.cs'
'./NativeMethods.cs' './NativeStructs.cs' './Network.cs' './NullGraphics.cs'
'./OS.cs' './OSType.cs' './PdnGraphics.cs' './ProcessorArchitecture.cs'
'./Processor.cs' './PropertyItem2.cs' './RealParentWndProcDelegate.cs'
'./SafeNativeMethods.cs' './ScanningAndPrinting.cs' './ScanResult.cs'
'./ScrollPanel.cs' './Security.cs' './SerializationFallbackBinder.cs' 
'./Settings.cs'
'./Shell.cs' './ThreadBackground.cs' './ThreadBackgroundFlags.cs' './Timing.cs'
'./ToolStripEx.cs' './Tracing.cs' './UI.cs' './UserSessions.cs'
'./WaitHandleArray.cs' 
'-resource:./PropertyItem.png,PaintDotNet.SystemLayer.PropertyItem.png'    
-r:System
   -r:System.Data    -r:System.Drawing    -r:System.Windows.Forms    -r:System.Xml  
 -r:Mono.Posix    -r:System.Xml.Linq  
-r:../StylusReader/bin/Release/PaintDotNet.StylusReader.dll
error CS0006: cannot find metadata file `System.Xml.Linq'
Compilation failed: 1 error(s), 0 warnings
make[1]: *** [bin/Release/PaintDotNet.SystemLayer.dll] Error 1
make[1]: Leaving directory `/root/paint-mono/SystemLayer'
make: *** [all-recursive] Error 1

Original comment by elbe...@gmail.com on 23 Dec 2007 at 1:42

GoogleCodeExporter commented 9 years ago
Same problem here, on a Gentoo Linux box.

gmcs -noconfig -codepage:utf8 -unsafe -warn:4 -optimize+ -debug -define:DEBUG
"-define:TRACE" -out:bin/Release/PaintDotNet.SystemLayer.dll -target:library
'./AssemblyInfo.cs' './FileSystem.cs' './Fonts.cs' './FontSmoothing.cs' 
'./FormEx.cs'
'./SingleInstaceManager.cs' './ISimpleCollection.cs' './IInkHooks.cs' './Ink.cs'
'./Memory.cs' './MenuStripEx.cs' './NativeConstants.cs' './NativeDelegates.cs'
'./NativeMethods.cs' './NativeStructs.cs' './Network.cs' './NullGraphics.cs'
'./OS.cs' './OSType.cs' './PdnGraphics.cs' './ProcessorArchitecture.cs'
'./Processor.cs' './PropertyItem2.cs' './RealParentWndProcDelegate.cs'
'./SafeNativeMethods.cs' './ScanningAndPrinting.cs' './ScanResult.cs'
'./ScrollPanel.cs' './Security.cs' './SerializationFallbackBinder.cs' 
'./Settings.cs'
'./Shell.cs' './ThreadBackground.cs' './ThreadBackgroundFlags.cs' './Timing.cs'
'./ToolStripEx.cs' './Tracing.cs' './UI.cs' './UserSessions.cs'
'./WaitHandleArray.cs' 
'-resource:./PropertyItem.png,PaintDotNet.SystemLayer.PropertyItem.png'    
-r:System
   -r:System.Data    -r:System.Drawing    -r:System.Windows.Forms    -r:System.Xml  
 -r:Mono.Posix    -r:System.Xml.Linq  
-r:../StylusReader/bin/Release/PaintDotNet.StylusReader.dll
error CS0006: cannot find metadata file `System.Xml.Linq'
Compilation failed: 1 error(s), 0 warnings
make[1]: *** [bin/Release/PaintDotNet.SystemLayer.dll] Error 1
make[1]: Leaving directory `/home/rod/build/paint-mono/SystemLayer'
make: *** [all-recursive] Error 1
rod@smoking ~/build/paint-mono $ mono --version
Mono JIT compiler version 1.2.6 (tarball)
Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
    TLS:           __thread
    GC:            Included Boehm (with typed GC)
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  x86
    Disabled:      none

Original comment by rodbeg...@gmail.com on 23 Dec 2007 at 6:06

GoogleCodeExporter commented 9 years ago
Me too:

evan@pandora:~/Desktop/paint-mono$ make
make[1]: Entering directory `/home/evan/Desktop/paint-mono'
make[1]: Leaving directory `/home/evan/Desktop/paint-mono'
make[1]: Entering directory `/home/evan/Desktop/paint-mono/Resources.mui'
sed -e "s,@prefix@,/usr/local," -e "s,@PACKAGE@,paintdotnet," < 
resources.mui.in >
resources.mui
mkdir -p bin/Release/
cp 'resources.mui' 'bin/Release//resources.mui'
chmod u+x 'bin/Release//resources.mui'
make[1]: Leaving directory `/home/evan/Desktop/paint-mono/Resources.mui'
make[1]: Entering directory `/home/evan/Desktop/paint-mono/PdnRepair'
sed -e "s,@prefix@,/usr/local," -e "s,@PACKAGE@,paintdotnet," < pdnrepair.in > 
pdnrepair
mkdir -p bin/Release/
cp 'pdnrepair' 'bin/Release//pdnrepair'
chmod u+x 'bin/Release//pdnrepair'
make[1]: Leaving directory `/home/evan/Desktop/paint-mono/PdnRepair'
make[1]: Entering directory `/home/evan/Desktop/paint-mono/StylusReader'
sed -e "s,@prefix@,/usr/local," -e "s,@PACKAGE@,paintdotnet," < 
stylusreader.pc.in >
stylusreader.pc
mkdir -p bin/Release/
cp 'stylusreader.pc' 'bin/Release//stylusreader.pc'
make[1]: Leaving directory `/home/evan/Desktop/paint-mono/StylusReader'
make[1]: Entering directory `/home/evan/Desktop/paint-mono/SystemLayer'
make pre-all-local-hook prefix=/usr/local
make[2]: Entering directory `/home/evan/Desktop/paint-mono/SystemLayer'
make[2]: Leaving directory `/home/evan/Desktop/paint-mono/SystemLayer'
mkdir -p bin/Release/
make RELEASE_AND_PACKAGE_ANY_CPU_BeforeBuild
make[2]: Entering directory `/home/evan/Desktop/paint-mono/SystemLayer'
make[2]: Leaving directory `/home/evan/Desktop/paint-mono/SystemLayer'
gmcs -noconfig -codepage:utf8 -unsafe -warn:4 -optimize+ -debug -define:DEBUG
"-define:TRACE" -out:bin/Release/PaintDotNet.SystemLayer.dll -target:library
'./AssemblyInfo.cs' './FileSystem.cs' './Fonts.cs' './FontSmoothing.cs' 
'./FormEx.cs'
'./SingleInstaceManager.cs' './ISimpleCollection.cs' './IInkHooks.cs' './Ink.cs'
'./Memory.cs' './MenuStripEx.cs' './NativeConstants.cs' './NativeDelegates.cs'
'./NativeMethods.cs' './NativeStructs.cs' './Network.cs' './NullGraphics.cs'
'./OS.cs' './OSType.cs' './PdnGraphics.cs' './ProcessorArchitecture.cs'
'./Processor.cs' './PropertyItem2.cs' './RealParentWndProcDelegate.cs'
'./SafeNativeMethods.cs' './ScanningAndPrinting.cs' './ScanResult.cs'
'./ScrollPanel.cs' './Security.cs' './SerializationFallbackBinder.cs' 
'./Settings.cs'
'./Shell.cs' './ThreadBackground.cs' './ThreadBackgroundFlags.cs' './Timing.cs'
'./ToolStripEx.cs' './Tracing.cs' './UI.cs' './UserSessions.cs'
'./WaitHandleArray.cs' 
'-resource:./PropertyItem.png,PaintDotNet.SystemLayer.PropertyItem.png'    
-r:System
   -r:System.Data    -r:System.Drawing    -r:System.Windows.Forms    -r:System.Xml  
 -r:Mono.Posix    -r:System.Xml.Linq  
-r:../StylusReader/bin/Release/PaintDotNet.StylusReader.dll
error CS0006: cannot find metadata file `System.Xml.Linq'
Compilation failed: 1 error(s), 0 warnings
make[1]: *** [bin/Release/PaintDotNet.SystemLayer.dll] Error 1
make[1]: Leaving directory `/home/evan/Desktop/paint-mono/SystemLayer'
make: *** [all-recursive] Error 1

evan@pandora:~/Desktop$ mono -V
Mono JIT compiler version 1.2.4 (tarball)
Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       altstack
        Architecture:  x86
        Disabled:      none

Original comment by nothingc...@gmail.com on 23 Dec 2007 at 6:34

GoogleCodeExporter commented 9 years ago
Same error

error CS0006: cannot find metadata file `System.Xml.Linq'
Compilation failed: 1 error(s), 0 warnings
make[1]: *** [bin/Release/PaintDotNet.SystemLayer.dll] Error 1
make[1]: Leaving directory `/tmp/del/paint-mono/SystemLayer'
make: *** [all-recursive] Error 1

Mono JIT compiler version 1.2.5.1 (tarball)
Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       normal
        Architecture:  amd64
        Disabled:      none

Original comment by derekpan...@gmail.com on 23 Dec 2007 at 7:08

GoogleCodeExporter commented 9 years ago
I was having this problem with SVN revision 52, but after pulling revision 54, 
this
is no longer an issue.

Original comment by jpsut...@gmail.com on 1 Jan 2008 at 9:58

GoogleCodeExporter commented 9 years ago
This is fixed in svn.

Original comment by radi...@gmail.com on 18 Jan 2008 at 7:26