Tuesday, May 23, 2006

What is portage ?

Portage is the heart of Gentoo Linux, and performs many key functions. For one, Portage is the software distribution system for Gentoo Linux. To get the latest software for Gentoo Linux,
you type one command: emerge --sync. This command tells Portage to update your local "Portage tree" over the Internet. Local Portage tree contains a complete collection of scripts(ebuild scripts) that can be used by Portage to create and install the latest Gentoo packages. Currently, gentoo have more than 10000 packages in Portage tree, with updates and new ones being added all the time.

Portage is also a package building and installation system. When one wants to install a package, just type emerge packagename, at which point Portage automatically builds a custom version of the package with exact specifications, optimizing it for the hardware and ensuring that the optional features in the package that one wants are enabled -- and those one don't want aren't.

Portage also keeps one's system up-to-date. Typing emerge -u world -- one command -- will ensure that all the packages that one wants on his system are updated automatically.

cheers, make world open.

Thursday, May 18, 2006

"Thank you sir, you have made a wonderful difference to our life"

Yes... i got it. This is what i was searching when i left NCST and now i am able to get answers to my uneasiness which i had experienced.

Today after reading this blog post my memories goes back to the day when i first stepped in NCST with hopes and stars in my eyes. That was the day, i could have never thought of being to this present position but i am here and it is just because of the culture what this post is advocating about.

I am not the only one... i am one among many... who discounted their past and started afresh to get in to an entirely different carrier and the most surprising part of it is that we excelled with flying colors. I agree we owe our achievements to this wonderful place.

People like us is having more NCST in their blood, as along with being a student had the privilege of being staff also. And that gives us more salt and more layers of NCST culture.

I confess... what i am today is just because i was a part of this great and wonderful place.

Hat's off...

Wednesday, May 10, 2006

Xen hypervisor 3.0

Needs 2.6.16 host kernel to make dom0 up. Still xen is hanging at starting harware of udev.
Xen

Tuesday, May 02, 2006

Php5 configure error on suse91

While building php5 on suse91, i was getting configure error as...

checking if your cpp allows macro usage in include lines... yes
checking for IMAP support... yes
checking for IMAP Kerberos support... no
checking for IMAP SSL support... yes
checking for pam_start in -lpam... no
checking for crypt in -lcrypt... yes
checking whether build with IMAP works... no
configure: error: build test failed. Please check the config.log for details.

config.log looks like this...

configure:46778: gcc -o conftest -I/usr/include -g -O2 -L/usr/lib -lpthread -Wl,-rpath,/opt/dev/lib -L/opt/dev/lib -Wl,-rpath,/usr/ssl/lib -L/usr/ssl/lib conftest.c -lpam -lgmp -lgdbm -lcurl -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -liconv -lm -lssl -lcrypto -ldl -lcurl -lz -lssl -lcrypto -ldl -lxml2 -lz -liconv -lm -lssl -lcrypto -ldl 1>&5
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -lpam
collect2: ld returned 1 exit status
configure: failed program was:
#line 46767 "configure"
#include "confdefs.h"

configure:48289: gcc -o conftest -I/usr/include -g -O2 -L/usr/lib -lpthread -Wl,-rpath,/opt/dev/lib -L/opt/dev/lib -Wl,-rpath,/usr/ssl/lib -L/usr/ssl/lib -Wl,-rpath,/opt/cm-cvsroot/257/oss/comp/web/php5/src/imap-tmp/imap-2002e/c-client -L/opt/cm-cvsroot/257/oss/comp/web/php5/src/imap-tmp/imap-2002e/c-client
-lcrypt -lgmp -lgdbm -lcurl -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -liconv -lm -lssl -lcrypto -ldl -lcurl -lz -lssl -lcrypto -ldl -lxml2 -lz -liconv -lm -lssl -lcrypto -ldl -lssl -lcrypto -ldl 1>&5
/tmp/cco9oumL.o(.text+0xf9): In function `main':
/opt/cm-cvsroot/257/oss/comp/web/php5/src/configure:48283: undefined reference to `auth_gssapi_valid'
collect2: ld returned 1 exit status
configure: failed program was:
#line 48262 "configure"

configure:48316: checking whether build with IMAP works
configure:48354: gcc -o conftest -I/usr/include -g -O2 -L/usr/lib -lpthread -Wl,-rpath,/opt/dev/lib -L/opt/dev/lib -Wl,-rpath,/usr/ssl/lib -L/usr/ssl/lib -L/opt/cm-cvsroot/257/oss/comp/web/php5/src/imap-tmp/imap-2002e/c-client conftest.c -lc-client -lcrypt -lgmp -lgdbm -lcurl -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -liconv -lm -lssl -lcrypto -ldl -lcurl -lz -lssl -lcrypto -ldl -lxml2 -lz -liconv -lm -lssl -lcrypto -ldl -lssl -lcrypto -ldl 1>&5
undefined reference to `pam_end'
collect2: ld returned 1 exit status
configure: failed program was:
#line 48327 "configure"
#include "confdefs.h"

solution:
The error is because of some missing pam modules and pam library. So, I installed pam-devel-0.77-221.i586.rpm and again fired configure script.Configure and make worked sucessfully.

cheers, make world open.