Am Dienstag, 5. Juli 2011, 20:07:27 schrieb KP Kirchdoerfer:
Hi; 
> **** net-snmp buildlog****
> mkdir -p /opt/buildtool-master/build/net-snmp/etc/snmp
> make CC=/opt/buildtool-master/staging/bin/gcc-m32 LD=/opt/buildtool-
> master/staging/usr/bin/ld -C net-snmp-5.4.3
> make[1]: Entering directory `/opt/buildtool-master/source/net-snmp/net-
> snmp-5.4.3'
> WARNING: not running autoheader
> making all in /opt/buildtool-master/source/net-snmp/net-snmp-5.4.3/snmplib
> make[2]: Entering directory `/opt/buildtool-master/source/net-snmp/net-
> snmp-5.4.3/snmplib'
> /bin/sh ../libtool  --mode=compile
> /opt/buildtool-master/staging/bin/gcc-m32 - I../include -I.   -I../snmplib 
> -DNETSNMP_ENABLE_IPV6 -Os -march=i486 - mtune=pentiumpro -D_REENTRANT
> -Ulinux -Dlinux=linux  -c -o snmp_client.lo snmp_client.c
> eval: 1: base_compile+= /opt/buildtool-master/staging/bin/gcc-m32: not
> found eval: 1: base_compile+= -I../include: not found

probably not the solution, but shurely a workaround...

I replaced the link for /bin/sh from /bin/dash to /bin/bash and net-snmp 
compiles without error.

A better workaround will be to replace /bin/sh in source/net-snmp/net-
snmp-5.4.3/snmplib/Makefile with /bin/bash - though this adds bash as a 
requirement on the build host.

kp
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to