











CompTIA
Exam Vouchers
Save money on CompTIA exams
| Question of the day
Sign up to receive
interactive practice questions
for MCSE, CompTIA
Cisco and other exams
| TestKing
Get MCSE, MCSD, CCNA, CCNP,A+, N+ and many more | * ExamSheets *
Guide for Success!
Actual Questions & Answers
MCSE, MCSD, A+ ,CCNA, CCNP
Oracle 8i, Oracle 9i Online practice tests
Certification sites Online university Online college Online education Distance learning Software forum Server administration forum Programming resources
|
|  |
darguy
Junior Member
Registered: Nov 2001 Location: Cincinnati Country: United States State: Certifications: A+, Net+, CCNA Working on: CCNP, Linux+, new job????
Total Posts: 6
|
|
compiling???
Anyone know of any "good" links for lerning abaout compiling? I have some programs I want to try to install but am having some difficulty with "./configure". I did a pretty skimpy installation and had to go back and install "gcc" and "make". When I added these files the dependent were installed also. So i'm wondering if I may need to install something else also. I've been getting error messages telling me that there is no available makefile when I can see it in the uncompressed file. Actually I see a makefile in many of the subfiles also.
Thanks for any input! It seems to me that this kind of is beyond the scope of the Linux+ exam since every book I've read tells you how to install RPM's or Debian packages, but doesn't really go in depth about compiling from source and the errors that can occour. I just need a good tutorial is all.
Report this post to a moderator
|
|
03-29-02 02:19 PM
|
|
The VMS Kid
DecHead
Registered: Feb 2002 Location: Beer Country: United States State: Certifications: Network+, i-Net+, A+, Linux+, CST Working on: Beer
Total Posts: 1009
|
|
First thing you should do is always read the README file. Almost all tarballs have one and the instructions may vary. You may need to specify a switch or uncomment an option in the source code. Most tarballs that come with 'configure' file were made using autoconf, but the others usually require you to execute 'make' followed by 'make install', but this varies. So check your README file for instructions. Also, when you compile something send all output and errors to a log file so that you can see them. STDOUT is 1 and STDERR is 2 so you can redirect them to files like:
./configure 1>outlog 2>errlog
and so can look at the error messages that you get later. They may be looking for a library file or something that is not instaleld on your system. There are ways around this, but you need to know WHY your make is failing and this will help. If you just need to compile one program you can do this via something like:
gcc -o myprog myprog.c
but usually the actual compiling commands are called by your makefile after searching for the correct tools and libraries. Try again and post again if you have probs.
Report this post to a moderator
|
|
03-29-02 02:36 PM
|
|
darguy
Junior Member
Registered: Nov 2001 Location: Cincinnati Country: United States State: Certifications: A+, Net+, CCNA Working on: CCNP, Linux+, new job????
Total Posts: 6
|
|
|
03-31-02 01:42 AM
|
|
|
Featured site: MCSE, MCSD, CompTIA, CCNA training videos
Forum Rules: Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
Changes: Messages can be edited by their author.
Posts: HTML code is OFF. Smilies are ON. vB code is ON. [IMG] code is ON. |
|
ExamNotes forum archive
|