Tiny Core Extensions > TCE Q&A Forum

[Solved]sh: ./configure not found

<< < (2/3) > >>

alu:
with bash, and gcc-binutils loaded as well as glib(1&2) and glibc, i get:


--- Quote ---tc@box:~$ ls -l ./configure
ls: ./configure: No such file or directory
--- End quote ---

^thehatsrule^:
You're currently in your home directory... what are you trying to do?

alu:
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.

mikshaw:
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.

alu:
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

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version