Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: nitram on November 26, 2015, 02:47:39 AM

Title: libX11-dev.tcz
Post by: nitram on November 26, 2015, 02:47:39 AM
Trying to build newer DWM (dynamic WM), requires loading libX11-dev.tcz then still fails:
Code: [Select]
In file included from drw.c:5:0:
/usr/local/include/X11/Xlib.h:44:19: fatal error: X11/X.h: No such file or directory
 #include <X11/X.h>
                   ^
compilation terminated.
Makefile:18: recipe for target 'drw.o' failed
make: *** [drw.o] Error 1

TC 6 x86 libX11-dev.tcz does not have file X.h and using Apps 'provides' returns nothing.

libX11-dev info file indicates it's v1.6.0 from http://www.x.org/, however i am unable to find the applicable download from this site or mirrors. Also uncertain why v1.6 when Xorg is on v7.7. There is no source or build notes in the TC6 /src subdirectory. Guidance appreciated.

Aside: Shouldn't source be a required upload to the repo for all submitted extensions, vaguely remember reading this was Robert Shingledecker's original intent.
Title: Re: libX11-dev.tcz
Post by: Juanito on November 26, 2015, 03:03:01 AM
Did you try with Xorg-7.7-dev or Xorg-7.7-3d-dev loaded?
Title: Re: libX11-dev.tcz
Post by: Juanito on November 26, 2015, 05:59:43 AM
TC 6 x86 libX11-dev.tcz does not have file X.h and using Apps 'provides' returns nothing.

Really? For me it says X.h is in xorg-proto.
Title: Re: libX11-dev.tcz
Post by: Juanito on November 26, 2015, 06:05:02 AM
Aside: Shouldn't source be a required upload to the repo for all submitted extensions.

see:

http://tinycorelinux.net/5.x/x86/tcz/src/Xorg-7.7/
Title: Re: libX11-dev.tcz
Post by: nitram on November 26, 2015, 07:49:37 AM
Thanks again Juanito.

Still so much to learn <embarrassed x 2>:

  - Didn't realize Apps is case-sensitive, x.h 'provides' so many hits eyes glazed over, X.h search much better :)

  - Forgot TC 5 used same version Xorg, so makes sense it's in TC 5 repo, sorry for being a doubter

Successfully built latest dwm, PMed original maintainer and may submit shortly, not around since TC 4.