Re: [Ilugc] Compiling the whole Linux distro from source

2010-02-08 Thread Raja Subramanian
On Mon, Feb 8, 2010 at 4:10 PM, Saravanan S dearsarava...@gmail.com wrote:
          Can any suggest a open-source Linux / some OS project that has a
 good documentation on compiling every integral part of it and getting the
 same fully functional iso image/ stuff that is readily available otherwise.

www.gentoo.org

- Raja
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Compiling the whole Linux distro from source

2010-02-08 Thread Mohan Sundaram
On Mon, Feb 8, 2010 at 4:10 PM, Saravanan S dearsarava...@gmail.com wrote:
 Hi all,
          Can any suggest a open-source Linux / some OS project that has a
 good documentation on compiling every integral part of it and getting the
 same fully functional iso image/ stuff that is readily available otherwise.
 Most of such projects lack documentation especially on compiling everything
 from source. Few are deliberately placing the src contents scattered, that
 further adds to the complexity.
 Is there any such really Open-Source Project on this regard?

Have you tried Linux From Scratch? LFS may not help you with src
locations though.

-- Mohan Sundaram
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Compiling the whole Linux distro from source

2010-02-08 Thread benjamin
lfs?

benjamin
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Compiling the whole Linux distro from source

2010-02-08 Thread Rajagopal Swaminathan
Greetings,

On Mon, Feb 8, 2010 at 4:10 PM, Saravanan S dearsarava...@gmail.com wrote:
 Hi all,
          Can any suggest a open-source Linux / some OS project that has a
 good documentation on compiling every integral part of it and getting the
 same fully functional iso image/ stuff that is readily available otherwise.
 Most of such projects lack documentation especially on compiling everything
 from source. Few are deliberately placing the src contents scattered, that
 further adds to the complexity.
 Is there any such really Open-Source Project on this regard?


http://www.google.co.in/search?q=making+a+custom+distroie=utf-8oe=utf-8aq=trls=org.mozilla:en-US:officialclient=firefox-a

That said, I had come across one such project where you select the
packages you want and the distro is built. I will post it when I am
able rummage thru my huge bunch of bookmarks.

rpath is somewhat like that i believe.

http://www.rpath.org/ui/

HTH

Regards,

Rajagopal
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Compiling the whole Linux distro from source

2010-02-08 Thread Rajagopal Swaminathan
Greetings,


On Mon, Feb 8, 2010 at 4:10 PM, Saravanan S dearsarava...@gmail.com wrote:
 Hi all,
 Is there any such really Open-Source Project on this regard?

Ah!, There you have it

http://en.opensuse.org/Build_Service

It also features services that enable compilation and packaging for
the other Linux distributions, like Fedora, Debian, Ubuntu, and many
more.

Have fun and leave the building process and dependency resolution to
the moster machines sitting in large datacenters of Big companies :)

Say thanks and a smiley if you found what you are looking for.. ;)

HTH

Regards,

Rajagopal
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Compiling the whole Linux distro from source

2010-02-08 Thread Rajagopal Swaminathan
Greetings,


On Mon, Feb 8, 2010 at 4:35 PM, Rajagopal Swaminathan
raju.rajs...@gmail.com wrote:
 Greetings,


 On Mon, Feb 8, 2010 at 4:10 PM, Saravanan S dearsarava...@gmail.com wrote:
 Is there any such really Open-Source Project on this regard?


and if you are willing to shell out some money, have a go at

http://susestudio.com/

 Have fun and leave the building process and dependency resolution to
 the moster machines sitting in large datacenters of Big companies :)

 Say thanks and a smiley if you found what you are looking for.. ;)


and you got an answer with 30 mins... mindit :)

aah the wonderpower of community...

HTH

Cheers!

Regards,

Rajagopal
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Compiling the whole Linux distro from source

2010-02-08 Thread Saravanan S
On Mon, Feb 8, 2010 at 4:35 PM, Rajagopal Swaminathan 
raju.rajs...@gmail.com wrote:

 Greetings,


 On Mon, Feb 8, 2010 at 4:10 PM, Saravanan S dearsarava...@gmail.com
 wrote:
  Hi all,
  Is there any such really Open-Source Project on this regard?

 Ah!, There you have it

 http://en.opensuse.org/Build_Service

 It also features services that enable compilation and packaging for
 the other Linux distributions, like Fedora, Debian, Ubuntu, and many
 more.

 Have fun and leave the building process and dependency resolution to
 the moster machines sitting in large datacenters of Big companies :)

 Say thanks and a smiley if you found what you are looking for.. ;)


Sweet! Thanks for your effort. ;)

But, Kindly note that I am not talking about re-mastering alone, But some
thing well beyond re-mastering.
Mm, Not necessarily a distro Project, also any such open-source project that
provide good documentation on compilation's steps with appropriate
parameters, etc.

Have any one tried compiling popular open source projects from source like
Firefox, etc.


Saravanan Sundaramoorthy
Red Hat Certified Engineer
+91 99404 32545
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Compiling the whole Linux distro from source

2010-02-08 Thread Saravanan S
On Mon, Feb 8, 2010 at 4:19 PM, benjamin benjamin...@gmail.com wrote:

 lfs?

 LFS -- Linux From Scratch


Saravanan Sundaramoorthy
Red Hat Certified Engineer
+91 99404 32545
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Compiling the whole Linux distro from source

2010-02-08 Thread benjamin
On Mon, Feb 8, 2010 at 4:47 PM, Saravanan S dearsarava...@gmail.com wrote:
 On Mon, Feb 8, 2010 at 4:19 PM, benjamin benjamin...@gmail.com wrote:

 lfs?

 LFS -- Linux From Scratch

Thanks. It  was my answer  to you to be read as  how about lfs?.
Mohan's reply came just as I hit send.

-- 
benjamin rualthanzauva
http://friendfeed.com/rualthan
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Compiling the whole Linux distro from source

2010-02-08 Thread Rajagopal Swaminathan
Greetings,

On Mon, Feb 8, 2010 at 4:43 PM, Saravanan S dearsarava...@gmail.com wrote:
 On Mon, Feb 8, 2010 at 4:35 PM, Rajagopal Swaminathan 
 raju.rajs...@gmail.com wrote:

 Greetings,


 On Mon, Feb 8, 2010 at 4:10 PM, Saravanan S dearsarava...@gmail.com
 wrote:
  Hi all,
  Is there any such really Open-Source Project on this regard?
 Sweet! Thanks for your effort. ;)

 But, Kindly note that I am not talking about re-mastering alone, But some
 thing well beyond re-mastering.
 Mm, Not necessarily a distro Project, also any such open-source project that
 provide good documentation on compilation's steps with appropriate
 parameters, etc.

 Have any one tried compiling popular open source projects from source like
 Firefox, etc.


I thought .spec file was for that purpose...

Have you gone thru the susestudio video tour?

Regards,

Rajagopal
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Compiling the whole Linux distro from source

2010-02-08 Thread S. Senthil Anand
Hello,

 Mm, Not necessarily a distro Project, also any such open-source project
 that
 provide good documentation on compilation's steps with appropriate
 parameters, etc.
 Have any one tried compiling popular open source projects from source like
 Firefox, etc.

Not a hard job. Dependencies can be a pain.

You can also try pkgsrc which is NetBSD's answer for cross platform OS
agnostic package building. You can find all the configuration flags of an
application in the corresponding pkgsrc makefiles. I have personally used
it in various Linux distros, FreeBSD, NetBSD, OpenBSD and DragonflyBSD at
various times mainly to benchmark stuff.

Regards,
Senthil




___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Compiling the whole Linux distro from source

2010-02-08 Thread Saravanan S
On Mon, Feb 8, 2010 at 5:03 PM, S. Senthil Anand senth...@au-kbc.orgwrote:

 Hello,

  Mm, Not necessarily a distro Project, also any such open-source project
  that
  provide good documentation on compilation's steps with appropriate
  parameters, etc.
  Have any one tried compiling popular open source projects from source
 like
  Firefox, etc.

 Not a hard job. Dependencies can be a pain.

 You can also try pkgsrc which is NetBSD's answer for cross platform OS
 agnostic package building. You can find all the configuration flags of an
 application in the corresponding pkgsrc makefiles. I have personally used
 it in various Linux distros, FreeBSD, NetBSD, OpenBSD and DragonflyBSD at
 various times mainly to benchmark stuff.


Gd info Senthil, but similar issue i came across few days back about
dependencies.


Is pkgsrc such tool??, to find all the dependency library files/ bin files /
files that are required for the application that has its contents inside a
directory?

To be simple, is there any such ldd command for all files/ sub-directories
of a directory specified, not just for libraries but also for all
dependencies ???

Or how to make an application *absolutely* portable in Linux environment ???


Saravanan Sundaramoorthy
Red Hat Certified Engineer
+91 99404 32545
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Compiling the whole Linux distro from source

2010-02-08 Thread S. Senthil Anand
 On Mon, Feb 8, 2010 at 5:03 PM, S. Senthil Anand

 Is pkgsrc such tool??, to find all the dependency library files/ bin files
 /
 files that are required for the application that has its contents inside a
 directory?


You get a application directory with a Makefile and a few patches. The
makefile clearly says what are the other packages which are needed to
build the software and then to run the software [these need not be
identical eg. to build C++ programs you need g++ but to run it you need
libstdc++ and not g++.] Each of those packages will have their own
Makefile etc. When you run make install, make will take care of building
all the required dependencies recursively by downloading the source code
and building them in the required order. FreeBSD and OpenBSD ports, and
Gentoo's portage which is inspired by FreeBSD ports works similarly.

If you want to simply view dependencies, go to http://pkgsrc.se and see if
the software you want is there. You will get the complete dependency
information for a package in pkgsrc under all supported platforms.

 To be simple, is there any such ldd command for all files/ sub-directories
 of a directory specified, not just for libraries but also for all
 dependencies ???

I am not aware of a single tool like ldd to display all the dependencies
recursively. You can probably write a tool to walk through the dependency
graph of a package for the various package managers you are interested in.
For me the dependencies tab in synaptic is good enough.

 Or how to make an application *absolutely* portable in Linux environment
 ???

For source portability, pkgsrc or portage will take care of the stuff. For
binary portability within a same architecture ie. i686 (betwwen
distributions of the same architecture) , you need to statically compile
your program + dependencies eg. Opera. Binary compatibilty between
architectures ie. i686 and arm for example, is not feasible unless you go
for something like MacOS's universal binaries which is not used anywhere
in Linux land.

Regards,
Senthil


___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Compiling the whole Linux distro from source

2010-02-08 Thread Saravanan S
Hi Senthil,

On Mon, Feb 8, 2010 at 6:56 PM, S. Senthil Anand senth...@au-kbc.orgwrote:

  On Mon, Feb 8, 2010 at 5:03 PM, S. Senthil Anand

  Is pkgsrc such tool??, to find all the dependency library files/ bin
 files
  /
  files that are required for the application that has its contents inside
 a
  directory?
 

 You get a application directory with a Makefile and a few patches. The
 makefile clearly says what are the other packages which are needed to
 build the software and then to run the software [these need not be
 identical eg. to build C++ programs you need g++ but to run it you need
 libstdc++ and not g++.] Each of those packages will have their own
 Makefile etc. When you run make install, make will take care of building
 all the required dependencies recursively by downloading the source code
 and building them in the required order. FreeBSD and OpenBSD ports, and
 Gentoo's portage which is inspired by FreeBSD ports works similarly.

 If you want to simply view dependencies, go to http://pkgsrc.se and see if
 the software you want is there. You will get the complete dependency
 information for a package in pkgsrc under all supported platforms.

  To be simple, is there any such ldd command for all files/
 sub-directories
  of a directory specified, not just for libraries but also for all
  dependencies ???

 I am not aware of a single tool like ldd to display all the dependencies
 recursively. You can probably write a tool to walk through the dependency
 graph of a package for the various package managers you are interested in.
 For me the dependencies tab in synaptic is good enough.

  Or how to make an application *absolutely* portable in Linux environment
  ???

 For source portability, pkgsrc or portage will take care of the stuff. For
 binary portability within a same architecture ie. i686 (betwwen
 distributions of the same architecture) , you need to statically compile
 your program + dependencies eg. Opera. Binary compatibilty between
 architectures ie. i686 and arm for example, is not feasible unless you go
 for something like MacOS's universal binaries which is not used anywhere
 in Linux land.


Thanks for the eye-opening guidelines. Credits to your impressive
cognizance. :)
BTW, about ldd,

ldd - list  dynamic  dependencies  of  executable  files  or shared objects

http://wwwcgi.rdg.ac.uk:8081/cgi-bin/cgiwrap/wsi14/poplog/man/1/ldd


Saravanan Sundaramoorthy
Red Hat Certified Engineer
+91 99404 32545
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc