Virgin + DWM errno.h not found during make clean install

Forum rules
We don't support installations in VirtualBox, VMWare, qemu or others. We ignore posts about WINE, PlayOnLinux, Steam and Skype. We don't support btrfs, lvm, UEFI, side-by-side installations with GPT or dualboot with anything newer than Windows XP.
Google your problem first. Check the Wiki. Read the existing threads. It's okay to "hijack" an existing thread, yes! If your problem is not yet covered, open a new thread. To get the quickest possible help, mention the exact release codename in your post (uname -a is a good idea, too). Due to the lack of crystal balls, attach the output of lspci -nnk if you encounter hardware problems.
dura
Compiler
Posts: 119
Joined: Sun Dec 16, 2012 2:15 am
Location: interzone

Virgin + DWM errno.h not found during make clean install

Unread post by dura » Sun Mar 10, 2013 4:16 pm

I've installed Virgin on a eee pc x101ch using DWM as the window manager. From normal apt-get install dwm runs fine, but using source and then recompiling with make clean install brings up the error:

Code: Select all

dwmc:23:19: fatal error: errno.h: No such file or directory
I've got make, gcc installed, etc. There is some mention of this being a Debian bug. I was wondering how to get around it, if it is possible. Anyone have any ideas?

Thanks.
...oh.

pidsley
Hermit
Posts: 2539
Joined: Wed Oct 17, 2012 12:31 pm

Re: Virgin + DWM errno.h not found during make clean install

Unread post by pidsley » Sun Mar 10, 2013 6:05 pm

"There is some mention of this being a Debian bug" -- where? what? link please.

dwm builds and installs on my sid box with no errors:

Code: Select all

apt-get source dwm
sudo apt-get build-dep dwm
cd dwm-6.0
sudo make clean install
Image

If you don't want to use build-dep, you can use "apt-file search" to find errno.h, and then install the appropriate package. Debian doesn't install build-dependencies by default; you have to install them manually or use build-dep.

User avatar
ivanovnegro
Minister of Truth
Posts: 5451
Joined: Wed Oct 17, 2012 11:12 pm

Re: Virgin + DWM errno.h not found during make clean install

Unread post by ivanovnegro » Sun Mar 10, 2013 10:40 pm

Not sure what the problem is. Same here like Pid, no problems.

Are you sure you added this line to your sources list:

Code: Select all

deb-src http://ftp.de.debian.org/debian/ sid main non-free contrib
with the mirror of your choice?

And I would do it rather from Mercurial to have the latest.

dura
Compiler
Posts: 119
Joined: Sun Dec 16, 2012 2:15 am
Location: interzone

[Solved]Re: Virgin + DWM errno.h not found - make clean inst

Unread post by dura » Sun Mar 10, 2013 11:22 pm

I guess I didn't have the correct build packages. I thought I did. Solved. Thank you.

Made me switch to spectrwm for the afternoon, and liking it.
...oh.

Post Reply