Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: enoch on November 29, 2009, 09:07:40 PM

Title: xmkmf ?
Post by: enoch on November 29, 2009, 09:07:40 PM
trying to compile xsnow need xmkmf does anyone know about this?
Title: Re: xmkmf ?
Post by: Jason W on November 29, 2009, 09:23:59 PM
It is in the imake.tcz extension.
Title: Re: xmkmf ?
Post by: enoch on November 30, 2009, 06:49:29 AM
yes it is in the imake extension however after installing it and gcc I get this.....

root@box:/home/tc/xsnow-1.42# xmkmf
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/local/lib/X11/config
<stdin>:1:19: error: stdio.h: No such file or directory
<stdin>:2:19: error: ctype.h: No such file or directory
<stdin>: In function 'main':
<stdin>:18: error: 'NULL' undeclared (first use in this function)
<stdin>:18: error: (Each undeclared identifier is reported only once
<stdin>:18: error: for each function it appears in.)
<stdin>:45: warning: incompatible implicit declaration of built-in function 'sscanf'
<stdin>:49: warning: incompatible implicit declaration of built-in function 'printf'
Aborted

this is the contents of the directory I ran xmkmf from....

root@box:/home/tc/xsnow-1.42# ls
Imakefile     README        pixmaps       xsnow.1       xsnow.man
Imakefile.c   make.com      toon.h        xsnow.c
Makefile      make2.com     toon_root.c   xsnow.h
Makefile.bak  patchlevel.h  vroot.h       xsnow.hlp
Title: Re: xmkmf ?
Post by: Juanito on November 30, 2009, 06:51:26 AM
did you install binutils, base-dev, etc?
Title: Re: xmkmf ?
Post by: enoch on November 30, 2009, 12:43:43 PM
no haven't installed binutils, base -dev, you stated etc are there more extensions needed?......will install later, will a local install work?
Title: Re: xmkmf ?
Post by: Juanito on November 30, 2009, 12:56:39 PM
Have a look at the dep file for compiletc - I'm not saying all of these will be needed, but perhaps some of them.