[Mono-list] pkg-config install fail in Solaris
Enrique Garcia Ayuda
kikegayuda at gmail.com
Fri Nov 25 05:09:57 EST 2005
Hi
the stpes i made are:
I install Pkg-config,
I try to install glic So i install libiconv and gettext but when i
try to make glib i get the iconv error in the Make test i read:
"Note that if you have libiconv installed in your default include
search path (for instance, in /usr/local/), but don't enable
it, you will get an error while compiling GLib because the
iconv.h that libiconv installs hides the system iconv."
But i don't understand what "enable it" means i configure with
--with-libiconv option and the --prefix=/usr/local
Anyway i download the package glib-2.6.2-sol8-sparc-local from
www.sunfreeware.com/ and also install the
libgcc-3.4.1-sol8-sparc-local and the libintl-3.4.0-sol8-sparc-local
I install bison 1.875 and it´s work without m4 requeriment, Bison 2.0
don' t work
When I Configure mono there are errors because not found the glib.h, i
think that i need to make the glib, install from the package don´t
work , so mono install fail.
please anyone can tell me how can i make glib in solaris?
thanks
2005/11/23, Miguel de Icaza <miguel at ximian.com>:
> > I'm trying to install mono on solaris and the pkg-config fails in make, the
> > /configure --prefix=/usr/local has succeeded
> >
> > is mandatory to install pkg-config on solaris?
>
> You are compiling with cc, while the flags that you are passing are for
> gcc. You are mixing toolchains.
>
> > Regards
> >
> >
> >
> >
> >
> > depmode=none /bin/bash ./depcomp \
> > gcc -DHAVE_CONFIG_H -I. -I. -I.
> > -DPKG_CONFIG_PC_PATH="\"/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig\""
> > -I./glib-1.2.8 -g -Wall -O2 -g -c `test -f 'pkg.c' || echo
> > './'`pkg.c
> > cc: illegal option -Wall
> > *** Error code 1
> > make: Fatal error: Command failed for target `pkg.o'
> > Current working directory /tpnetfrontend/1.1.10.1.src/pkg-config-0.20
> > *** Error code 1
> > make: Fatal error: Command failed for target `all-recursive'
> > Current working directory /tpnetfrontend/1.1.10.1.src/pkg-config-0.20
> > *** Error code 1
> > make: Fatal error: Command failed for target `all'
> > _______________________________________________
> > Mono-list maillist - Mono-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >
> --
> Miguel de Icaza <miguel at ximian.com>
>
More information about the Mono-list
mailing list