Results 1 to 8 of 8

Thread: Compile question...

  1. #1

    Compile question...

    This in reference to my question about compiling from source...
    I decided to read the Slack FAQ (real genius, eh?) and found this...
    To create a Slack package, you will need to "Compile per program author instructions..."

    Now, does this mean that I need to 'configure/make' and not install, or do I need to also make install? Seems kind of pointless to make install, then just delete it so you can install with pkgtool... Maybe I am missing something here...
    Asus A8V Deluxe Mobo
    AMD Athlon64 X2 4400 -939
    2GB Crucial DDR3200 Dual-Channel
    ATi AiW 9800 Pro 128DDR
    Audigy2 ZS
    Sony DRU-810 DVD+RW DL
    3 x Maxtor MaxLine SATA 160Gb 16Mb Cache
    1 x Maxtor MaxLine SATA 300Gb 16Mb Cache
    1 x Maxtor MaxLine SATA 120Gb 16Mb Cache

  2. #2

    Re:Compile question...

    'conpile'
    i would assume you just need to
    ./configure
    make
    whatdoyougetwhenyoumultiplysixbynine??

  3. #3
    Senior Member
    Join Date
    Nov 2001
    Posts
    304

    Re:Compile question...

    http://www.talug.org/howto/Steps_to_...k_package.html

    If you read that link, it will tell you exactly how to make your own slackware package from a source tarball

  4. #4

    Re:Compile question...

    Sweet.. Thanks. It doesn't make sense why you need to install it first though... kind of defeats the purpose... Oh well, I guess it makes sense that way if you want it to be ready to install in the future...
    Asus A8V Deluxe Mobo
    AMD Athlon64 X2 4400 -939
    2GB Crucial DDR3200 Dual-Channel
    ATi AiW 9800 Pro 128DDR
    Audigy2 ZS
    Sony DRU-810 DVD+RW DL
    3 x Maxtor MaxLine SATA 160Gb 16Mb Cache
    1 x Maxtor MaxLine SATA 300Gb 16Mb Cache
    1 x Maxtor MaxLine SATA 120Gb 16Mb Cache

  5. #5
    Senior Member
    Join Date
    Nov 2001
    Posts
    304

    Re:Compile question...

    The whole purpose behind the Slackware package tarball is to install a binary... basically by installing to a directory where you don't install anything else, it can just open the tarball and copy the contents to the appropriate directories Making your own package is usually to make it easier for others to install the same software on THEIR slackware systems (or to make it easier to install on multiple slackware installations you own.) Given that, it makes perfect sense

  6. #6

    Re:Compile question...

    When you compile something, does it 'detect' what architecture you are running on, and optimize the code for it, or do you need to specify with --march flags?
    Asus A8V Deluxe Mobo
    AMD Athlon64 X2 4400 -939
    2GB Crucial DDR3200 Dual-Channel
    ATi AiW 9800 Pro 128DDR
    Audigy2 ZS
    Sony DRU-810 DVD+RW DL
    3 x Maxtor MaxLine SATA 160Gb 16Mb Cache
    1 x Maxtor MaxLine SATA 300Gb 16Mb Cache
    1 x Maxtor MaxLine SATA 120Gb 16Mb Cache

  7. #7

    Re:Compile question...

    Generally as far as I know it compiles it for your general architecture ie 686, 386, 586, blah blah blah. You would want to optimize it if you want the most speed out of it.

    Aragorn
    If you give a man a fire he'll be warm, if you light the man on fire he'll be warm for life.

  8. #8
    Senior Member
    Join Date
    Nov 2001
    Posts
    304

    Re:Compile question...

    Generally, when you do "./configure && make && make install" what happens is this:

    configure determines your system type, compiler version, libraries available, etc... it also checks that all dependancies are available so the program will compile. The configure process produces a custom Makefile for your computer and then make uses that to compile the source and install it.

    In short... if you read the first couple of lines produced by "./configure" you'll see what architecture it recognizes your system as.

Similar Threads

  1. GCC can compile how many languages?
    By tech291083 in forum Redhat / Fedora
    Replies: 5
    Last Post: 05-15-2007, 10:03 AM
  2. can't compile on slackware
    By Stuart in forum Linux - Software, Applications & Programming
    Replies: 10
    Last Post: 07-24-2003, 12:39 PM
  3. Anyone compile KDE 3.0?
    By t048 in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 05-30-2002, 02:58 PM
  4. help compile pengswim?
    By shmike in forum Linux Distros
    Replies: 3
    Last Post: 05-14-2002, 06:15 PM
  5. Kernel Compile Question
    By tarballed in forum Linux - General Topics
    Replies: 6
    Last Post: 05-09-2002, 10:04 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •