[olug] Compiling for your PC
Eric Penne
epenne at olug.org
Wed May 7 21:41:22 UTC 2003
>From what I can tell of the configure scripts and the Makefile in the
source directory it pulls the architecture by doing a uname -m or
/bin/arch. In my case it says i686 but when I actually compile the
program it compiles for i386 which is states right at the beginning of the
dh-buildsomethingorother command. The dh-whatever command is called by
apt-get source --build Package.
I got it to successfully compile Kino last night and the .deb successfully
installed. I would still like to know how to pass the i486 or i586
argument to the configure script through the apt-get command.
I assume this can be done for things like apache and that many people do
it but I for the life of me can't find anything on google that gives a
hint.
Eric
> On Tue, 06 May 2003 22:24:32 -0500
> Phil Brutsche <phil at brutsche.us> wrote:
>
> | > Is it possible to use APT to download the source, compile, then | >
> install all in one step? I know people like Gentoo but I don't want | >
> to jump head first into fast flowing currents. :) I just want to dip |
>> my toes in.
> |
> |Unfortunately not right off hand. APT is not for people who like to
> |compile stuff :)
>
> Sometimes true, I do like the fact that I can apt-get pkgname and have
> that installed and running in a minute or so tops. Waiting for it to
> compile and all (gentoo emerge), might make me a little impatient... for
> example I apt-get'd KDE 3.1.1 with everything in about 8 minutes.
>
> that other info you found...
> apt-get build-dep openoffice.org
> apt-get source --build openoffice.org
>
> was what I was thinking, I'd like to try that someday, never really
> have. But yeah, I'm not sure how you would pass compiler options (i486)
> and optimizations to the apt process though. Wouldn't that normally be
> down in a ./configure script?
>
> peace
>
> Brian Wiese | bwiese at cotse.com | aim: unolinuxguru
> ------------------------------------------------------
> GnuPG/PGP key 0x6BFF6681 | "FREEDOM!" - Braveheart
> ------------------------------------------------------
> This is not about Napster or DVDs. It's about your Freedom.
> I'll see your DMCA and raise you a First Amendment.
> http://www.anti-dmca.org
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
More information about the OLUG
mailing list