WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: xmkmf ?  (Read 2831 times)

Offline enoch

  • Full Member
  • ***
  • Posts: 122
xmkmf ?
« on: November 29, 2009, 09:07:40 PM »
trying to compile xsnow need xmkmf does anyone know about this?

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: xmkmf ?
« Reply #1 on: November 29, 2009, 09:23:59 PM »
It is in the imake.tcz extension.

Offline enoch

  • Full Member
  • ***
  • Posts: 122
Re: xmkmf ?
« Reply #2 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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: xmkmf ?
« Reply #3 on: November 30, 2009, 06:51:26 AM »
did you install binutils, base-dev, etc?

Offline enoch

  • Full Member
  • ***
  • Posts: 122
Re: xmkmf ?
« Reply #4 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?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: xmkmf ?
« Reply #5 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.