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

Miguel de Icaza miguel at ximian.com
Tue Nov 22 22:47:22 EST 2005


> 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