Compiling problems


Forum: HD Install
Topic: Compiling problems
started by: solidsnake

Posted by solidsnake on Oct. 19 2005,14:35
I have been trying to get DSL setup to compile programs, if I ever need to, and I have been running into a problem with the ./configure script.

I installed gcc, and upgraded to gnu-utils (in the fluxbox menu), and also downloaded the kernel source in myDSL.  Are there any other steps I need to take before I can run the ./configure script?  When I try to compile something that I just untar'd, it says the ./configure script is not found, so I am wondering if I have to setup a symbolic link to /bin or elsewhere.

Thanks for the help!

Posted by mikshaw on Oct. 19 2005,16:08
I don't know if this helps, but the leading "./" when you run configure just specifies that you are running the script from the current directory.  If you run it from anywhere other than the directory that contains the script (probably not a good idea unless you are running from a directory created for the build process) you will need to run it with the full path.  So cd to the source code directory, or a subdirectory of the source directory if the docs recommend that, before running configure.  If it still doesn't work, make sure the configure script exists and is executable.

It's not a good idea to create a symlink in your PATH to a configure script, since every source package has its own unique script.

You should also be sure to read all documentation that comes with a source package...they all have their own method of building, and many do not use a configure script.

Posted by solidsnake on Oct. 19 2005,19:01
Thanks for the reply mikshaw, i believe that solves the problem ;)
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.