If you add Packman to your repositories in Yast it is available via Yast Software Management.
What you are missing is the environmental variables pointing to different paths. You are missing some development package that would supply these.
BTW I don't think this is what you are looking for to
make the headphones work. I could be wrong though. This is more of a headphone hardware problem. Some laptops use proprietary tech to sense the head phone insertion instead of a simple mechanical switch.
IIR this question has cropped up before Try a search for laptop headphone.