The effects of wall friction in powder compaction