Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: Xianwen Chen on May 02, 2009, 12:55:21 PM
-
Hello all,
I appreciate all the hints. It turned out that there wasn't a ''configure'' file.
Have a nice day! ;)
Below was the original post:
While I was executing
./configure --prefix=/usr/local
, I got this error
sh: ./configure not found
.
I tried to install a number of tcz packages, but didn't help.
Any hint, please?
-
It might be a bash script, try installing the bash extension?
-
i have the same issue with bash installed, i tought i should install compiletc in order to get rid of it, but... i don't have compiletc for 2.0rc1
-
u can try the gcc-binutils extension
-
What's the output of `ls -l ./configure` ?
-
with bash, and gcc-binutils loaded as well as glib(1&2) and glibc, i get:
tc@box:~$ ls -l ./configure
ls: ./configure: No such file or directory
-
You're currently in your home directory... what are you trying to do?
-
i am trying to build pdftk-1.12 from source. i think, i am missing something important in the process, so what i did:
1. I have pdftk-1.12 source package and have untar it in my home directory (/home/tc/) since i have nothing in it; pdftk-1.12 seems to compile fine without libgcj8-1, and i would like to try with this version of the application before going further;
2. I don't have compiletc since i am running tc-2.0.rc1 and i did not see a compiletc extension in the repositories;
I think that the point 2. is why i cannot compile pdftk-1.12, (and get the issue with ./configure) but again, i am very new to this and would appreciate help in order to practice.
-
compiletc is not necessary simply to execute a configure script, although the script may fail.
What it looks like to me is that you are just trying to run a script that doesn't exist. The dot at the beginning literally means the current directory. You'll need to move into the directory that contains the configure script before running that command.
-
actually i re-try with following steps:
1. untar pdftk-1.12 in /home/tc/pdftk (new directory which i have built); it works;
2. completed the CXXFLAGS of the Makefile.Generic belonging to pdftk in order to make it compatible with the instructions in the wiki;
3. set the directory /usr/local in the Makefile.Base of pdftk;
4. set the path for PKG_CONFIG according to the wiki;
5. run ./configure --prefix=/usr/local and got: sh: ./configure: not found;
6. run make -f Makefile.Generic (as indicated in the pdftk website) and it works... until i got the following issue: make: *** No rule to make target '../java_libs/com/lowagie/text/pdf/pdf.a', needed by 'pdftk.o'. Stop
As it seems, pdftk needs to be compiled with the gcj compiler, or not? what do you think? thanks
-
ok, i trained and figured out most of my mistakes, with the result that i can now compile correctly in TC. First issues with ./configure was related to a corrupted archive. Once i have got the right archive, everything was all right. I have to figure out now how i can solve the problem of missing libs, and try to build an extension (my first goal). thanks again