Compiling ./reconfig-all ./config-C

  • Thread starter Thread starter jelanier
  • Start date Start date
AI Thread Summary
When compiling an app from source, running the ./reconfig-all script is typically a one-time setup to generate the ./configure script, which prepares the project for building. If a package, such as gb.jit, is disabled despite the required dependency (llvm-3.1) being installed, it is not necessary to rerun ./reconfig-all for every adjustment. Instead, rerunning the ./configure script with specific options to enable the package is usually sufficient. Users can check available options by using ./configure --help or ./configure -h. If issues persist, reviewing the error messages is crucial, and in some cases, a complete cleanup with "rm -rf" may be required before starting over. Additionally, inspecting the ./reconfig-all script can provide insights into whether a specific command, such as automake, needs to be rerun instead of the entire script.
jelanier
Messages
67
Reaction score
1
I am compiling an app from source and have a question. I first run ./reconfig-all (takes 1.5 hours) then I run ./configure -C. After this I see one of the packages is disabled. If I find the problem, do I have to go through this reconfig-all every time I try something new?

(In this example the package that is disabled is gb.jit. The requirement for this is llvm-3.1. It is installed.)

Where will I find hints of the problem? log files? BTW the package is Gambas3.3.4

Thanks,

Jim
 
Technology news on Phys.org
Hi jelanier! :smile:

The short anwer is: probably not.

The purpose of a ./reconfig-all script is usually to generate a ./configure script.
The purpose of the configure script is to prepare your project for a platform-dependent build, and also to specify which options you want to have.
After that you usually have to run "make all".
If you want to verify the build, you can usually use "make check" or "make test".
And finally, you can use "make install" to install it (usually needs root privilege).

To enable a package, you probably won't have to run ./reconfig-all.
But you will need to rerun ./configure with some option to enable the package.
Try ./configure --help or ./configure -h to find out what you should do.
And after that rerun "make all".

But... if it does not work for some reason, you will need "rm -rf" and redo everything. ;)
(Read the error messages carefully before you do.)

Hint: inspect the ./reconfig-all script.
Usually it contains only a couple of lines.
If it contains a line with a call to automake, it may suffice if you only call that one again.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I had a Microsoft Technical interview this past Friday, the question I was asked was this : How do you find the middle value for a dataset that is too big to fit in RAM? I was not able to figure this out during the interview, but I have been look in this all weekend and I read something online that said it can be done at O(N) using something called the counting sort histogram algorithm ( I did not learn that in my advanced data structures and algorithms class). I have watched some youtube...
Back
Top