[Mono-list] pkg-config install fail in Solaris

Enrique Garcia Ayuda kikegayuda at gmail.com
Tue Nov 29 06:50:48 EST 2005


Hi

In Solaris 8
I installgcc-3.4.2-sol8-sparc-local, and libiconv-1.8-sol8-sparc-local.gz from
http://www.sunfreeware.com/
the i make pkg-config-0.20.tar.gz and  glib-2.9.0.tar.gz  without problems
when i configure mono i get error Bison needed,
I make m4-1.4.3.tar.gz  in /usr, no /usr/local, and the
bison-2.0.tar.gz in/usr/local

I configure mono, without problems

But when i make i get:

S�bolo                 primera referencia
 no definido                        en el archivo
isnormal                            libmonodis.a(get.o)
ld: error fatal: Errores de referencia de s�bolo. No se escribi�salida
en .libs/monodis
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `monodis'
Current working directory /tpnetfrontend/1.1.10.1.src/mono-1.1.10/mono/dis
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /tpnetfrontend/1.1.10.1.src/mono-1.1.10/mono
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /tpnetfrontend/1.1.10.1.src/mono-1.1.10
*** Error code 1
make: Fatal error: Command failed for target `all'


Regards

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