[Gtk-sharp-list] Trouble compiling : Command not found
Harobed
mailing@harobed.org
Sat, 20 Mar 2004 21:29:59 +0100
Le sam 20/03/2004 à 20:48, Gonzalo Paniagua Javier a écrit :
> El sáb, 20-03-2004 a las 06:54, Harobed escribió:
> > Le sam 20/03/2004 à 11:55, Harobed a écrit :
> > > Hi,
> > >
> > > I would like compile gtk-sharp cvs head. I've this error :
> > >
> > > cd . && autoheader
> > > make all-recursive
> > > make[1]: Entering directory `/home/mono/gtk-sharp'
> > > Making all in sources
> > > make[2]: Entering directory `/home/mono/gtk-sharp/sources'
> > > make[2]: Nothing to be done for `all'.
> > > make[2]: Leaving directory `/home/mono/gtk-sharp/sources'
> > > Making all in generator
> > > make[2]: Entering directory `/home/mono/gtk-sharp/generator'
> > > /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games /out:gapi_codegen.exe ./AliasGen.cs ./BoxedGen.cs ./CallbackGen.cs ./ClassBase.cs ./ClassGen.cs ./CodeGenerator.cs ./ConstStringGen.cs ./Ctor.cs ./CustomMarshalerGen.cs ./EnumGen.cs ./Field.cs ./GenBase.cs ./GenerationInfo.cs ./IGeneratable.cs ./ImportSignature.cs ./InterfaceGen.cs ./ManagedCallString.cs ./ManualGen.cs ./MethodBody.cs ./Method.cs ./ObjectGen.cs ./OpaqueGen.cs ./Parameters.cs ./Parser.cs ./Property.cs ./Signal.cs ./SignalHandler.cs ./Signature.cs ./SimpleGen.cs ./Statistics.cs ./StringGen.cs ./StructBase.cs ./StructGen.cs ./SymbolTable.cs ./VMSignature.cs
> > > make[2]: /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games: Command not found
> > > make[2]: *** [gapi_codegen.exe] Error 127
> > > make[2]: Leaving directory `/home/mono/gtk-sharp/generator'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory `/home/mono/gtk-sharp'
> > > make: *** [all-recursive-am] Error 2
> > >
> > > I don't understand why it call
> > > "/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games" with no
> > > executable file ?
> > >
> > > Thanks for you help.
> >
> > In my Makefile I see that :
> >
> > CSC = /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
> >
> > It's not normal. I don't understand why I've this declaration !
>
> Okay, i know what happens. Review the output by configure, you'll see
> something like:
> -----
> checking for mono... Package mono was not found in the pkg-config search
> path.
> Perhaps you should add the directory containing `mono.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'mono' found
> ----
>
> Now apply the attached patch to configure.in. It will make configure
> fail saying:
> configure: error: You need to install either mono or .Net
>
> If you set the PATH/PKG_CONFIG_PATH properly so that mono.pc is found by
> pkg-config everything will work, but before applying this patch,
> configure doesn't flag the error.
>
> Mike, okay to apply the patch?
>
> -Gonzalo
Thanks, it's that! Now, compilation success :)
--
Stéphane KLEIN
Home page : http://www.harobed.org
Jabber : harobed@myjabber.net