Sunday, November 8, 2009
Autoconf: Install concern
A small change triggers complete rebuild of the project.
For example- a small file changed and make installing updates the all 'DATA_DIR' macro files.
The problem is due to the way "install" is called, namely as /usr/bin/install -c.
This does not preserve the timestamps of the installed files, and so, all the files end up
being newer than anything in the next component.
The updated coreutils (http://ftp.gnu.org/gnu/coreutils/coreutils-7.6.tar.gz) "install.c"
supports new parameter '-C' which advises "install" to compare files before installing.
----------------------------------------------
/* Compare files before installing (-C) */
static bool copy_only_if_needed;
----------------------------------------------
The coreutils (Autoconf, Automake) version on my system was version 6.12, and does not
support this parameter. But, this version supports '-p' switch which preserves
access/modification times of SOURCE files to corresponding destination files.
Problem would be solved, when SOURCE file time stamp is not updated with every install,
but with actual changed time stamp.
We need to alter generated 'Makefile' to avoid rebuild. To do this, we need to add "-p" switch
which can be added by executing following command:
------------------------------------------------------------------------------------------
find -name Makefile -exec sed -i -e 's/install *-c/install -c -p/g' {} \;
------------------------------------------------------------------------------------------
Now, make install-ing does not update TARGET time stamp every time, with make install. Instead,
original SOURCE files time stamp are preserved.
Sunday, November 1, 2009
PHP: Email2SMS class
It can compose and send an e-mail message to an address of a carrier that delivers the SMS message to a client of a given mobile carrier.
The class can customize the SMS message to be sent for a variety of handsets including Symbian smart phones, Andriod phones and old handsets.
Currently it supports more than 95 carriers in 29 countries:
Alaska: General Communications
Argentina: Claro, Personal
Australia: T-Mobile/Optus Zoo
Austria: T-Mobile
Brazil: Vivo
Bulgaria: Mtel, Globul
Canada: Aliant, Bell Mobility, Fido, MTS Mobility, Rogers Wireless, Sasktel Mobility, Telus, Virgin Mobile
Crotia: T-Mobile, Tigo
Colombia: Comcel
France: Bouygues Telecom
Germany: T-Mobile, Vodafone, O2, E-Plus
Iceland: OgVodafone, Siminn
India: Andhra Pradesh Airtel, BPL Mobile Mumbai, Karnataka Airtel
Ireland: Meteor
Italy: TIM, Vodafone
Japan: AU by KDDI, NTT DoCoMo, Vodafone Chuugoku/Western, Vodafone Hokkaido, Vodafone Hokuriko/Central North, Vodafone Kansai/West, including Osaka, Vodafone Kanto/Koushin/East, including Tokyo, Vodafone Kyuu\
shu/Okinawa, Vodafone Shikoku, Vodafone Touhoku/Niigata/North, Vodafone Toukai/Central, Willcom, Willcom di, Willcom dj, Willcom dk
Mexico: Nextel
Mauritius: Emtel
Nepal: Mero Mobile
Netherlands: T-Mobile, Orange
Nicaragua: Claro
Singapore: M1
South Africa: Vodacom, MTN
Spain: Telefonica Movistar, Vodafone
Sri Lanka: Mobitel
Sweden: Tele2
Switzerland: Sunrise Communications
United States: 7-Eleven Speak Out Wireles, Alaska Communications Systems, Alltel, Ameritech, Appalachian Wireless, AT&T Mobility, ATT Wireless, Bluegrass Cellular, Bellsouth, Boost, Cellular One, Cellular South, Centen\
nial Wireless, Cincinnati Bell Wireless, Edge Wireless, Sprint PCS, Teleflip, T-Mobile, Metro PCS, Nextel, O2, Orange, Qwest, Rogers Wireless, Telus Mobility, US Cellular, Verizon, Virgin Mobile
United Kingdom: O2 #1, O2 #2, Orange, T-Mobile, Virgin Mobile, Vodafone
(For more information, please see http://www.phpclasses.org/browse/package/5734.html
Wednesday, September 2, 2009
Say Bye Bye to Hotwayd
Microsft has started offering Free POP & SMTP access to all live (hotmail) accounts.
Today, when i started my evolution, Hotwayd started giving me error "pwd_failure".
I dugged in hotwayd error log and found that server response isn't appropriate.
Few days earlier, i read an article for Microsoft was giving way to POP access, it seems they have now ended
the DAV access for hotmail accounts.
Hotmail POP access settings:
- Username: your full e-mail address
- Password: your Windows Live ID password
- POP3 Server: pop3.live.com (port 995)
- SMTP Server: smtp.live.com (port 25) {Note: If port 25 has been blocked in your network or by your ISP, you
can set SMTP port to 587 with TLS or SSL Encryption depending on the client in use}
Note: Please make sure to check the box that indicates that your outgoing server requires authentication (in most e-mail clients,
this is not checked by default).
Also, POP3 service requires that you use Secure Sockets Layer (SSL) with the POP and SMTP connection and use SMTP authentication.
For more information: http://windowslivehelp.com/solutions/settings/archive/2009/01/06/send-and-receive-windows-live-hotmail-emails-from-a-mail-client.aspx
Happy HOTMailing .....
Wednesday, July 29, 2009
Moving Linux System to new partition
My GNU/Linux was in my old HD and i don't wanna loose my installation. I have heard of moving working system to another
partition and decided to give it try.
To start, get a live CD (or Fedora "rescue" mode would also work). and follow the steps mentioned here:
1) Copying
* Mount both your source and destination partitions.
* Run this command from a terminal:
$ sudo cp -afv /path/to/source/* /path/to/destination
Don’t forget the asterisk after the source path.
* After the command finishes copying, shut down, remove the source drive, and boot the live CD again.
2) Configuration
* Mount your destination drive (or partition).
* Run the command “vim gedit” (or use vi).
* Edit the file /etc/fstab. Change the UUID or device entry with the mount point / (the root partition) to your new drive. You can find your new drive’s (or partition’s) UUID with this command:
$ ls -l /dev/disk/by-uuid/
* Edit the file /boot/grub/menu.lst. Change the UUID of the appropriate entries at the bottom of the file to the new one.
Install Grub
* Run sudo grub.
* At the Grub prompt, type:
find /boot/grub/menu.lst
This will tell you what your new drive and partition’s number is. (Something like sd(0,0))
* Type:
root sd(0,0)
but replace "sd(0,0)" with your partition’s number from above.
* Type:
setup sd(0)
but replace "hd(0)" with your drive's number from above. (Omit the comma and the number after it).
That’s it! You should now have a bootable working copy of your source drive on your destination drive! You can use this to move to a different drive, partition, or filesystem.
Tuesday, July 14, 2009
GNOME - Add a Drop-Down Terminal Window with Tilda
Tilda is an cool app providing superquick access to the terminal window. It places
the terminal in a drop-down menu at the top of the screen. Press a key and the
terminal slides, out from just beneath the panel. Press a key again, and it slides
back up. out of sight.
To install Tilda, just search for it in your Linux distribution package manager or browse http://tilda.sourceforge.net/
Direct Download link: http://downloads.sourceforge.net/sourceforge/tilda/tilda-0.9.6.tar.gz?use_mirror=nchc
Once you 've installed it, you'U need to make it autostart on each boot by adding an entry within
Tilda utility makes your terminal window accessible In a flash, and lets you adjust how the window looks and where it appears.
Tilda supports - new terminal, tab terminals and lot more.
Customizations can be done through "tilda -C" configuration window.
Happy Terminal-ling.
Sunday, July 12, 2009
UWin Installer
Do You Want To AUTOMATE Install Or Upgrade Microsoft WINDOWS Operating System On Your Computer With Setup Files.
Then UWin Installer (UWI) is what you NEED!
UWI Is A Tool For Quick & Easy AUTOMATED Install Or Upgrade Of Microsoft WINDOWS O.S. By End User from Setup Files on Hard Disk.
UWI is basically an AUTOMATION utility for Installing/Upgrading WINDOWS O.S. on your system without any need for sitting in front of your PC waiting for the Installation/UpGradation to finish.
UWI makes the Installation/UpGradation of WINDOWS on Any PC a just 3 steps Procedure for any User. Just Follow 3 UWI Steps and UWI Will AUTOMATE & controls your Whole WINDOWS Installation/UpGradation Process.
UWI works for WINDOWS 98/Me/2000/XP/2003 Operating System Installation Or Upgradation.
What Can UWI do:
Makes WINDOWS O.S. Installation/upgradation Faster By 30%
Can Controls WINDOWS Installation/Upgradation In 5 different Methods Or As Specified By User.
Scans O.S. Files Using Highly Intelligent Scanning Engine for Different WINDOWS O.S. Compatibility
Finds & Applies Best Suitable Method For UWI Supported WINDOWS Installation/Upgradation
Shows Info About O.S. Files Including Driver Version, Product type, Platform type etc.
Enables To Specify Different WINDOWS O.S. Settings Before WINDOWS Is Installed/Upgraded
Enables To Start WINDOWS 2000/XP/2003 O.S. Installation From Real DOS Mode Faster by 66%
Enables Administrators to choose 67 WINDOWS Components For Customizing Server Or Desktop Installation
Enables Users To Customize their P.C. WINDOWS Installation With Some Really Cool Tricks
Enables To AUTOMATE Other Programs Installation Simultaneously With WINDOWS O.S.
Enables To Format Drives & Partition the RAW Disk without any need of Other Tool
UWI Supports Installation/UpGradation Of :
- WINDOWS 98
- WINDOWS 98, Second Edition
- WINDOWS Me
- WINDOWS 2000, Server Edition
- WINDOWS 2000, DataCenter Edition
- WINDOWS 2000, Advanced Server Edition
- WINDOWS 2000, Professional Edition
- WINDOWS XP, Home Edition (32 Bit)
- WINDOWS XP,
- WINDOWS XP, Professional Edition (32 Bit + 64 Bit)
- WINDOWS 2003 Server, DataCenter Edition (32 Bit + 64 Bit)
- WINDOWS 2003 Server,
- WINDOWS 2003 Server, Standard Edition (32 Bit + 64 Bit)
- WINDOWS 2003 Server, Web Edition (32 Bit + 64 Bit)
- WINDOWS 2003 Server, Small Business Edition (32 Bit + 64 Bit)
UWin Installer is a tool for all newbie's, Beginners & Advanced Users Who wants Customized, Fast & Easy WINDOWS O.S. Installation/UpGradation.
Website: http://www.geocities.com/utsav_handa/uwi/uwi.html
