Re: compiling

From: Carolyn S Tysor (ctysor_at_email.unc.edu)
Date: 04/23/04


Date: Thu, 22 Apr 2004 21:53:40 -0400


On Mon, 19 Apr 2004, J.O. Aho wrote:

> jimofadel wrote:
> > As a newbie, in about 5 tries I have yet to be able to successfully
> > compile an application from source files because I always get error
> > messages saying that there are dependencies on files that are not found
> > on my machine. I then do a google search for those files, and am
> > referred to download sites, but when I download the indicated
> > applications or files, I find that there are now other files that are
> > missing, and some of them I cannot find. I would like to have someone
> > make suggestions for a tutorial or other resource on downloading source
> > code and compiling applications.
> > I have used RPM files with success in most cases, but some
> > applications of interest do not have RPM packages.
>
> Most of the official packages that comes with your distro has a devel package,
> this is the package with the header files for a special application, this
> headerfiles are needed to be able to compile programs to use the libraries.
>
> When I used RedHat, I always had all the headerfiles installed too, this made
> it possible to compile applications downloaded from the net (I really made a
> RPM, as this ways I wouldn't get dependency problems).
>
> Most sources includes a program called configure, this is used to set the
> values and options for the build, running it without any options will set the
> default values (usually based on the authors favorite distro), do a
> ./configure --help
> in the source directory and you will get a list of options and a short
> description, if somethign isn't working, then you most likely have to give the
> path to the location of the headerfiles in question.
>
> For information how to build your own RPMs, check www.rpm.org
>
> //Aho
>
I had similar problems when I began compiling things from source. Rather
than attempting to download each dependency that was a problem, I found it
more effective to search forums. Often I didn't have serious dependency
problems; I had some small config problems.

kate



Relevant Pages

  • Re: ssh attack causing shutdown?
    ... It was all the crap about having to download and compile a dependency, ...
    (uk.comp.os.linux)
  • Re: Inserting variables into a Makefile using Autotools.
    ... However, when I try to compile from the lower directories, I ... That way when I'm in a lower level of the development tree, ... default dependency output file. ... "This option instructs CPP to add a phony target for each dependency ...
    (comp.os.linux.development.apps)
  • Re: Pleas for help from clueless students?
    ... I showed her how to compile it. ... connected to a PDP-11. ... We tried downloading again, and got a major crash during download. ... Reset the LSI-11 and got the PDP-11 prompt again. ...
    (comp.arch.embedded)
  • Re: Visual Studio 6 vs. .NET 2005
    ... you can download the express edition for free from microsoft: ... support for targetting the .Net framework. ... I would have to disagree with this slamming of VC6. ... I have not had any trouble getting my code so it will compile in both VC6 and VC7.1. ...
    (microsoft.public.vc.language)
  • Re: Disk I/O benchmarks and monitoring
    ... You can download the entire tarball, including the original source and documentation, plus the compiled binary "iozone", from ... ... systems, but if you need it, I can compile it on 64-bit 5.2 and ... What tools do you use to monitor and graph disk I/O throughput? ...
    (AIX-L)