Posted by: Wildan Maulana | August 19, 2007

‘file’ utility for avr32

# wget -c ftp://ftp.astron.com/pub/file/file-4.21.tar.gz
# tar -xvvzf file-4.21.tar.gz
#cd file-4.21

Replace the config.sub and config.guess with the new one which downloaded from savannah.

#CC=avr32-linux-gcc ./configure –host=avr32-linux –prefix=/home/wildan/netherland-project/ngw100/packagesByW/file-4.21

# CC=avr32-linux-gcc make ARCH=avr32 CROSS_COMPILE=avr32-linux-

Issues :
~ # file /dev/mapper/rahasia
file: could not find any magic files!

Solution :

#cp /share/file/magic  ~/.magic


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: