I have successfully built the latest release of nodejs on tinycore, now I am making my first attempt at making an extension from it. I am starting very simply with a nodejs-doc package that just contains the man page. I am trying to follow the guide at
https://code.google.com/p/tcztools/:
tcz-pack nodejs-doc seems to go well but then it stops with
EXIT: Could not find tce directory.
I thought my layout might be wrong or something so I checked out the code pointed to as an example:
http://code.google.com/p/tcztools/source/browse/#hg%2Ftcz-projects. I then cd to the tcz-projects directory and ran
tcz-pack -q ciopfs
same error
EXIT: Could not find tce directory, I looked in the source code of tcz-pack and this is the line giving the error:
#update Size in .info file
size="$(du -h $tmp/$name.tcz | cut -f1)"
[ "$size" ] || die "Could not get the size of $name.tcz"
must sed -i "s/^Size:.*$/Size:\t\t$size/" $name.tcz.info
#copy it to local tce dir for testing with tce-load -i
read tcedir < /opt/.tce_dir || die "Could not find tce directory."
I have a /opt/.tce_dir and I even tried creating a directory called tcedir in the folder but that did not fix the problem. What is this script trying to do and where is it looking for the tce directory and how can I fix the problem so I can build the extension?
/sihorton