Basic Debugging 1: Using Console

Find out how to get that @*&^$&@ thing to compile!

Basic Debugging 1: Using Console

Postby jasont » Tue Aug 14, 2001 4:39 pm

Often an application will appear to configure and make fine, only to fail when you go to install it. The file config.log is an invaluable tool for determining what went wrong. Opening your config.log from the source directory should run it through console and give you verbose platform information and configuration errors.

Many times things like a missing ; will completely ruin your compilation. If you find this type of error you can see which file it was in and edit it just to add the ;. Other times you may see missing header files. These are indicated with #include <headerfile.h>. If you see this type of error you will want to see if the program is trying to find an external header from another application or build directory (this is usually in the readme files). If it is then ./configure --help will show you the options you need to tell the application where to look for the files it is missing.
jasont
 
Posts: 50
Joined: Tue Aug 14, 2001 7:00 pm
Location: Palo Alto, CA

Return to Compile Problems

Who is online

Users browsing this forum: No registered users and 9 guests

cron