Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Compiling problems, ./configure script< Next Oldest | Next Newest >
solidsnake Offline





Group: Members
Posts: 12
Joined: April 2005
Posted: Oct. 19 2005,14:35 QUOTE

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!


--------------
Pentium III 500mhz, 6.3GB hd, 128mb ram
Currently running DSL installed to harddrive
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Oct. 19 2005,16:08 QUOTE

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.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
solidsnake Offline





Group: Members
Posts: 12
Joined: April 2005
Posted: Oct. 19 2005,19:01 QUOTE

Thanks for the reply mikshaw, i believe that solves the problem ;)

--------------
Pentium III 500mhz, 6.3GB hd, 128mb ram
Currently running DSL installed to harddrive
Back to top
Profile PM 
2 replies since Oct. 19 2005,14:35 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Compiling problems

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code