[Gtk-sharp-list] (macosX) gtk-sharp 2.10.0 & mono 1.2.4

Glenn Martin lifewarped at yahoo.com
Tue Aug 14 05:55:17 EDT 2007


A quick fix is to either disable the C# bindings or to target them to
your mono path. This can be done by using the switch provided by the
configure file.

I dont off-hand remember what it is but you can find it by passing
--help to ./configure and looking for enable/disable or with/without
csharp or dotnet... something to that effect.

Glenn R. Martin
http://www.technicalstressings.com
http://www.macux.com

lolveley wrote:
> Hello, when I try to compile gtk-sharp I have the following text:
> 
> $ ./configure
> checking build system type... i386-apple-darwin8.8.3
> checking host system type... i386-apple-darwin8.8.3
> checking target system type... i386-apple-darwin8.8.3
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... no
> checking for mawk... no
> checking for nawk... no
> checking for awk... awk
> checking whether make sets $(MAKE)... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for gcc... gcc
> checking for gcc... (cached) gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc3
> checking for gcc... (cached) gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to accept ANSI C... (cached) none needed
> checking dependency style of gcc... (cached) gcc3
> checking for a BSD-compatible install... /usr/bin/install -c
> checking how to run the C preprocessor... gcc -E
> checking for egrep... grep -E
> checking for ANSI C header files... yes
> checking for a sed that does not truncate output... /usr/bin/sed
> checking for ld used by gcc... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... no
> checking for /usr/bin/ld option to reload object files... -r
> checking for BSD-compatible nm... /usr/bin/nm -p
> checking whether ln -s works... yes
> checking how to recognise dependent libraries... pass_all
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking dlfcn.h usability... yes
> checking dlfcn.h presence... yes
> checking for dlfcn.h... yes
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking dependency style of g++... gcc3
> checking how to run the C++ preprocessor... g++ -E
> checking for g77... no
> checking for f77... no
> checking for xlf... no
> checking for frt... no
> checking for pgf77... no
> checking for fort77... no
> checking for fl32... no
> checking for af77... no
> checking for f90... no
> checking for xlf90... no
> checking for pgf90... no
> checking for epcf90... no
> checking for f95... no
> checking for fort... no
> checking for xlf95... no
> checking for ifc... no
> checking for efc... no
> checking for pgf95... no
> checking for lf95... no
> checking for gfortran... no
> checking whether we are using the GNU Fortran 77 compiler... no
> checking whether  accepts -g... no
> checking the maximum length of command line arguments... 196608
> checking command to parse /usr/bin/nm -p output from gcc object... ok
> checking for objdir... .libs
> checking for ar... ar
> checking for ranlib... ranlib
> checking for strip... strip
> checking if gcc supports -fno-rtti -fno-exceptions... no
> checking for gcc option to produce PIC... -fno-common
> checking if gcc PIC flag -fno-common works... yes
> checking if gcc static flag -static works... no
> checking if gcc supports -c -o file.o... yes
> checking whether the gcc linker (/usr/bin/ld) supports shared 
> libraries... yes
> checking dynamic linker characteristics... darwin8.8.3 dyld
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> configure: creating libtool
> appending configuration tag "CXX" to libtool
> checking for ld used by g++... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... no
> checking whether the g++ linker (/usr/bin/ld) supports shared 
> libraries... yes
> checking for g++ option to produce PIC... -fno-common
> checking if g++ PIC flag -fno-common works... yes
> checking if g++ static flag -static works... no
> checking if g++ supports -c -o file.o... yes
> checking whether the g++ linker (/usr/bin/ld) supports shared 
> libraries... yes
> checking dynamic linker characteristics... darwin8.8.3 dyld
> checking how to hardcode library paths into programs... immediate
> appending configuration tag "F77" to libtool
> checking for void *... yes
> checking size of void *... 4
> checking for pkg-config... /opt/local/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for MONO_DEPENDENCY... checking for gacutil... 
> /usr/local/bin/gacutil
> checking for al... /usr/local/bin/al
> checking for csc.exe... no
> configure: error: You need to install either mono or .Net
> 
> however, I have installed mono, and it's amazing that gtk-sharp searches 
> for csc.exe on a macosX...
> bad parameters?
> 
> moreover, mono 's compiler is mcs, not csc.
> If you want, I will give you the summary of the compilation of mono (on 
> demand, because I have to compile mono entirely to obtain that).
> 
> 
> Do you have any hint?
> 
> lolveley.
> 
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4510 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20070814/04ae2d32/attachment.bin 


More information about the Gtk-sharp-list mailing list