WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: 9base (Plan9Utils) & Werc  (Read 2977 times)

Offline elohim

  • Newbie
  • *
  • Posts: 4
9base (Plan9Utils) & Werc
« on: November 23, 2011, 12:59:32 PM »
Hello,

i'd like to request 9base. It's a minimalist port of the plan9utils.
http://tools.suckless.org/9base

I tried to compile them, but it doesn't work. I'm not an expert in compiling stuff, so I hope that someone of you will make a nice extension :)
That's the error i get:
../lib9/u.h:38:22: fatal error: inittypes.h: no such file or directory.
I don't know where to get this file ... :(


I want to use Werc as a Web-Framework in conjunction with microcore.

Thanks in advance!

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: 9base (Plan9Utils) & Werc
« Reply #1 on: November 23, 2011, 07:45:38 PM »
Are you sure the file is not inttypes.h?  That is in gcc.tcz for one.  Did you install compiletc.tcz in it's entirety?  Just wanting to know where to start.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: 9base (Plan9Utils) & Werc
« Reply #2 on: November 23, 2011, 07:52:25 PM »
On my box it builds and installs perfectly with a simple "make" and "make install".  Likely an issue of installing needed extensions.

Install compiletc.tcz and perhaps it may need others, and it should be simple to build and package.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: 9base (Plan9Utils) & Werc
« Reply #3 on: November 23, 2011, 08:13:02 PM »
Ok, to make an extension from a fresh boot:

tce-load -iw compiletc.tcz
tce-load -iw squashfs-tools-4.x.tcz
wget http://dl.suckless.org/tools/9base-6.tar.gz
tar xvf 9base-6.tar.gz
cd 9base-6
make
make DESTDIR=/home/tc/pkg install
cd /home/tc
mksquashfs pkg 9base.tcz
md5sum 9base.tcz > 9base.tcz.md5.txt


That should give you a working 9base.tcz package.

Offline elohim

  • Newbie
  • *
  • Posts: 4
Re: 9base (Plan9Utils) & Werc
« Reply #4 on: November 24, 2011, 12:15:11 PM »
Thanks I will try that now!

EDIT: It worked. great!

But now I'm stuck with werc. It only gives me textfiles when i open my wegpage...
...but that's another story.
Thank you very much
« Last Edit: November 24, 2011, 02:03:48 PM by elohim »