Ask your questions here.
Post a reply
airways

- airways
- Posts: 2
- Joined: Wed May 24, 2017 9:43 pm

## Trouble building X11 apps

Wed May 24, 2017 9:58 pm

I am trying to build a simple X11 app, dwm from suckless.org. Usually to get this working on other distros I need to install something like libx11-dev or such, but I cannot find an appropriate package. Also while apt-file is installed, it seems to be broken at least out of the box and in comparison to how it is used in Ubuntu.
Some terminal output that Cloudflare won't let me post directly: https://pastebin.com/ZmNidiWB
Is it possible to get a X11 dev package that will work with Refracta? I'm reluctant to just add Ubuntu sources and try to use those packages, seems unlikely that would work well and it would sort of polute the system in a way.
Any help would be greatly appreciated. I am looking for a good alternative to Puppy and Lubuntu but I can't really live without dwm or nedit which would both have this type of issue since they need to be built from source.
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: Trouble building X11 apps

Thu May 25, 2017 1:31 pm

apt-file is broken in devuan. It's a known issue, and it may even get fixed soon (relatively) after the release of devuan 1.0 (very soon, maybe check your watch instead of your calendar for that.)

Code:
  `aptitude search x11 | grep dev`

might show you what you need. There is a libx11-dev package in the list. Don't use ubuntu packages and don't use debian repositories. Stick with the devuan sources.
Also, see these:
HowTo Build a Package from Source the Smart Way
http://forums.debian.net/viewtopic.php?t=38976
Using d1h (a.k.a. "Devuan packaging made easier")
https://dev1galaxy.org/viewtopic.php?id=549
And finally, if you need a version of dwm newer than 6.0-7 you might consider backporting the ascii version to jessie. If not, then just apt-get install dwm.

Code:
  `apt-cache policy dwm
  dwm:
  Installed: (none)
  Candidate: 6.0-7
  Version table:
  6.1-3 0
  90 http://us.mirror.devuan.org/merged/ ascii/main amd64 Packages
  6.0-7 0
  500 http://us.mirror.devuan.org/merged/ jessie/main amd64 Packages
  `

airways

- airways
- Posts: 2
- Joined: Wed May 24, 2017 9:43 pm

## Re: Trouble building X11 apps

Thu May 25, 2017 7:42 pm

It would seem that my use of apt-get and apt-cache rather than aptitude in some way contributed to my issues here. I was able to get new package list via aptitude update but apt-get update seemed to not work completely for unknown reasons, possibly due to my local DNS server not being accessible from the machine for unrelated reasons.
At any rate I think I'm back on track now. Thank you for the confirmation that the packages do in fact exist.
Post a reply
Jump to:

Powered by phpBB © phpBB Group.

phpBB Mobile / SEO by Artodia.