Compiling ./reconfig-all ./config-C

  • Thread starter Thread starter jelanier
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on compiling the Gambas 3.3.4 application from source, specifically addressing the use of the ./reconfig-all and ./configure -C commands. It clarifies that running ./reconfig-all is typically unnecessary for enabling a disabled package, such as gb.jit, which requires llvm-3.1. Instead, users should rerun the ./configure command with appropriate options to enable the package. Additionally, inspecting the ./reconfig-all script can provide insights into whether a simpler command, like automake, can be executed instead.

PREREQUISITES
  • Understanding of source code compilation processes
  • Familiarity with the Gambas 3.3.4 environment
  • Knowledge of using command-line tools in a Unix-like system
  • Basic understanding of package dependencies and configuration options
NEXT STEPS
  • Learn how to use the ./configure --help command to explore configuration options
  • Research the role of automake in the build process
  • Investigate the use of make check and make test for build verification
  • Explore troubleshooting techniques for common compilation errors
USEFUL FOR

Developers compiling applications from source, particularly those working with Gambas, as well as anyone involved in software build processes and dependency management.

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.
 

Similar threads

  • · Replies 0 ·
Replies
0
Views
3K
Replies
6
Views
4K
Replies
4
Views
5K
  • · Replies 70 ·
3
Replies
70
Views
5K
Replies
5
Views
17K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K