LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Help with Make

[ILUG] Help with Make

Walter Faleiro curtorkar at gmail.com
Wed Sep 13 20:47:35 IST 2006


Hi,
I am trying to compile a gnu make.

I have modified the Makefile to have prefix as /tmp/local, so that
destination files are dumped here. But I am still getting some errors listed
below

Making install in glob
Making install in i18n
files='de.mo es.mo fr.mo ko.mo nl.mo pl.mo ru.mo'; \
for file in $files; do \
  base=`basename $file`; \
  langdir=/usr/local/share/locale/`echo $base | sed
's/\.mo$//'`/LC_MESSAGES; \
  /bin/sh ../mkinstalldirs $langdir; \
  echo " .././install-sh -c -m 644 ./$file $langdir/make.mo"; \
  .././install-sh -c -m 644 ./$file $langdir/make.mo; \
done
 .././install-sh -c -m 644 ./de.mo
/usr/local/share/locale/de/LC_MESSAGES/make.mo
cp: cannot create /usr/local/share/locale/de/LC_MESSAGES/#inst.6740#:
Read-only file system
*** Error code 2
make: Fatal error: Command failed for target `install-data-local'
Current working directory /tmp/make/make-3.79/i18n
*** Error code 1
make: Fatal error: Command failed for target `install-am'
Current working directory /tmp/make/make-3.79/i18n
*** Error code 1
make: Fatal error: Command failed for target `install-recursive'


The first error is because /usr/local is a nfs mount, and the currnet host
has not write permissions to it. How can I change the install-sh -c -m 644
./de.mo to write to /tmp/local instead of /usr/local

also how to clear off the other two errors

Appreciate your help

Regards,
--Walter



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell