[Mono-list] Mono for an older Linux RHEL4r5?

jmalcolm malcolm.justin at gmail.com
Thu Dec 16 19:22:57 EST 2010


I believe you said you were running Red Hat although that output makes me
wonder.

If you are running Red Hat, you use "yum" to install packages:

yum install libpng libpng-devel
yum install libtiff libtiff-devel
yum install libjpeg libjpeg-devel

etc.

Is there anybody over there that knows anything about Linux?

On 16 December 2010 14:40, CodeSlinger [via Mono] <
ml-node+3091803-1980468937-130368 at n4.nabble.com<ml-node%2B3091803-1980468937-130368 at n4.nabble.com>
> wrote:

> Not expecting anyone to figure this out for me but if anyone has time to
> peruse the output and offer some hope, here are my results from running the
> configure and make. I am doing this on our dev box and am able to run the
> commands using sudo, which I did, so at least got the source into
> /usr/src/mono OK.
>
> These look like the main things missing for the GUI per error messages
> later on and those are all GUI which I don't need if I can get the basic
> .NET runtime to let me run C# command line programs.
>
> • Xrender, TIFF lib, JPEG lib, gif lib, ungif lib, libpng lib
>
> I tried building mono next but looks like it failed as the build/deps
> directory was empty so perhaps the GDI build was supposed to put something
> there? Can I build mono without the GDI stuff?
>
> Odd so much .vb source code when I thought there was only a C# compiler.
> Does 2.8.1 actually have a vb.net compiler too?
>
> Think any hope without installing a lot of packages which I'm likely to run
> into resistance on doing?
>
> Thanks, Dave
>
> *Output from trying to build the GDI stuff
> *
>
> -bash-3.00$ pwd
> /usr/src/mono/libgdiplus-2.8.1
> -bash-3.00$ sudo ./configure --prefix=/usr && make > ../gdi.txt
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking target system type... x86_64-unknown-linux-gnu
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for style of include used by make... GNU
> checking for gcc... 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 ISO C89... none needed
> checking dependency style of gcc... gcc3
> checking for a sed that does not truncate output... /bin/sed
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for fgrep... /bin/grep -F
> checking for ld used by gcc... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
> checking the name lister (/usr/bin/nm -B) interface... BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... 98304
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... no
> checking for /usr/bin/ld option to reload object files... -r
> checking for objdump... objdump
> checking how to recognize dependent libraries... pass_all
> checking for ar... ar
> checking for strip... strip
> checking for ranlib... ranlib
> checking command to parse /usr/bin/nm -B output from gcc object... ok
> checking how to run the C preprocessor... gcc -E
> checking for ANSI C header files... yes
> 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 for dlfcn.h... yes
> checking for objdir... .libs
> checking if gcc supports -fno-rtti -fno-exceptions... no
> checking for gcc option to produce PIC... -fPIC -DPIC
> checking if gcc PIC flag -fPIC -DPIC works... yes
> checking if gcc static flag -static works... yes
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.o... (cached) yes
> checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared
> libraries... yes
> checking whether -lc should be explicitly linked in... no
> checking dynamic linker characteristics... GNU/Linux ld.so
> 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
> checking whether byte ordering is bigendian... no
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for BASE_DEPENDENCIES... yes
> checking for CAIRO... no
> ./configure: line 11921: cairo_info+=1.6.4 (internal): command not found
> checking for FONTCONFIG... no
> checking for FcInit in -lfontconfig... no
> checking for FcFini... no
> checking for FREETYPE2... no
> Package xrender was not found in the pkg-config search path.
> Perhaps you should add the directory containing `xrender.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'xrender' found
> Package xrender was not found in the pkg-config search path.
> Perhaps you should add the directory containing `xrender.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'xrender' found
> checking byteswap.h usability... yes
> checking byteswap.h presence... yes
> checking for byteswap.h... yes
> checking host threading settings... checking for pthread_create in
> -lpthread... yes
> checking if compiler recognizes -pthread... yes
> checking for sigsetjmp... yes
> checking for visibility __attribute__... yes
> checking for TIFFReadScanline in -ltiff... no
> checking for TIFFWriteScanline in -ltiff... no
> checking for TIFFFlushData in -ltiff34... no
> configure: WARNING: *** TIFF plug-in will not be built (TIFF library not
> found) ***
> checking for jpeg_destroy_decompress in -ljpeg... no
> configure: WARNING: *** JPEG loader will not be built (JPEG library not
> found) ***
> checking for DGifOpenFileName in -lgif... no
> configure: WARNING: *** GIF loader will not be built (giflibrary not found)
> ***
> checking for DGifOpenFileName in -lungif... no
> configure: WARNING: *** GIF loader will not be built (ungiflibrary not
> found) ***
> checking for libpng12... no
> checking for png_read_info in -lpng... no
> configure: error: *** libpng12 not found. See
> http://www.libpng.org/pub/png/libpng.html.
>
> *Output from trying to build Mono
> *
>
> -bash-3.00$ pwd
> /usr/src/mono/mono-basic-2.8
> -bash-3.00$ sudo ./configure --prefix=/usr && make
> mono-basic 2.8 module configure to use prefix=/usr
> make[1]: Entering directory `/usr/src/mono/mono-basic-2.8/build'
> make all-local
> make[2]: Entering directory `/usr/src/mono/mono-basic-2.8/build'
> make[2]: Leaving directory `/usr/src/mono/mono-basic-2.8/build'
> make[1]: Leaving directory `/usr/src/mono/mono-basic-2.8/build'
> make[1]: Entering directory `/usr/src/mono/mono-basic-2.8/man'
> make all-local
> make[2]: Entering directory `/usr/src/mono/mono-basic-2.8/man'
> make[2]: Leaving directory `/usr/src/mono/mono-basic-2.8/man'
> make[1]: Leaving directory `/usr/src/mono/mono-basic-2.8/man'
> make[1]: Entering directory `/usr/src/mono/mono-basic-2.8/class'
> make all-local
> make[2]: Entering directory `/usr/src/mono/mono-basic-2.8/class'
> make[2]: Leaving directory `/usr/src/mono/mono-basic-2.8/class'
> make[1]: Leaving directory `/usr/src/mono/mono-basic-2.8/class'
> make[1]: Entering directory `/usr/src/mono/mono-basic-2.8/tools'
> make[2]: Entering directory
> `/usr/src/mono/mono-basic-2.8/tools/extract-source'
> Creating ../../build/deps/vbnc_extract-source.exe.makefrag ...
> /bin/sh: ../../build/deps/vbnc_extract-source.exe.makefrag: No such file or
> directory
> make[2]: *** [../../build/deps/vbnc_extract-source.exe.makefrag] Error 1
> make[2]: Leaving directory
> `/usr/src/mono/mono-basic-2.8/tools/extract-source'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/mono/mono-basic-2.8/tools'
> make: *** [all-recursive] Error 1
>
>
>
> ------------------------------
>  View message @
> http://mono.1490590.n4.nabble.com/Mono-for-an-older-Linux-RHEL4r5-tp3089477p3091803.html
>
> To unsubscribe from Mono for an older Linux RHEL4r5?, click here<http://mono.1490590.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3089477&code=bWFsY29sbS5qdXN0aW5AZ21haWwuY29tfDMwODk0Nzd8NDk1MjY1NDg5>.
>
>

-- 
View this message in context: http://mono.1490590.n4.nabble.com/Mono-for-an-older-Linux-RHEL4r5-tp3089477p3091923.html
Sent from the Mono - General mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20101216/d0d83a48/attachment-0001.html 


More information about the Mono-list mailing list