Re: [Mono-dev] Can't find C runtime library while installing mono

2006-08-03 Thread Bill Seurer
Just a follow-up on how we resolved this.  It turned out that glib (gmodule
specifically) doesn't handle libraries on AIX (and thus PASE on i5/OS)
properly.  We did a little bit of hacking on it and now the problem does
not occur.
--
Bill Seurer IBM System i5 internal compiler development   Rochester, MN
Business: [EMAIL PROTECTED] Home: [EMAIL PROTECTED]
http://w3.rchland.ibm.com/~seurer/  http://www.seurer.net


[EMAIL PROTECTED] wrote on 08/02/2006 10:01:29 AM:


 We have mono building and running OK under PASE on i5/OS (i.e., AIX) but
 get an error when installing:

  gmake install
 ...
 gmake[6]: Entering directory `/QOpenSys/home/seurer/dev/mono-1.1.15
 /mcs/class/System'
 gmake install-local
 gmake[7]: Entering directory `/QOpenSys/home/seurer/dev/mono-1.1.15
 /mcs/class/System'
 MONO_PATH=../../class/lib/net_1_1_bootstrap:$MONO_PATH
 /home/seurer/dev/mono-1.1.15/runtime/mono-wrapper
 ../../class/lib/net_1_1_bootstrap/gacutil.exe /i
 ../../class/lib/default/System.dll /f  /root /usr/local/lib /package 1.0

 Unhandled Exception: System.DllNotFoundException: libc.a
 in (wrapper managed-to-native) Mono.Tools.Driver:symlink (string,string)
 in 0x00ab0 Mono.Tools.Driver:Install (Boolean check_refs, System.String
 name, System.String package, System.String gacdir, System.String
 link_gacdir, System.String libdir, System.String link_libdir)
 in 0x00718 Mono.Tools.Driver:Main (System.String[] args)
 gmake[7]: *** [install-local] Error 1
 ...

 I suspect that we need to set some sort of environment variable so that
it
 can find the C runtime library (libc).  Is that right, and if so, what is
 the environment variable?  Thanks!
 --
 Bill Seurer IBM System i5 internal compiler development   Rochester,
MN
 Business: [EMAIL PROTECTED] Home: [EMAIL PROTECTED]
 http://w3.rchland.ibm.com/~seurer/  http://www.seurer.net

 ___
 Mono-devel-list mailing list
 Mono-devel-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-devel-list

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Can't find C runtime library while installing mono

2006-08-02 Thread Bill Seurer

We have mono building and running OK under PASE on i5/OS (i.e., AIX) but
get an error when installing:

 gmake install
...
gmake[6]: Entering directory `/QOpenSys/home/seurer/dev/mono-1.1.15
/mcs/class/System'
gmake install-local
gmake[7]: Entering directory `/QOpenSys/home/seurer/dev/mono-1.1.15
/mcs/class/System'
MONO_PATH=../../class/lib/net_1_1_bootstrap:$MONO_PATH
/home/seurer/dev/mono-1.1.15/runtime/mono-wrapper
../../class/lib/net_1_1_bootstrap/gacutil.exe /i
../../class/lib/default/System.dll /f  /root /usr/local/lib /package 1.0

Unhandled Exception: System.DllNotFoundException: libc.a
in (wrapper managed-to-native) Mono.Tools.Driver:symlink (string,string)
in 0x00ab0 Mono.Tools.Driver:Install (Boolean check_refs, System.String
name, System.String package, System.String gacdir, System.String
link_gacdir, System.String libdir, System.String link_libdir)
in 0x00718 Mono.Tools.Driver:Main (System.String[] args)
gmake[7]: *** [install-local] Error 1
...

I suspect that we need to set some sort of environment variable so that it
can find the C runtime library (libc).  Is that right, and if so, what is
the environment variable?  Thanks!
--
Bill Seurer IBM System i5 internal compiler development   Rochester, MN
Business: [EMAIL PROTECTED] Home: [EMAIL PROTECTED]
http://w3.rchland.ibm.com/~seurer/  http://www.seurer.net

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Can't find C runtime library while installing mono

2006-08-02 Thread Zoltan Varga
   Hey,

 You need to set the LIBC variable in configure.in in the section for
you architecture
/os.

   Zoltan

On 8/2/06, Bill Seurer [EMAIL PROTECTED] wrote:

 We have mono building and running OK under PASE on i5/OS (i.e., AIX) but
 get an error when installing:

  gmake install
 ...
 gmake[6]: Entering directory `/QOpenSys/home/seurer/dev/mono-1.1.15
 /mcs/class/System'
 gmake install-local
 gmake[7]: Entering directory `/QOpenSys/home/seurer/dev/mono-1.1.15
 /mcs/class/System'
 MONO_PATH=../../class/lib/net_1_1_bootstrap:$MONO_PATH
 /home/seurer/dev/mono-1.1.15/runtime/mono-wrapper
 ../../class/lib/net_1_1_bootstrap/gacutil.exe /i
 ../../class/lib/default/System.dll /f  /root /usr/local/lib /package 1.0

 Unhandled Exception: System.DllNotFoundException: libc.a
 in (wrapper managed-to-native) Mono.Tools.Driver:symlink (string,string)
 in 0x00ab0 Mono.Tools.Driver:Install (Boolean check_refs, System.String
 name, System.String package, System.String gacdir, System.String
 link_gacdir, System.String libdir, System.String link_libdir)
 in 0x00718 Mono.Tools.Driver:Main (System.String[] args)
 gmake[7]: *** [install-local] Error 1
 ...

 I suspect that we need to set some sort of environment variable so that it
 can find the C runtime library (libc).  Is that right, and if so, what is
 the environment variable?  Thanks!
 --
 Bill Seurer IBM System i5 internal compiler development   Rochester, MN
 Business: [EMAIL PROTECTED] Home: [EMAIL PROTECTED]
 http://w3.rchland.ibm.com/~seurer/  http://www.seurer.net

 ___
 Mono-devel-list mailing list
 Mono-devel-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-devel-list

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Can't find C runtime library while installing mono

2006-08-02 Thread Bill Seurer

It is set.  And comparing to a mono that installs on a different OS (Linux
on the same hardware) it appears to be correct (libc really is libc.a on
this system).  My thought is that for some reason the installer can't find
it and I need to set something to help it in its search.
--
Bill Seurer IBM System i5 internal compiler development   Rochester, MN
Business: [EMAIL PROTECTED] Home: [EMAIL PROTECTED]
http://w3.rchland.ibm.com/~seurer/  http://www.seurer.net


Zoltan Varga [EMAIL PROTECTED] wrote on 08/02/2006 12:50:01 PM:

  You need to set the LIBC variable in configure.in in the section for
 you architecture
 /os.

Zoltan

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Can't find C runtime library while installing mono

2006-08-02 Thread Zoltan Varga
   Hey,

  The value of LIBC should point to the shared library, not the static
libc, since the
runtime wants to load it dynamically using dlopen ().

   Zoltan

On 8/2/06, Bill Seurer [EMAIL PROTECTED] wrote:

 It is set.  And comparing to a mono that installs on a different OS (Linux
 on the same hardware) it appears to be correct (libc really is libc.a on
 this system).  My thought is that for some reason the installer can't find
 it and I need to set something to help it in its search.
 --
 Bill Seurer IBM System i5 internal compiler development   Rochester, MN
 Business: [EMAIL PROTECTED] Home: [EMAIL PROTECTED]
 http://w3.rchland.ibm.com/~seurer/  http://www.seurer.net


 Zoltan Varga [EMAIL PROTECTED] wrote on 08/02/2006 12:50:01 PM:

   You need to set the LIBC variable in configure.in in the section for
  you architecture
  /os.
 
 Zoltan

 ___
 Mono-devel-list mailing list
 Mono-devel-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-devel-list

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list