"wished very much that he could eat" or "he was so hungry that he would have happily eaten"
These are the husks of beans that grow on the carob tree. Alternate translation: "carob bean pods" or "bean husks"