It isn't /bin/sh that isn't being found. It is something that sh is calling. (Try trussing it to see where it is erroring out. (There should be a file open error).<br><br>-Brian<br><br><div><span class="gmail_quote">
On 7/25/07, <b class="gmail_sendername">Tim Longo</b> <<a href="mailto:qy1ggy802@sneakemail.com">qy1ggy802@sneakemail.com</a>> wrote:<br></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>I'm trying to build an application (OMNet - INET framework) under<br>Solaris. It seems most people build this under linux, so I've had to<br>tweak a few things to get the build to work.<br><br>Now, I've hit a spot where the "make" fails because it can't find
<br>/bin/sh. Just wondering if anyone has any general suggestions for this<br>type of problem. So far, I can't figure out where this reference is..<br><br>Sample output below:<br><br><br><br>$ make<br> >>>> /bin/sh: !: not found
<br> >>>> for i in Applications Base Mobility Network NetworkInterfaces Nodes<br> >>>> Transport Util World bin; do (cd $i && make generateheaders) ||<br>exit 1; done<br> >>>> make[1]: Entering directory
<br>`/opt/INET-20061020-OverSim-2/Applications'<br> >>>> for i in Ethernet Generic PingApp TCPApp UDPApp; do (cd $i && make<br> >>>> generateheaders) || exit 1; done<br> >>>> make[2]: Entering directory
<br> >>>> `/opt/INET-20061020-OverSim-2/Applications/Ethernet'<br> >>>> opp_msgc -I. -I/opt/INET-20061020-OverSim-2/Transport/Contract<br> >>>> -I/opt/INET-20061020-OverSim-2/Network/Contract
<br> >>>> -I/opt/INET-20061020-OverSim-2/NetworkInterfaces/Contract<br> >>>> -I/opt/INET-20061020-OverSim-2/Base<br>-I/opt/INET-20061020-OverSim-2/Util<br> >>>> -I../../NetworkInterfaces/Ethernet
EtherApp.msg<br> >>>> for i in ; do (cd $i && make generateheaders) || exit 1; done<br> >>>> /bin/sh: syntax error at line 1: `;' unexpected<br> >>>> make[2]: *** [generateheaders] Error 2
<br> >>>> make[2]: Leaving directory<br> >>>> `/opt/INET-20061020-OverSim-2/Applications/Ethernet'<br> >>>> make[1]: *** [generateheaders] Error 1<br> >>>> make[1]: Leaving directory `/opt/INET-20061020-OverSim-2/Applications'
<br> >>>> make: *** [generateheaders] Error 1<br><br>Thanks!<br>_______________________________________________<br>users mailing list<br><a href="mailto:users@lists.blastwave.org">users@lists.blastwave.org</a>
<br><a href="https://lists.blastwave.org/mailman/listinfo/users">https://lists.blastwave.org/mailman/listinfo/users</a><br></blockquote></div><br>