#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2011
    Posts
    99
    Rep Power
    0

    Compiling Practice


    The title says it all,

    can you suggest some simple, small programs whose source I can download to try and compile it myself? i am talking about that make make install and things like that....

    I tried GTK 2.0 > which was a failure
    I tried mysql-server > failure

    so i want something that is simple and easy to start out with...
    If you can suggest a tutorial that would be nice....
    -Lokesh
  2. #2
  3. Contributing User
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Aug 2011
    Posts
    4,966
    Rep Power
    481

    make


    I recommend you read about make, and file permissions, the PATH, LD_LIBRARY_PATH variables, and exporting variables, and investigate how to run a command from the unix shell. My techniques are so antiquated I don't even know about programs like automake or libtool.

    Run a command from shell is documented in the shell man page, which is rather long, (at least, the bash man page is long). Anyway, I meant this by "how to run a command":

    The environment for any simple command or function may be augmented
    temporarily by prefixing it with parameter assignments, as described
    above in PARAMETERS. These assignment statements affect only the envi‐
    ronment seen by that command.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2011
    Posts
    5
    Rep Power
    0
    It looks to me that this link may be helpful to you:
    developer.gnome.org/gtk/2.24/gtk-building.html

    The process is fairly similar with most packages from my experience. Probably the most helpful thing I've found is after unpacking the tarball is to look in the directory for a readme file. These usually tell you word for word what is needed to be entered into the terminal.

    If this doesn't work for you could you post what you've tried so far?

    Best of luck.

IMN logo majestic logo threadwatch logo seochat tools logo